writeFastq: Append a sequence to a fastq file

Description Usage Arguments Value Author(s)

View source: R/writeFastq.R

Description

Used by abifToFastq to write sanger sequences to fastq format As abifToFastq appends output to files, writeFastq checks that sequence names are unique. This function is faster with checking switched off.

Usage

1
writeFastq(outf, vals, allow_spaces = FALSE, check = TRUE)

Arguments

outf

Name of fastq file to append sequence

vals

A list containing entries named "seq" (sequence) and "quals" (quality scores, in ASCII format)

allow_spaces

Should spaces in the sequence name be substituted with underscores? TRUE or FALSE

check

Check whether reads with the same name already exist in the output fastq. (Default: TRUE)

Value

None. The sequences in "vals" are written to outf

Author(s)

Helen Lindsay


CrispRVariants documentation built on Nov. 1, 2018, 2:20 a.m.