aidenlab / juicer

A One-Click System for Analyzing Loop-Resolution Hi-C Experiments
http://aidenlab.org
MIT License
418 stars 183 forks source link

Added support for bwa-mem2 to the CPU version to speedup the alignmen… #360

Open mahajrod opened 1 month ago

mahajrod commented 1 month ago

Added support for bwa-mem2 to the CPU version to speedup the alignment and simplify integration in pipelines already using bwa-mem2 as a main aligner. Selection between bwa and bwa-mem2 depends on the presense of the index files: .bwt.2bit.64 for bwa-mem2 and .bwt for bwa. First the presence of the bwa-mem2 index is checked. If it is absent test for bwa index is done.