pyctv-taxonomy 0.25

Creator: bradpython12

Last updated:

0 purchases

pyctv-taxonomy 0.25 Image
pyctv-taxonomy 0.25 Images
Add to Cart

Description:

pyctvtaxonomy 0.25

PyCTV
The ICTV Virus Metadata Resource contains an upto date taxonomy of viruses in Excel sheets. We parse that information, and make it available through a Python API
VMR
The ICTV maintains the Virus Metadata Resource, VMR, which is a list of all the viral taxonomies, connections to GenBank and RefSeq, and the associated metadata. This is, as far as I can tell, the most up-to-date list of all viral taxonomies.
PyCTV is designed to allow you to easily use the ICTVs VMR data in your own viral taxonomies!
When you first run it, you can download the viral taxonomy. But don't worry if you don't download it, because the first time you ask for it, we'll download it for you. The next time you run it, we'll let you know if there is a newer version that you should download. We parse that file, and create VMR objects which contain all the viral metadata resource information. You can query in a few different ways, and we provide dicts that map between GenBank IDs, RefSeq IDs, and the viral taxonomy.
Viral taxonomy is generated using the now familiar notion of k__, p__, c__ etc. abbreviations, and you can access the taxonomy as either a single string or tab separated text.
The most up-to-date version of the VMR can be found at https://ictv.global/vmr/current/
Example uses

Download a new VMR dataset.

This places the VMR file in the VMR folder in the distribution directory.
pyctv.py download
or you can force a new download (if you have an existing file you wish to replace):
pyctv.py download --force
[Note for Windows users: if you have the Excel file open you may get an error trying to delete it]

List all the viral species

List all the viruses separated by semi-colons:
pyctv.py list --semi

List all the GenBank accession numbers and the viral species

pyctv.py list --genbank

List all the RefSeq accession numbers and the viral species

pyctv.py list --refseq
Install
You can pip install PyCTV

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.