Description Usage Arguments Examples
Write a fasta file from a set of sequences Option : add to the definition line the the taxonomy separated by separator character (e.g. |)Otu0001|Alveolata|Dinophyta|Syndiniales|Dino-Group-I|Dino-Group-I-Clade-1|Dino-Group-I-Clade-1_X|Dino-Group-I-Clade-1_X_sp.
AGCTCCAATAGCGTATATTAAAGTTGTTGCGGTTAAAAAGCTCGTAGTTGGA...
1 2 3 4 5 6 7 | fasta_write(
df,
file_name,
compress = FALSE,
taxo_include = TRUE,
taxo_separator = "|"
)
|
df |
The data frame with the otu names, the taxonomy and the sequences. It should have the following columns (with exactly these names) * seq_name : the sequence name * supergroup: species * sequence |
file_name |
Character, where to save the fasta file |
compress |
If TRUE produces a gz file |
taxo_include |
If TRUE then add taxo information which must be provided |
taxo_separator |
Character used to separate the different taxonomic levels TRUE if it terminates OK |
1 | fasta_write(df,"otu_taxo.fasta", compress=FALSE, include_taxo=TRUE, taxo_separator=";")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.