-
Notifications
You must be signed in to change notification settings - Fork 92
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
Combine Bracken files #27
Comments
It should work on the Bracken kraken-style report output. What are the first couple of lines for one of the report files? You should not be running that script on the Bracken default output (-o option). You should be running that script on Bracken's k-report output (-w option) |
Hi Jennifer, Thanks for your prompt reply. This makes sense to me. I have only generated the Bracken default output, so now I have to run the Bracken analysis again using -w. Do you know if I can re-run the Bracken analysis only with -w but without -o? My previous script: The output first few line: Thank you! Regards, |
By default, Bracken does produce the kraken-style report output. Can you check the folder where you had the original Kraken reports? I think Bracken by default, puts the new Kraken-style reports in the same folder (with extension _bracken.kreport) |
Hi Jennifer, My script has only generated one file (.bracken). I can't find any other file in the folder. Is my script below correct? Or I missed out some important parameter? My bracken version is 2.6.0 (build: py37h9a982cc_2). My previous script: Thanks for your help. Regards, |
Hi @SooChing, @jenniferlu717 , Did you figure it out? It would have been great to hear how you solved it as I have the same error and I do not see any -w option in Bracken. python combine_kreports.py -r kr/???.txt.S.bracken -o bracken_
|
Hi Jennifer, Thank you for clarifying this. Can you please provide an example with the -w option in use? I am trying to use it but the -o option is still being requested. |
After running bracken, I have found the kraken-style reports created in the input directory (where I have the original kraken data) and a new bracken output in my output directory. The kraken-style reports have "bracken_species" label in their file name. Now, I'm planning to assemble the bracken outputs of my reads from the same treatment (tube). Hence, I want to ask which of those two bracken outputs are good for assembly purpose? Do you think to do the assembly at the kraken stage will be more informative than assembling the bracken outputs ? |
Hi,
Good day.
I would like to check if I can run 'combine_kreports.py' on my Bracken reports? I have around 650 Bracken reports. It shows below errors when I tried to run it using the following command.
combine_kreports.py -r *.bracken -o bracken_phylum_all.report
Could you please advise?
Thanks.
Regards,
Soo Ching
The text was updated successfully, but these errors were encountered: