Picard ValidateSamFile error
1
0
Entering edit mode
6.3 years ago
boyu93 ▴ 20

I wanted to run Breakdancer but received an error EOF marker is absent. So I tried Picard ValidateSamFile to see if there are any errors inside. When I run Picard ValidateSamFile, I received the following error:

ValidateSamFile Value for tag MC is not a String: class java.lang.Integer

I couldn't find any useful information on it, could anybody help me with the issue? Thanks a lot!

picard bam • 1.6k views
ADD COMMENT
0
Entering edit mode
6.3 years ago

EOF marker is absent

you'd better try to re-generate the bam. There is a problem with the file.

MC = "CIGAR string for mate/next segment" should be encoded in your bam as a string ( see https://samtools.github.io/hts-specs/SAMtags.pdf )

MC:X:50M

but it's encoded in your bam as an interger

MC:i:50M

it's a problem with the software that created the BAM.

ADD COMMENT
0
Entering edit mode

Thank you so much! We found out that it was caused during copying into the disk, the file is not complete with only first several chromosomes included. I'd better check the completeness first in the future.

ADD REPLY

Login before adding your answer.

Traffic: 2618 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6