The current GATK version is 3.7-0
Examples: Monday, today, last week, Mar 26, 3/26/04

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Get notifications!

You can opt in to receive email notifications, for example when your questions get answered or when there are new announcements, by following the instructions given here.

Did you remember to?

1. Search using the upper-right search box, e.g. using the error message.
2. Try the latest version of tools.
3. Include tool and Java versions.
4. Tell us whether you are following GATK Best Practices.
5. Include relevant details, e.g. platform, DNA- or RNA-Seq, WES (+capture kit) or WGS (PCR-free or PCR+), paired- or single-end, read length, expected average coverage, somatic data, etc.
6. For tool errors, include the error stacktrace as well as the exact command.
7. For format issues, include the result of running ValidateSamFile for BAMs or ValidateVariants for VCFs.
8. For weird results, include an illustrative example, e.g. attach IGV screenshots according to Article#5484.
9. For a seeming variant that is uncalled, include results of following Article#1235.

Did we ask for a bug report?

Then follow instructions in Article#1894.

Formatting tip!

Wrap blocks of code, error messages and BAM/VCF snippets--especially content with hashes (#)--with lines with three backticks ( ``` ) each to make a code block as demonstrated here.

Jump to another community
Picard 2.9.0 is now available. Download and read release notes here.
GATK 3.7 is here! Be sure to read the Version Highlights and optionally the full Release Notes.

UnifiedGenotyper error

mimi_luptonmimi_lupton Member Posts: 8

I am using UnifiedGenotyper to call SNPs in certain regions from custom capture data. I previously had the pipeline working, but now I am trying with files that have been reduced using ReduceReads, and also changed to a newer version.
I have many bam files, but I also get the error when I try with just two. See below for my script and the error message.

Many thanks.

java -Xmx20g -jar GenomeAnalysisTK.jar -T UnifiedGenotyper \
-R human_g1k_v37.fasta \
-B:dbsnp,vcf dbsnp_132.b37.vcf \
-L baitgroupfile.picard \
-I file1.reduced.bam \
-I file2.reduced.bam \
-o out.vcf \
-stand_call_conf 50.0 \
-stand_emit_conf 10.0 \
-G Standard \
-metrics out.metrics

ERROR ------------------------------------------------------------------------------------------
ERROR stack trace

net.sf.samtools.SAMFormatException: Unrecognized tag type: B
at net.sf.samtools.BinaryTagCodec.readValue(
at net.sf.samtools.BinaryTagCodec.readTags(
at net.sf.samtools.BAMRecord.decodeAttributes(
at net.sf.samtools.BAMRecord.getAttribute(
at net.sf.samtools.SAMRecord.getAttribute(
at org.broadinstitute.sting.gatk.datasources.simpleDataSources.SAMDataSource$
at org.broadinstitute.sting.gatk.datasources.simpleDataSources.SAMDataSource$
at org.broadinstitute.sting.gatk.filters.CountingFilteringIterator.getNextRecord(
at org.broadinstitute.sting.gatk.filters.CountingFilteringIterator.(
at org.broadinstitute.sting.gatk.datasources.simpleDataSources.SAMDataSource.applyDecoratingIterators(
at org.broadinstitute.sting.gatk.datasources.simpleDataSources.SAMDataSource.getIterator(
at org.broadinstitute.sting.gatk.executive.MicroScheduler.getReadIterator(
at org.broadinstitute.sting.gatk.executive.LinearMicroScheduler.execute(
at org.broadinstitute.sting.gatk.GenomeAnalysisEngine.execute(
at org.broadinstitute.sting.gatk.CommandLineExecutable.execute(
at org.broadinstitute.sting.commandline.CommandLineProgram.start(
at org.broadinstitute.sting.gatk.CommandLineGATK.main(

ERROR ------------------------------------------------------------------------------------------
ERROR A GATK RUNTIME ERROR has occurred (version 1.0.4905):
ERROR Please visit to wiki to see if this is a known problem
ERROR If not, please post the error, with stack trace, to the GATK forum
ERROR Visit our wiki for extensive documentation
ERROR Visit our forum to view answers to commonly asked questions
ERROR MESSAGE: Unrecognized tag type: B
ERROR ------------------------------------------------------------------------------------------

Best Answer


Sign In or Register to comment.