Comments (1)
Hello, I added a script with directions to construct an updated taxonomy lookup file. Basically download the script "genbank_nodes_and_names_to_taxonomy.py" and run these commands from a terminal.
mkdir ncbi_taxonomy/ && cd ncbi_taxonomy/
wget ftp://ftp.ncbi.nih.gov/pub/taxonomy/new_taxdump/new_taxdump.tar.gz
tar xvzf *.tar.gz
python3 genbank_nodes_and_names_to_taxonomy.py names.dmp nodes.dmp
This file should be good for any sequence data on NCBI.
If you construct a database from this NCBI this file will work but any custom database that satisfies the data structure should work with the script.
The custom database format is a seq_id followed by a tab followed by a semicolon separated taxonomy string. like this
2315627
Viruses;unknown_kingdom;unknown_phylum;unknown_subphylum;unknown_superclass;unknown_class;unknown_subclass;unknown_superorder;Caudovirales;unknown_superfamily;Siphoviridae;unknown_subfamily;unknown_genus;Bacillus phage Ray17
The sequence identifier (2315627 in the above example) should match the headers in the input reference fasta.
from assign-taxonomy-with-blast.
Related Issues (7)
- using script on custom database HOT 1
- error with length percentage cutoff using 0.7 and higher HOT 1
- Error when trying to run script
- taxonomy_assignment_BLAST.py: error: the following arguments are required: tax_file HOT 1
- issue with grabbing taxonomy for blast hits using blast input file HOT 2
- remote blast output
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from assign-taxonomy-with-blast.