lindenb / jvarkit

Java utilities for Bioinformatics
https://jvarkit.readthedocs.io/
Other
482 stars 133 forks source link

Two dictionaries are not the same #102

Closed ray1919 closed 6 years ago

ray1919 commented 6 years ago

Subject of the issue

two bam file using same aligner(minimap2) and same index file, when using bamstats04, it had error of "Two dictionaries are not the same"

Your environment

Steps to reproduce

two bam file using same aligner(minimap2) and same index file, when using bamstats04, it had error of "Two dictionaries are not the same"

Expected behaviour

I use samtools view -H to output header of two bam files, only RG and PG lines are differnet

Actual behaviour

It out put two string of chrom names, I copied the two very long string, and compared them in text editor. It was exactly the same.

ray1919 commented 6 years ago

I have comment out the error code in source file , and it works. Is there a better solution.

lindenb commented 6 years ago

thanks for the bug report, I can reproduce the problem when using two bams.

lindenb commented 6 years ago

fixed in https://github.com/lindenb/jvarkit/commit/8e4e28a5390bafe9c401dfc075109905d6606794

thanks for the bug report

closing.