To celebrate the release of GATK 4.0, we are giving away free credits for running the GATK4 Best Practices pipelines in FireCloud, our secure online analysis portal. It’s first come first serve, so sign up now to claim your free credits worth $250. Sponsored by Google Cloud. Learn more at

PICARD - Alignment start should != 0 because reference name != *

TSNTSN BrazilMember

The problem start with CleanSam but it runs and creates the output, besides the error! After that AddOrReplaceReadGroups gives the same error but also runs! But in MarkDuplicates the error is fatal!!

Exception in thread "main" htsjdk.samtools.SAMFormatException: SAM validation error: ERROR: Record 1, Read name HISEQ:201:C783JANXX:8:1301:18266:70980, Alignment start should != 0 because reference name != *.
at htsjdk.samtools.SAMUtils.processValidationErrors(
at htsjdk.samtools.BAMFileReader$BAMFileIterator.advance(
at htsjdk.samtools.BAMFileReader$BAMFileIterator.(
at htsjdk.samtools.BAMFileReader$BAMFileIterator.(
at htsjdk.samtools.BAMFileReader.getIterator(
at htsjdk.samtools.SamReader$PrimitiveSamReaderToSamReaderAdapter.iterator(
at picard.sam.markduplicates.util.AbstractMarkDuplicatesCommandLineProgram.openInputs(
at picard.sam.markduplicates.MarkDuplicates.buildSortedReadEndLists(
at picard.sam.markduplicates.MarkDuplicates.doWork(
at picard.cmdline.CommandLineProgram.instanceMain(
at picard.cmdline.PicardCommandLine.instanceMain(
at picard.cmdline.PicardCommandLine.main(

Can you tell me about this error? What the problem with my data?


Issue · Github
by Sheila

Issue Number
Last Updated
Closed By


  • deklingdekling Broad InstituteMember

    Hi @TSN: Please run your sam/bam file through ValidateSamFile to find out what is going on. In addition, please make sure you are using the latest version of Picard. Keep me posted on your results. Thank you, -David

Sign In or Register to comment.