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

Minimap2 truncating the alignments if there is a SNP at the start of the gene #1211

Closed
Marysteph opened this issue May 15, 2024 · 1 comment
Labels

Comments

@Marysteph
Copy link

Hi Minimap team,

I am using Minimap to align genomes against reference sequence with options: minimap2 --eqx -c -x .
It seems that minimap misses aligning the first codon if there is a SNP at the start position of the gene (ie in the start codon), which gets called as a truncation when it shouldn’t

For example:
391__StrA_AGly__strA.v1__2409:3-804(+), 51:3608-4409 (99.875%).

Any ideas on how I can solve this?

Thanks in advance

@lh3
Copy link
Owner

lh3 commented May 29, 2024

Try to add --end-bonus=10

@lh3 lh3 closed this as completed May 29, 2024
@lh3 lh3 added the question label May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants