-
Notifications
You must be signed in to change notification settings - Fork 7
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
Compatibility with Ganon? #35
Comments
Hi @rjsorr, |
Hi @khyox, |
Thanks! As you have indicated in pirovc/ganon#198, the key is using Recentrifuge's generic classifier feature for parsing Ganon's output. Yes, please attach a file here (or the head of a file if it's too large) so that we can figure out the format string for the generic classifier. |
cheers @khyox, E00224:537:HK7G5CCXY:4:1101:1255:73035 104662 11 |
Thanks @rjsorr. One of the required fields for Recentrifuge's generic parser is the read length, and Ganon output is not providing it. Anyway, you can add a dummy value (or the real value if you know it, e.g. in case of short reads with a fixed length) using $ sed s/$/' '200/ ganon.ssv.gen >> ganon_rcf.ssv.gen where
The other required field is which code/character uses Ganon in the TID column when a read is unclassified. That case was not appearing in your example. Maybe Ganon is simply not listing those reads that are not classified. I have used an With all the above, the format string for Ganon, would be
and you should get the expected output after rcf's header:
A screenshot of the resulting html file: |
Hi
I'm using Ganon (https://github.com/pirovc/ganon) to classify reads, and this program seems to be gaining popularity. As such, I'm wondering a) if recentrifuge will be updated to use the results of ganon directly, as centrifuge, clark etc? and b) if not, which output from ganon would be most compatable as an input to recentrifuge?
The text was updated successfully, but these errors were encountered: