Closed fleharty closed 3 years ago
The getLibraryId function of SAMRecordDuplicateComparator.java can create race conditions when run multithreaded.
getLibraryId should return the right value
Occasionally getLibraryId has the libraryId variable incremented by a separate thread that shouldn't have touched the value.
Picard SortSam
Resolved by https://github.com/samtools/htsjdk/issues/1516
Description of the issue:
The getLibraryId function of SAMRecordDuplicateComparator.java can create race conditions when run multithreaded.
Your environment:
Steps to reproduce
Expected behaviour
getLibraryId should return the right value
Actual behaviour
Occasionally getLibraryId has the libraryId variable incremented by a separate thread that shouldn't have touched the value.
Picard SortSam