Comments (7)
Hi,
--un still doesn't work, how did you get the unaligned reads? I work with big fasta files and cant find a fast method.
Greetings,
Stef
from centrifuge.
Hi Moritz,
Thanks! I thought --un worked, but it doesn't. We'll fix it and release the next version with some additional functionalities.
Thanks,
Daehwan
from centrifuge.
Hi Florian/Daehwan,
At my last testing, --un still isn't working. When I attempt to use it centrifuge crashes. I can post the error if it might be helpful. Is this still something that will be implemented?
Thanks,
Matt
from centrifuge.
Can you try to use "--un-conc" option in case your data set is paired-end reads. And to output the sequence of those unclassified reads, you have to use --tab-fmt-cols to let Centrifuge output the sequence and quality score of the reads (the option "--out-fmt sam" also works).
from centrifuge.
Hi Li,
Thank you for the quick response. My data is unpaired and I can't seem to get either of those format options to work. Here are the commands I am running:
This command runs great:
time centrifuge -t -p 16 -q --report-file NBC02_summary_report.tsv -S NBC02_class_results.txt -x abv /home/mfeltz/workdir/NBC02_trimmed.fq
This command throws errors about bitwise operators:
time centrifuge -t -p 16 -q --un Unmapped_Reads.txt --report-file NBC02_summary_report.tsv -S NBC02_class_results.txt -x abv /home/mfeltz/workdir/NBC02_trimmed.fq
Result:
Argument "NZ_CP009627.1" isn't numeric in bitwise and (&) at /home/mfeltz/workdir/CENTRIFUGE/centrifuge/centrifuge line 496, line 38949.
Argument "NZ_CP009628.1" isn't numeric in bitwise and (&) at /home/mfeltz/workdir/CENTRIFUGE/centrifuge/centrifuge line 496, line 38951.
Argument "NZ_CP009628.1" isn't numeric in bitwise and (&) at /home/mfeltz/workdir/CENTRIFUGE/centrifuge/centrifuge line 496, line 38953.
This is with the --out-fmt option
time centrifuge -t -p 16 -q --out-fmt sam --report-file NBC02_summary_report.tsv -S NBC02_class_results.txt -x abv /home/mfeltz/workdir/NBC02_trimmed.fq
Result:
/home/mfeltz/workdir/CENTRIFUGE/centrifuge/centrifuge-class: unrecognized option '--out-fmt'
Here is with --tab-fmt-cols
time centrifuge -t -p 16 -q --tab-fmt-cols --report-file NBC02_summary_report.tsv -S NBC02_class_results.txt -x abv /home/mfeltz/workdir/NBC02_trimmed.fq
Result:
/home/mfeltz/workdir/CENTRIFUGE/centrifuge/centrifuge-class: unrecognized option '--tab-fmt-cols'
Please let me know if I am missing something obvious here.
Thank you,
Matt
from centrifuge.
Hi Matt,
Is your version of centrifuge up-to-date? In the repository of github, the line 496 of the wrapper file "centrifuge" does not have any bit operation. And centrifuge-class should recognize those two options.
Li
from centrifuge.
Hi Li,
My apologies, my version was in fact out of date and that should have been the first thing I checked. I just tested the command using the --un option after downloading the newest version and it works like a charm. Thank you very much for your help and thanks for creating such a great tool.
Matt
from centrifuge.
Related Issues (20)
- viral bacteria and archaea DB now very large >60G HOT 3
- Database download for Centrifuge HOT 222
- Print (un)classified sequences HOT 1
- (ERR): centrifuge-class exited with value 1 HOT 4
- Centrifuge Database Download Error HOT 6
- number of cpus detection :: possible oversubcribe problems HOT 2
- Classification filtering only virus/archaea sequences HOT 1
- Issues with --nodc, --justref and --noref parameters
- Warning: Encountered reference sequence with only gaps HOT 2
- Error compiling on macOS ventura HOT 1
- Unable to use sudo make install prefix=/usr/local HOT 4
- Unusual abundance results with custom classifier index HOT 6
- Calculate abundance without genome size taken into account
- make p_compressed = "could not find jellyfish" HOT 1
- Where are you Sulfobacillus? HOT 33
- error in make
- Custom database including only specific organisms for reads separation?
- Error when executing centrifuge "Argument list too long" HOT 4
- how to make seqid2taxid.map HOT 1
- Error when downloading only bacteria version HOT 3
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 centrifuge.