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

purge_haplotigs readhist: unable to distinguishing the two histogram peaks #2

Open
uceleste opened this issue May 28, 2019 · 1 comment

Comments

@uceleste
Copy link

Hi All,

I'm running purge_haplotigs on my heterozygous diploid-phased assembly (primary + haplotigs) using pacbio reads:

$ minimap2 -ax map-pb p_h.fasta pacbio.fasta -t 30 | samtools sort -@ 30 -m 1G -o aligned.bam -T tmp.aln

$ purge_haplotigs readhist -b aligned.bam -g p_h.fasta -t 30

I obtained the coverage histogram but I am not able to properly distinguish the to peaks. Please find the attached histogram.
aligned bam histogram
What could be the reason? Which low, mid and high cutoff values should I take?

Cheers

@mroach-awri
Copy link
Contributor

You're half coverage peak is at 30, the second peak is at 60 (it just looks like a shoulder on the first peak). I'd also recommend using the latest version from https://bitbucket.org/mroachawri/purge_haplotigs/

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