Comments (4)
Hi,
I have subsampled the fasta file I need to assign to the first 1000 and the last 6000 sequences and have rerun crest assignment with and without the --otu_table option.
I did not manage to reproduce the error…which confirms it is a formatting error in the midori253darn database, leading to an error in the assignment of my fasta, somewhere between the first 1000th and last 6000th position…
(crest4)mibr@cno-0004:/scratch/ssd/fastwork/metabridge/methods_comparisons/2_metabridge_methods_analysis$ crest4 -t 32 --fasta swarm/COI_methods_comp_SWARM_parsed_6000last.fasta -d midori253darn -o crest4/COI/test Running crest4 v.4.3.6 /scratch/ssd/fastwork/metabridge/common/conda/crest4/lib/python3.11/site-packages/Bio/SearchIO/_legacy/__init__.py:12: BiopythonDeprecationWarning: The 'Bio.SearchIO._legacy' module for parsing BLAST plain text output is deprecated and will be removed in a future release of Biopython. Consider generating your BLAST output for parsing as XML or tabular format instead. warnings.warn( Classification ran successfully. Results are placed in 'crest4/COI/test/assignments.txt'. crest4/COI/test/assignments.txt
from crest4.
I have looked at this issue and it is bascially caused by the DARN part that contains Bacterial COI homologs in Midori having too much depth in the taxonomic tree. This is caused by intermediate ranks that should have been removed. Basically, we don't even care about taxonomic assignments of non-eukaryotic sequences and in the next release I will likely cap them to phylum rank or similar. But, for now, some temporary fix has to be done so that when CREST4 tries to look up what taxonomic rank that a too high depth (beyond "strain") corresponds to, it does not produce this index out of range error. Lucas, can you have a look at this please? I don't feel comfortable enough with the new code base to try to fix it..
from crest4.
The new version of crest that was just published https://pypi.org/project/crest4/4.3.7/
should fix this problem. I would be grateful if you could test and report any problems. Thanks a lot.
from crest4.
@xapple I confirm that crest is completing successfully now :)
Thanks
from crest4.
Related Issues (8)
- Crest4 runtime and memory requirement HOT 6
- CREST4 produces empty assignment.txt file HOT 6
- error with midori database access HOT 6
- Using BOLD database with CREST4 HOT 3
- Classification thresholds for ranks above phylum level HOT 2
- BiopythonDeprecationWarning HOT 1
- error in 16S assignment after update to crest 4.3.7 HOT 9
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 crest4.