Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Retrieve virus genome data, including the associated sequence and metadata
ResourceFunction["NCBIVirusGenomeData"][species, "Dataset"] returns the viral sequence dataset for specified species. | |
ResourceFunction["NCBIVirusGenomeData"][species, "Tabular"] returns the viral sequence dataset for specified species in a Tabular format. | |
ResourceFunction["NCBIVirusGenomeData"][species, "Summary"] returns the summary information for the viral dataset of specified species. |
| "APIKey" | None | an API key provided by NCBI; by including a key, up to 10 requests per second are permitted by default |
| "CompleteOnly" | True | limiting to genomes designated as complete, as defined by the submitter. |
| "GeoLocation" | None | limiting to genomes collected from the specified geographic location; entities of the types "Country","GeographicRegion" as well as US states of the type "AdministrativeDivision" are allowed. |
| "Host" | None | limiting to genomes isolated from the specified host species; "TaxonomicSpecies" entity, "NCBITaxonomyID" in an ExternalIdentifier format, or common or scientific name of species is allowed. |
| "IncludeSequence" | None | including specified sequences formatted as BioSequence objects; allowed sequence types include: "Genome", "Protein", "CDS" |
| "PangolinClassification" | None | limiting to SARS-CoV-2 genomes from the specified Pango lineage. |
| "RefSeqOnly" | False | limiting results to RefSeq genomes. |
| "ReleasedSince" | None | limiting to genomes released on or after the specified date. |
| "UpdatedSince" | None | limiting to genomes updated on or after the specified date. |
Retrieve viral genome data for the Zika virus:
| In[1]:= |
| Out[1]= | ![]() |
Obtain a Tabular form for genome data and protein sequences of the Ebola virus:
| In[2]:= | ![]() |
| Out[2]= | ![]() |
Find the size of the dataset for the SARS-CoV-2 genomes:
| In[3]:= | ![]() |
| Out[3]= | ![]() |
Selectively retrieve the SARS-CoV-2 genomes collected in the past two weeks in Connecticut:
| In[4]:= | ![]() |
| Out[4]= | ![]() |
Use the "PhylogeneticTreePlot" function to plot a dendrogram for a set of retrieved genome sequences:
| In[5]:= |
| Out[5]= | ![]() |
Retrieve the Dengue virus genomes:
| In[6]:= |
| Out[6]= | ![]() |
Color countries where genome samples were collected:
| In[7]:= |
| Out[7]= | ![]() |
Retrieve only the complete genomes:
| In[8]:= |
| Out[8]= | ![]() |
Retrieve the genomes collected in Asia:
| In[9]:= | ![]() |
| Out[9]= | ![]() |
Retrieve the Tomato yellow leaf curl virus genomes isolated from eggplants:
| In[10]:= | ![]() |
| Out[10]= | ![]() |
Include coding DNA sequences:
| In[11]:= |
| Out[11]= | ![]() |
Retrieve SARS-CoV-2 genomes from the selected Pango lineage:
| In[12]:= | ![]() |
| Out[12]= | ![]() |
Retrieve the RefSeq genomes:
| In[13]:= | ![]() |
| Out[13]= | ![]() |
Retrieve genomes released in the past year:
| In[14]:= | ![]() |
| Out[14]= | ![]() |
Retrieve genomes updated in the past month:
| In[15]:= | ![]() |
| Out[15]= | ![]() |
Retrieve RefSeq genome data for the Zika virus:
| In[16]:= |
| Out[16]= | ![]() |
Use the "ImportFASTA" function to retrieve the reference sequence:
| In[17]:= |
| Out[17]= |
This work is licensed under a Creative Commons Attribution 4.0 International License