uniquesToFasta | R Documentation |
A wrapper for writeFastq in the ShortRead package. Default output format is compatible with uchime.
uniquesToFasta(unqs, fout, ids = NULL, mode = "w", width = 20000, ...)
unqs |
(Required).
A |
fout |
(Required). The file path of the output file. |
ids |
(Optional). |
mode |
(Optional). Default "w".
Passed on to |
width |
(Optional). Default 20000.
The number of characters per line in the file. Default is effectively one line
per sequence. Passed on to |
... |
Additional parameters passed on to |
NULL.
derep1 = derepFastq(system.file("extdata", "sam1F.fastq.gz", package="dada2"))
outfile <- tempfile(fileext=".fasta")
uniquesToFasta(derep1, outfile)
uniquesToFasta(derep1, outfile, ids=paste0("Sequence", seq(length(getSequences(derep1)))))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.