Description Usage Arguments Value Author(s) Examples
View source: R/FastaUtils_functions.R
This function loads a fasta file, selects a subset on sequences based on the sequence's names and writes a new fsata file.
1 2 |
file |
Fasta file |
subset |
Vector with (exact) names of the sequences to be retrieved. |
out |
Path to output file. If absent, the '.mod' is added to the input file's name (path is thus conserved). |
Writes a fasta file with the selected sequences.
Guillem Salazar <salazar@icm.csic.es>
1 | subset.fasta(file="http://greengenes.lbl.gov/Data/JD_Tutorial/UnAligSeq24606.txt",subset=c("24.6jsd1.Tut","24.6jsd2.Tut ","24.6jsd3.Tut "),out="out.fasta")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.