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

Hello, I have a question about vg map. #4398

Open
pioneer-pi opened this issue Sep 13, 2024 · 1 comment
Open

Hello, I have a question about vg map. #4398

pioneer-pi opened this issue Sep 13, 2024 · 1 comment

Comments

@pioneer-pi
Copy link

I check out the result(GAM file) of vg map. I found that there are some question in base repeat region. If there is a few bp deletion/insertion, the mapping information may represent this mismatch in the middle of this region rather than the begin of this region. Can this question be soloved?

For example:
Ref: TATATATA
Read: TATATA
Then the mapping result may be 4M2D(four base match, then 2 base deletion), rather than(2D4M). I would like to the latter result.

@jeizenga
Copy link
Contributor

Unfortunately, vg map doesn't have an easy way to consistently left- or right-align indels. If you're projecting to BAM with vg surject or vg map --surject-to bam, then you can use a tool like freebayes bamleftalign, but I don't know of anything like that for GAM or GAF files.

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