Question: picard CollectInsertSizeMetrics error
0
gravatar for sunnykevin97
3 days ago by
sunnykevin970 wrote:

Hi, why Im getting the error message using picard insert-metrics only on some bam files ?

**Error**
xception in thread "main" htsjdk.samtools.SAMFormatException: **SAM validation error: WARNING: Read name D00360:95:H2YWMBCXX:1:2113:8832:19449, No M or N operator between pair of D operators in CIGAR**
    at htsjdk.samtools.SAMUtils.processValidationErrors(SAMUtils.java:454)
    at htsjdk.samtools.BAMRecord.getCigar(BAMRecord.java:253)
    at htsjdk.samtools.SAMRecord.getAlignmentEnd(SAMRecord.java:606)
    at htsjdk.samtools.SAMRecord.computeIndexingBin(SAMRecord.java:1575)
    at htsjdk.samtools.SAMRecord.isValid(SAMRecord.java:2087)
    at htsjdk.samtools.BAMFileReader$BAMFileIterator.advance(BAMFileReader.java:811)
    at htsjdk.samtools.BAMFileReader$BAMFileIterator.next(BAMFileReader.java:797)
    at htsjdk.samtools.BAMFileReader$BAMFileIterator.next(BAMFileReader.java:765)
    at htsjdk.samtools.SamReader$AssertingIterator.next(SamReader.java:576)
    at htsjdk.samtools.SamReader$AssertingIterator.next(SamReader.java:548)
    at picard.analysis.SinglePassSamProgram.makeItSo(SinglePassSamProgram.java:136)
    at picard.analysis.SinglePassSamProgram.doWork(SinglePassSamProgram.java:84)
    at picard.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:282)
    at picard.cmdline.PicardCommandLine.instanceMain(PicardCommandLine.java:98)
    at picard.cmdline.PicardCommandLine.main(PicardCommandLine.java:108)
alignment assembly genome • 66 views
ADD COMMENTlink modified 3 days ago by finswimmer6.0k • written 3 days ago by sunnykevin970
1

use VALIDATION_STRINGENCY=LENIENT

ADD REPLYlink modified 3 days ago by RamRS18k • written 3 days ago by Pierre Lindenbaum112k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1770 users visited in the last hour