View source: R/uniprot-access.R
extract_uniprot_id_from_fasta | R Documentation |
UniProt FASTA files have the initial pattern: <db>|<UniProt ID>|<alternative ID> <desc>'
extract_uniprot_id_from_fasta(fastafile)
fastafile |
A protein FASTA file, assumed to be UniProt format |
Here we parse out the UniProt ID. If the FASTA header does not match the pattern, we return NULL
character vector of UniProt IDs IF this is a UniProt FASTA, NULL otherwise
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.