Issues with CollectAlignmentSummaryMetrics Picard tool
0
0
Entering edit mode
2.9 years ago
Elisa • 0

Hi everyone,

I was running the following comand line:

java -jar /home/Picard/picard.jar CollectAlignmentSummaryMetrics -R GRCh38.fna -I 2H.bam -O output2H.txt

but I got the following error:

Exception in thread "main" htsjdk.samtools.util.SequenceUtil$SequenceListsDifferException: Sequence dictionaries are not the same size (194, 639) at htsjdk.samtools.util.SequenceUtil.assertSequenceListsEqual(SequenceUtil.java:259) at htsjdk.samtools.util.SequenceUtil.assertSequenceDictionariesEqual(SequenceUtil.java:342) at htsjdk.samtools.util.SequenceUtil.assertSequenceDictionariesEqual(SequenceUtil.java:328) at picard.analysis.SinglePassSamProgram.makeItSo(SinglePassSamProgram.java:117)

I am sure that the reference genome I gave in input is the same reference genome used to align and obtain the BAM file. Actually, I've just figured out that the sam header and the referencegenome.dict header are not the same. In particular, SAM's header is version 1.5, while referencegenome.dict's header is version 1.6. How can I make them consistent? So, how can I make them have the same header?

Thanks in advance.

Picard • 392 views
ADD COMMENT

Login before adding your answer.

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