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

Compatability with recentrifuge? (add read len to the output) #198

Open
rjsorr opened this issue Feb 22, 2022 · 4 comments
Open

Compatability with recentrifuge? (add read len to the output) #198

rjsorr opened this issue Feb 22, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@rjsorr
Copy link

rjsorr commented Feb 22, 2022

Hi
I'm wondering as to the compatability of ganon (classify/report) output with recentrifuge (https://github.com/khyox/recentrifuge/wiki/Running-recentrifuge-for-a-generic-classifier)? I need to remove contaminant reads from the dataset and for a person who doesn't use R (Decontam), then recentrifuge seems like the best option. As such, I'm wondering if a) the ganon output is compatible with Recentrifuge (which I presume it is)? and b) What output, either from classify or report, will give me a file that is closest to the requested input of Recentrifuge?

@pirovc
Copy link
Owner

pirovc commented Feb 23, 2022

The file that would be the closest is either the lca (--output-lca) or complete output (--output-all). Those files report 3 fields: read id, target (taxid), k-mer/minimizer count.

You could use the k-mer/minimizer count as the score for recentrifuge but the read length is not reported, you'd have to add to those files after the run.

@rjsorr
Copy link
Author

rjsorr commented Feb 23, 2022

Cheers @pirovc !
I'll add/match the read length column and give it a try

@pirovc pirovc added the enhancement New feature or request label Mar 16, 2022
@pirovc
Copy link
Owner

pirovc commented Mar 16, 2022

@rjsorr any success running recentrifuge with ganon? I'll leave this open as a possible enhancement

@pirovc pirovc changed the title Compatability with recentrifuge? Compatability with recentrifuge? (add read len to the output) Mar 16, 2022
@rjsorr
Copy link
Author

rjsorr commented Mar 22, 2022

see for compatability solution: khyox/recentrifuge#35

@pirovc pirovc closed this as completed Mar 23, 2022
@pirovc pirovc reopened this Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants