Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow hibf in ganon? #401

Open
SannaAb opened this issue Oct 11, 2023 · 8 comments
Open

Allow hibf in ganon? #401

SannaAb opened this issue Oct 11, 2023 · 8 comments
Assignees
Labels
enhancement Improvement for existing functionality

Comments

@SannaAb
Copy link

SannaAb commented Oct 11, 2023

Description of feature

Thank you for a really nice tool.

I was going to try out ganon and was generating a database using their recommendation for refseq https://pirovc.github.io/ganon/default_databases/.

ganon build --source refseq --organism-group archaea bacteria fungi viral --threads 48 --hibf --level species --db-prefix abfv_rs

When using it in taxprofiler i got errrors, I realized it was due to taxprofiler looking for ibf while i have hibf. I regenerated the database without the hibf but when testing it kept crashing due to depleted memory (running alone in a node with 512 GiB ram using an insilco sample of 6 species with 1M reads in total). Using the hibf version it runs fine.

Would it be possible to include hibf for ganon in taxprofiler?

@SannaAb SannaAb added the enhancement Improvement for existing functionality label Oct 11, 2023
@jfy133
Copy link
Member

jfy133 commented Oct 11, 2023

Nope, no reason not to include that! We just need to update a search pattern in the Module :), should be easy

@SannaAb
Copy link
Author

SannaAb commented Oct 12, 2023

Awsome, when you looking into it can you also update ganon to the newest version? I was trying to use the tax flag but it seems it is not available for 1.5.1.

@jfy133
Copy link
Member

jfy133 commented Oct 12, 2023

Yup! That's planned 👍

@jfy133 jfy133 added this to the 1.2.0 - Bouncy Basenji milestone Oct 16, 2023
@talnor talnor self-assigned this Oct 17, 2023
@pirovc
Copy link

pirovc commented Oct 25, 2023

Just a heads-up, a new ganon version (2.0) is planned to be out soon(ish) and there will be some parameter changes, where --hibf will vanish since it will be the default behavior (there will be a --ibf option then). I don't think this should stop this request but a newer ganon version may be out before you fix this.

@sofstam
Copy link
Collaborator

sofstam commented Oct 25, 2023

@pirovc Thanks for letting us know!

@pirovc
Copy link

pirovc commented Nov 22, 2023

ganon2 (ganon v2.0.0) is now released. The new behavior is to generate the .hibf by default with ganon build and ganon build-custom. The option to switch to the old filter type .ibf is now --filter-type ibf. Anyways, when using the database with ganon classify the extension does not matter, the tool will auto-detect the filter type. I hope that clarifies and simplifies the issue. There was also some other changes in parameters and output files https://github.com/pirovc/ganon/releases/tag/2.0.0

Would be great to have ganon2 in the taxprofiler, let me know if any help is needed.

@jfy133
Copy link
Member

jfy133 commented Nov 22, 2023

Whoop! That's awesome, thanks @pirovc !

I will aim to update the nf-core module soonish (disclaimer: I'm on parental leave and as of this morning baby is sick, and Kita is shut for the rest of week 🙄 perfect combination). I'll ping you for review of the modules to make sure I've not missed any mandatory options 👍

Sorry for the slow progress on this @SannaAb will get there eventually

@jfy133
Copy link
Member

jfy133 commented Nov 22, 2023

Oh and @pirovc always feel free to let us know if you feel like learning some nextflow or nf-core ;) we are happy to help you get involved 😉

@talnor talnor assigned sofstam and unassigned talnor Feb 7, 2024
@sofstam sofstam mentioned this issue Feb 8, 2024
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement for existing functionality
Projects
None yet
Development

No branches or pull requests

5 participants