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

"relative_abundance" option was not provided in "contig" mode #211

Open
microjishuai opened this issue May 3, 2024 · 1 comment
Open

Comments

@microjishuai
Copy link

Hi Ben,

The "contig" mode doesn't provide "relative_abundance" option for coverage measures. Could you please explain the reasons for this setting? What are your concerns about calculating the relative abundance of contigs (e.g. uncultured virus)?

Many thanks,
Shuai

@wwood
Copy link
Owner

wwood commented Jul 9, 2024

Hi @microjishuai apologies for the slow response here.

I can't see any reason why whyat you suggest is a poor idea. You can actually achieve the same thing with a bit of hoop jumping using genome mode - specify a genome definition file where each contig is its own genome. The only other difference between the two modes is that genome mode requires 10% of the genome to be covered by 1 or more reads, otherwise it rounds the coverage (and therefore relative abundance) down to 0. You can change that using --min-covered-fraction 0.

HTH - we may add contig-wise in the future as you suggest (and to galah too, fwiw).
ben

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants