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

Option to exclude contigs in the reference #25

Open
SLAment opened this issue Feb 22, 2024 · 2 comments
Open

Option to exclude contigs in the reference #25

SLAment opened this issue Feb 22, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@SLAment
Copy link

SLAment commented Feb 22, 2024

Hi! Thanks for a great tool. I was wondering if you could implement an option to remove a contig or a list of contigs when calculating the stats. Sometimes I have bacterial contaminations, or the mitochondrial contig has crazy coverage compared to the chromosomes, so I fear those values might inflate upwards the average depth of coverage in the report. Rather than re-map the reads to a reduced reference genome, I think it would be great if Cramino could consider it if asked.

Thanks!

@wdecoster
Copy link
Owner

wdecoster commented Feb 23, 2024

Great suggestion. I will add that. Thanks!

@wdecoster wdecoster self-assigned this Feb 29, 2024
@wdecoster wdecoster added the enhancement New feature or request label Feb 29, 2024
@wdecoster
Copy link
Owner

Hi,

While I haven't added this yet, I would just like to point out that you can use samtools to filter the file and pipe that into cramino to read from stdin. That should get you what you want.

Cheers,
Wouter

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