writeFastq {CrispRVariants} | R Documentation

## Append a sequence to a fastq file

### 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

    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

[Package CrispRVariants version 1.20.0 Index]