-
Notifications
You must be signed in to change notification settings - Fork 2
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
Lower depth recorded with min_identity=0.0 than with 0.1 #7
Comments
Thanks for the report! I couldn't find anything obvious just by looking at the code. It doesn't seem like vanilla CoverM will default |
I think I know what is going on. CoverM is checking whether the minimum identity is greater than 0. I think the easiest solution here would be to set |
I couldn't figure out what CoverM does when the minimum identity is 0. The results it provides are correct, though. Pinging @wwood |
It's no rush for me to get it fixed - I set min_identity to 0.001 if the user sets it to 0. But it would be good to know why pycoverm behaves this way. |
Hi, Sorry I'm not really clear on the specifics here, but some notes CoverM doesn't give those answers,
Maybe the default is being put in here? Not very familiar with the python side sorry. Line 87 in 81e81d9
ben |
Thanks, @wwood. I also noticed that CoverM returns the correct coverage, I'm still not sure what is going on. Might be something on the Python/Maturin side of things, but it's very strange that it only happens when |
Here is a minimal working example. I am using the attached file
head2.bam
with only 4 reads and 1 reference. Note that in order to upload to GitHub, the files must be gzipped - simply unzip the attached file to get the original BAM file.Note that the depth INCREASES when increasing
min_identity
. Perhaps it somehow defaultsmin_identity=0.0
tomin_identity=0.97
?head2.bam.gz
The text was updated successfully, but these errors were encountered: