Multisample BAM file
0
0
Entering edit mode
3.3 years ago
gubrins ▴ 290

Heys,

I'm trying to run GATK on some BAM files I got. When I try, I obtain this error message:

A USER ERROR has occurred: Argument emit-ref-confidence has a bad value: Can only be used in single sample mode currently. Use the --sample-name argument to run on a single sample out of a multi-sample BAM file.

But when I check for the Read Group, is missing. Moreover, when I try to add a Read Group with AddOrReplaceReadGroup, the file gets truncated, with this error message:

SAM validation error: ERROR::INVALID_MAPPING_QUALITY:Record 55, Read name SRR836354.49744060, MAPQ should be 0 for unmapped read.

Do you know how can I check the different samples I have within this BAM or how could I specify the Read Group?

Thanks in advance!

bam snp calling samtools • 979 views
ADD COMMENT

Login before adding your answer.

Traffic: 2275 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