Open Astahlke opened 2 years ago
Hi all,
I would like to second the above posters recommendations on clarifying the minimap2 presets in the tutorial.
I have tested both settings out for my hifi dataset and get nearly identical results (at least for coverage cutoffs). Only thing to note is that the minimap2 main page specifies to use the '-ax map-hifi' flag for hifi data which will create a sam file as opposed to a paf file with '-x map-hifi'.
Thanks for making such a great tool! Mason
Just to check after some more updates in minimap2: if i have hifi reads, for purge_dups step 1 paf generation, it would be best to use
-map-hifi
, not-map-pb
as in README or-xasm20
as above, correct?_Originally posted by @bishopia in https://github.com/dfguan/purge_dups/issues/30#issuecomment-966261921_
Hi Dengfeng,
Since minimap v2.19 (https://github.com/lh3/minimap2/releases/tag/v2.19), the recommended preset for mapping hifi reads to a reference is -map-hifi, not -xasm20. Reviewing the documentation on the differences, it's clear that the presets are different, but not yet clear to me exactly how these differences would impact purge_dups behavior. Do you have any insight?
On the other hand, maybe purge_dups could be updated to properly process the .paf.gz of -map-hifi? The purge_dups
pbcstat
program does not correctly process the output of those alignments.Maybe it makes little difference, but it's a bit confusing when the minimap documentation conflicts with that of purge_dups.
Very interested in your thoughts and whether/how purge_dups could be updated. Thank you!