Repository navigation
PepQueryMHC v1.0.7
New feature
- Extract mode: a new
--mode extractthat pulls reads matching the input peptides/locations out of a BAM file into a standalone, sorted and indexed BAM (-e/--extract). Includes deduplication of reads
pulled from multiple task-level chunks before the final merge.
Performance improvements
- BAM indexing/sorting (
BAMUtil): switched toValidationStringency.SILENTand enabled async I/O — ~2.2x faster indexing on a 173MB BAM. - htsjdk upgraded 4.1.0 → 4.3.0 (verified byte-identical output).
- Mutation calling (
LocationInformation.calMutation): replaced repeated regex-basedString.splitwith a single indexOf-based scan — ~10% faster, byte-identical output. - Hashtable → HashMap across the scan/annotate pipeline: removed unnecessary per-call synchronization overhead from maps that are either thread-confined or read-only during the parallel phase — ~2x faster
on raw get/put, verified race-free under real 8-thread concurrency. - Codon translation (
Translator.translation/Codon.nuclToAmino): removed a redundant per-codon String allocation and unnecessarytoUpperCase()call — ~2.6x faster. - Input validation (
Validation.checkValidSequence): precompiled the nucleotide/peptide regex patterns instead of recompiling them on every call — ~2x faster.
Bug fix
- FASTQ mode multi-threading:
--thread/-@was effectively ignored in FASTQ mode — chunks were submitted to a thread pool but immediately awaited one at a time, so only one thread ever did work. Chunk
submission and result-merging are now decoupled, letting up to--threadchunks run concurrently. ~2.7x faster on a 2M paired-end read benchmark (CPU utilization 189% → 521%), byte-identical output verified
against the old behavior.
Build
- Added a Maven
assemblyplugin configuration somvn packageproduces a single self-contained, runnable jar (previously this required an Eclipse "Runnable JAR" export). - Added
build_jar.sh, which builds and names the release jar after the version declared inConstants.java(e.g.PepQueryMHC.v1.0.7.jar).
Upgrade notes
- No changes to CLI options, input/output formats, or column schemas in this release — outputs were verified byte-identical against v1.0.6 wherever a like-for-like comparison was possible.
Full Changelog: v1.0.6...v1.0.7