Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/downloadFasta.R
Download FASTA for a list of canonical (P04637) and isoform (P04637-2) UniprotAC
Load all FASTA from single UniProt file and filter by uniprot_ac
1 2 3 4 5 | downloadFasta(uniprot_ac, file_name)
loadAllFASTA(uniprot_url = "ftp://ftp.uniprot.org/pub/databases/uniprot/current_release/knowledgebase/complete/uniprot_sprot.fasta.gz",
uniprot_ac, file = "sp.fasta.gz")
|
uniprot_ac |
character vector containg canonical and isoform UniprotAC |
file_name |
file name and directory to save the result ("./dir/filename") |
uniprot_url |
file name and directory to save the result ("./dir/filename") |
uniprot_ac |
character vector containg canonical and isoform UniprotAC |
downloadFasta
is intended to download from Uniprot and write fasta sequence file (renaming the name of the sequence given by UniProt to UniprotAC only) given generic (P04637) or isoform (P04637-2) UniprotAC. If the file already contains the sequences for given UniprotAC you get a message, if some sequences are missing all sequences will be reloaded.
nothing
AAStringSet
Vitalii Kleshchevnikov
Vitalii Kleshchevnikov
1 | downloadFasta(uniprot_ac = c("P04637", "P04637-2"), file_name = "my_canonical_and_isoform.fasta")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.