htsjdk.samtools.SAMException: Requesting earlier reference sequence: 0 < 8

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 634#241115911
    via GitHub by yfarjoun
    ,
    • htsjdk.samtools.SAMException: Requesting earlier reference sequence: 0 < 8 at htsjdk.samtools.reference.ReferenceSequenceFileWalker.get(ReferenceSequenceFileWalker.java:82) at picard.sam.AbstractAlignmentMerger.calculateMdAndNmTags(AbstractAlignmentMerger.java:596) at picard.sam.AbstractAlignmentMerger.clipForOverlappingReads(AbstractAlignmentMerger.java:628) at picard.sam.AbstractAlignmentMerger.transferAlignmentInfoToPairedRead(AbstractAlignmentMerger.java:580) at picard.sam.AbstractAlignmentMerger.mergeAlignment(AbstractAlignmentMerger.java:390) at picard.sam.SamAlignmentMerger.mergeAlignment(SamAlignmentMerger.java:152) at picard.sam.MergeBamAlignment.doWork(MergeBamAlignment.java:266) at picard.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:208) at picard.cmdline.PicardCommandLine.instanceMain(PicardCommandLine.java:95) at picard.cmdline.PicardCommandLine.main(PicardCommandLine.java:105)
    No Bugmate found.