Git Product home page Git Product logo

Comments (7)

stefjanson avatar stefjanson commented on August 16, 2024 1

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.

infphilo avatar infphilo commented on August 16, 2024

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.

feltzmc avatar feltzmc commented on August 16, 2024

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.

mourisl avatar mourisl commented on August 16, 2024

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.

feltzmc avatar feltzmc commented on August 16, 2024

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.

mourisl avatar mourisl commented on August 16, 2024

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.

feltzmc avatar feltzmc commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.