Thanks for the great tool!
My understanding from the source is that the minimap2 presets are set based on --min-identity to the following:
|
if qconfig.min_IDY < 90: |
|
preset = 'asm20' |
|
elif qconfig.min_IDY < 95: |
|
preset = 'asm10' |
|
else: |
|
preset = 'asm5' |
However, I'm wondering if these are actually too strict as the --min-identity is described?
@lh3 would be able to comment best, but my understanding from the minimap2 manual and issues is asm5 can align up to a maximum of 5% sequence identity, but in fact, most of the sequence should be far less than this. Same thing for asm10 and asm20. Therefore, for average identity across an entire contig of 95%, asm5 is not the optimal setting and probably too strict.
I'd recommend just using asm20 for all values of --min-identity (except maybe 1% or less, where asm5 may be safe). The speed/memory trade-offs for alignment just aren't there if you're doing bacterial genome alignment, and you're post-filtering the alignments anyway.
Thanks for the great tool!
My understanding from the source is that the minimap2 presets are set based on
--min-identityto the following:quast/quast_libs/ca_utils/align_contigs.py
Lines 66 to 71 in 06874b8
However, I'm wondering if these are actually too strict as the
--min-identityis described?@lh3 would be able to comment best, but my understanding from the minimap2 manual and issues is
asm5can align up to a maximum of 5% sequence identity, but in fact, most of the sequence should be far less than this. Same thing forasm10andasm20. Therefore, for average identity across an entire contig of 95%,asm5is not the optimal setting and probably too strict.I'd recommend just using
asm20for all values of--min-identity(except maybe 1% or less, whereasm5may be safe). The speed/memory trade-offs for alignment just aren't there if you're doing bacterial genome alignment, and you're post-filtering the alignments anyway.