-
Notifications
You must be signed in to change notification settings - Fork 503
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
Invalid and mismatch CIGAR after remapping BAM file #952
Comments
Hi Jiří not sure what's going on here, Log file does not have anything suspicious. Cheers |
Sample read: From the HLR.tagfix.bam:
The first thing that screams to me is what appears to be duplication in the TX tag, but from what I can get from info on the internet, that might be fine as it means that several possible transcripts are possible? And as I am aware, STAR should ignore these anyway? When I try to grep it in the
but no read. |
Hi Jiří, this is a bug - the problem is that the TX:Z: string is too long, which causes improper BAM record. I will fix it in the future release, for now you will need to remove the TX:Z: tag from the SAM file before feeding it to STAR. Cheers |
I can confirm that removing this TAG does fix the problem. Should I close this issue or do you want to change the label and close it after a patch? |
Great, thanks for checking it! Let's keep it open for now until the patch is in. |
Hi Jiří thanks for reporting this bug, I have fixed it in the 2.7.5b release. Cheers |
I got plenty of these errors after I have used
samtools view
as a--readFilesCommand
option.Sample errors from
gatk ValidateSamFile
:There are no errors detected when running on the original BAM file.
Command used to run:
(
tagfix
signify that pysamtools were to remove unwanted tags, see #939; this file was validated and found no errors in it)Log file:
https://termbin.com/mlk5
The text was updated successfully, but these errors were encountered: