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

Signed Integer Overflow in MAPQ Computation #95

Open
paudano opened this issue May 5, 2021 · 1 comment
Open

Signed Integer Overflow in MAPQ Computation #95

paudano opened this issue May 5, 2021 · 1 comment

Comments

@paudano
Copy link

paudano commented May 5, 2021

I am getting negative MAPQ numbers from ngmlr. I noticed this when samtools failed converting SAM to CRAM. This looks to me like 32-bit signed integer overflow on some astronomically high MAPQ?

ngmlr version 0.2.7

Command:
ngmlr -t 12 -r ${REF} -q chr13-112318733-INS-3060.fa.gz -o HG00733_flank-500_sv_ins.sam

I am aligning against this reference (hg38, primary assembly only):
ftp://ftp.1000genomes.ebi.ac.uk/vol1/ftp/data_collections/HGSVC2/technical/reference/20200513_hg38_NoALT/

I am attaching the input FASTA and aligned SAM (gzipped since I can BAM/CRAM it).

chr13-112318733-INS-3060.fa.gz
chr13-112318733-INS-3060.sam.gz

@monsanto-pinheiro
Copy link
Contributor

Please, check the fix in #96

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