You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm testing out this tool because I want to switch out from using mpileup and mosdepth doesn't fit my use case.
When running both modes on the same data with the same settings I get different results. I'm not too sure of the difference between the modes but I was hoping of getting the same.
Could you clarify which commands you used? I'm assuming based on ouput format that the first is is only-depth and the second is base-depth. Could you also share a subset of data to reproduce what you're seeing above?
I'm not surprised that they are producing different outputs. At first glance I want to say it's how mate-fixing is handled between the two, but it's been years since I looked at this code. If you can share data I'll do some more digging. You could also try running without mate fixing and/or without read filtering to see which of those two might be to blame.
Apologies, I sort of copy-paste and fixed the commands but yes, the 2nd one is base-depth and the 1st one is only-depth.
Unfortunately I can't share any data due to it being private data. I'll try disabling the mate fix option and check how it behaves. The option for read filtering which one are you referring to?
No worries! Yes, the -m and -F options, try running with without / with differing combos of those which should hopefully narrow down the source of difference.
Hello!
I'm testing out this tool because I want to switch out from using mpileup and mosdepth doesn't fit my use case.
When running both modes on the same data with the same settings I get different results. I'm not too sure of the difference between the modes but I was hoping of getting the same.
The commands run and the results are:
./perbase only-depth --bed-format -m -q 0 -z -r /Homo_sapiens_assembly19.fasta -t 6 -o test_perbase_onlydepth_matefixed.bed -F 3848 -b coverage.bed final.bam
and
./perbase only-depth -m -Q 1 -q 0 -z -r /Homo_sapiens_assembly19.fasta -t 6 -o test_perbase_basedepth.txt -F 3848 -b coverage.bed final.bam
Thanks in advance!
The text was updated successfully, but these errors were encountered: