read_fasta | R Documentation |
vroom::vroom_lines is used to quickly read lines of a text file (as a fasta file is one).
read_fasta(file, rm_comments = T, comment_indicator = c(";", "#"))
file |
path to a file with fasta-formatted sequences |
rm_comments |
logical whether to remove comment lines |
comment_indicator |
first characters of a line which indicate a comment |
a named character vector of sequences in file
## Not run:
seqs <- igsc::read_fasta(file = "my/fasta/file.fasta")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.