I'm trying to run picard CalculateHSMetrics step on a bam file to get hybrid selection metrics and per target coverage across a list of target and probe intervals.
I get the below error,
SequenceUtil$SequenceListsDifferException: Sequence dictionaries are not the same size (87, 85)
I checked if the @SQ header lines in my bam and interval files are the same, and they are. Is it essential that the header of bam and interval files match exactly?