-
Notifications
You must be signed in to change notification settings - Fork 103
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
Functionality to join two kraken output files together #130
Comments
What kind of outputs are you trying to combine? Are they the single sample and you want the report for the sum of the two? Or are you trying to compare them? |
So, I have two kraken-style output files generated by performing two DNA classification runs. These outputs show the proportions of reads present in the sample, an example is shown just below:
Now, imagine the second kraken-style report file having some overlapping species present, and some different species. I would like to generate final kraken-style report from the two previous ones which merges the two data together. So, for example if there is B. anthracis Ames in the 2nd kraken-style report as well, then it would show it only once in the final kraken-style report with the proportions increased. But if there is another strain in the 2nd kraken-style report under Bacillus anthracis which is not present in the 1st kraken-style report, the final kraken-style report would add that under Bacillus anthracis and update the proportions accordingly. |
@tayabsoomro I know this is very late to say but we are working on a set of "Kraken-Tools" that can/will provide additional support for such projects as this. |
That is good to hear! Although I ended up creating such a tool myself but it will be great if it is added to Kraken. Thanks. |
Hey @tayabsoomro. I'm interested in doing something similar, so could you please share this tool you're referring to? Thank you! |
I ended up using the Centrifuge tool and its command So I combined the multiple centrifuge reports together using python's file append and then once I had the accumulated centrifuge report file, I generated kraken-style report file from it. Here is the snippet of code that I created, hope it helps: |
Hi, I am wondering if there is a functionality to join two kraken output files together?
Thanks,
Tayab Soomro.
The text was updated successfully, but these errors were encountered: