open2c / pairtools

Extract 3D contacts (.pairs) from sequencing alignments
MIT License
104 stars 32 forks source link

many scaffolds issue fix #43

Closed sergpolly closed 7 years ago

sergpolly commented 7 years ago

chrom_enum declaration in classify was killing performance for ~1000-10000 scaffolds case, because it was called inside the main loop for each aligned pair being analyzed. Proposed change is to put this declaration one layer up, I tested it locally and it didn't break anything ...

This is for the issue #39