View source: R/sequence_parsing.R
fasta_to_df | R Documentation |
Read in sequence data and fasta header from a fasta file into a tidy dataframe. Specify whether amino acid or DNA sequence in fasta file. If amino acid sequences, pI and molecular weight will be calculated
fasta_to_df(fasta_file, type = "AA")
fasta_file |
Input fasta file |
type |
One of "DNA" or "AA" - default = "AA" |
Data frame with sequences and headers from a fasta file (plus molecular weight and pI if fasta file is protein sequences)
fasta_to_df("path/to/file.fasta", type = "AA")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.