Description Usage Arguments Details Value See Also Examples
given a DNAStringSet representing simulated sequencing reads, write FASTA files to disk representing the simulated reads.
1 | write_reads(reads, fname, readlen, paired = TRUE)
|
reads |
DNAStringSet representing sequencing reads |
fname |
file path/prefix specifying where sequencing reads should be written. Should not contain ".fasta" (this is appended automatically). |
readlen |
maximum length of the reads in |
paired |
If |
The get_reads function returns a DNAStringSet object
representing sequencing reads that can be directly passed to
write_reads. If output other than that from get_reads is used
and paired is TRUE, make sure reads is ordered
properly (i.e., that mate pairs appear together and that the left mate
appears first).
No return, but FASTA file(s) containing the sequences in reads
are written to fname.fasta (if paired is FALSE) or
fname_1.fasta and fname_2.fasta if paired is TRUE.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.