Skip to content

Commit

Permalink
Merge pull request #1773 from milaboratory/align-retry
Browse files Browse the repository at this point in the history
Align retry
  • Loading branch information
gnefedev authored Sep 16, 2024
2 parents 3956c95 + 14f978f commit 1582589
Show file tree
Hide file tree
Showing 221 changed files with 239 additions and 20 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ val toObfuscate: Configuration by configurations.creating {
val obfuscationLibs: Configuration by configurations.creating


val mixcrAlgoVersion = "4.7.0-20-export-for-platforma"
val mixcrAlgoVersion = "4.7.0-26-align-retry"
// may be blank (will be inherited from mixcr-algo)
val milibVersion = ""
// may be blank (will be inherited from mixcr-algo or milib)
Expand Down
4 changes: 2 additions & 2 deletions changelogs/v4.7.1.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
## 🛠️ Other improvements & fixes

- Tracking the progres of fasta[.gz] inputs on `align`.

- Improved alignment rate of short parts of genes in reads with height rate of mutations

## 📚 New Presets

- Added preset `bruker-human-sc-xcr-vdj-beacon` for TCR/BCR analyses of Bruker Beacon data
- Added preset `bruker-human-sc-xcr-vdj-beacon` for TCR/BCR analyses of Bruker Beacon data
10 changes: 5 additions & 5 deletions itests/case008.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ mixcr analyze --verbose generic-amplicon \
-Malign.parameters.readsLayout=Collinear \
CD4M1_test_R1.fastq.gz CD4M1_test_R2.fastq.gz case8

assert "cat case8.align.report.json | head -n 1 | jq -r .chainUsage.chains.TRA.total" "241313"
assert "cat case8.assemble.report.json | head -n 1 | jq -r .readsInClones" "200731"
assert "cat case8.assemble.report.json | head -n 1 | jq -r .clones" "25653"
assert "cat case8.align.report.json | head -n 1 | jq -r .chainUsage.chains.TRA.total" "241364"
assert "cat case8.assemble.report.json | head -n 1 | jq -r .readsInClones" "200784"
assert "cat case8.assemble.report.json | head -n 1 | jq -r .clones" "25662"
assert "cat case8.assembleContigs.report.json | head -n 1 | jq -r .longestContigLength" "499"
assert "cat case8.assembleContigs.report.json | head -n 1 | jq -r .clonesWithAmbiguousLetters" "3543"
assert "cat case8.assembleContigs.report.json | head -n 1 | jq -r .clonesWithAmbiguousLetters" "3547"
assert "cat case8.assembleContigs.report.json | head -n 1 | jq -r .assemblePrematureTerminationEvents" "4"
assert "cat case8.assembleContigs.report.json | head -n 1 | jq -r .finalCloneCount" "25653"
assert "cat case8.assembleContigs.report.json | head -n 1 | jq -r .finalCloneCount" "25662"
8 changes: 4 additions & 4 deletions itests/case009.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ mixcr analyze --verbose generic-amplicon \
-M align.parameters.readsLayout=Collinear \
CD4M1_test_R1.fastq.gz CD4M1_test_R2.fastq.gz case9

assert "cat case9.align.report.json | head -n 1 | jq -r .chainUsage.chains.TRA.total" "241313"
assert "cat case9.assemble.report.json | head -n 1 | jq -r .readsInClones" "200731"
assert "cat case9.align.report.json | head -n 1 | jq -r .chainUsage.chains.TRA.total" "241364"
assert "cat case9.assemble.report.json | head -n 1 | jq -r .readsInClones" "200784"
assert "cat case9.assembleContigs.report.json | head -n 1 | jq -r .longestContigLength" "499"
assert "cat case9.assembleContigs.report.json | head -n 1 | jq -r .clonesWithAmbiguousLetters" "3543"
assert "cat case9.assembleContigs.report.json | head -n 1 | jq -r .clonesWithAmbiguousLetters" "3547"
assert "cat case9.assembleContigs.report.json | head -n 1 | jq -r .assemblePrematureTerminationEvents" "4"
assert "cat case9.assembleContigs.report.json | head -n 1 | jq -r .finalCloneCount" "25653"
assert "cat case9.assembleContigs.report.json | head -n 1 | jq -r .finalCloneCount" "25662"
1 change: 1 addition & 0 deletions regression/presets/analyze/10x-5gex-cdr3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists:
CELL: builtin:737K-august-2016
Expand Down
1 change: 1 addition & 0 deletions regression/presets/analyze/10x-5gex-full-length.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists:
CELL: builtin:737K-august-2016
Expand Down
1 change: 1 addition & 0 deletions regression/presets/analyze/10x-sc-5gex.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists:
CELL: builtin:737K-august-2016
Expand Down
1 change: 1 addition & 0 deletions regression/presets/analyze/10x-sc-xcr-vdj.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
1 change: 1 addition & 0 deletions regression/presets/analyze/10x-vdj-bcr-full-length.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
1 change: 1 addition & 0 deletions regression/presets/analyze/10x-vdj-bcr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
1 change: 1 addition & 0 deletions regression/presets/analyze/10x-vdj-tcr-full-length.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
1 change: 1 addition & 0 deletions regression/presets/analyze/10x-vdj-tcr-qc-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
1 change: 1 addition & 0 deletions regression/presets/analyze/10x-vdj-tcr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
1 change: 1 addition & 0 deletions regression/presets/analyze/abhelix-human-bcr-cdr3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
1 change: 1 addition & 0 deletions regression/presets/analyze/abhelix-human-rna-xcr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
1 change: 1 addition & 0 deletions regression/presets/analyze/abhelix-human-tcr-cdr3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
1 change: 1 addition & 0 deletions regression/presets/analyze/ampliseq-tcrb-plus-cdr3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
1 change: 1 addition & 0 deletions regression/presets/analyze/ampliseq-tcrb-sr-cdr3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -808,6 +808,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -813,6 +813,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -801,6 +801,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
1 change: 1 addition & 0 deletions regression/presets/analyze/bd-rhapsody-human-bcr-v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -808,6 +808,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
1 change: 1 addition & 0 deletions regression/presets/analyze/bd-rhapsody-human-bcr-v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -808,6 +808,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -801,6 +801,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
1 change: 1 addition & 0 deletions regression/presets/analyze/bd-rhapsody-human-tcr-v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -808,6 +808,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
1 change: 1 addition & 0 deletions regression/presets/analyze/bd-rhapsody-human-tcr-v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -808,6 +808,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -801,6 +801,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
1 change: 1 addition & 0 deletions regression/presets/analyze/bd-rhapsody-mouse-bcr-v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -813,6 +813,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
1 change: 1 addition & 0 deletions regression/presets/analyze/bd-rhapsody-mouse-bcr-v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -813,6 +813,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -801,6 +801,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
1 change: 1 addition & 0 deletions regression/presets/analyze/bd-rhapsody-mouse-tcr-v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -813,6 +813,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
1 change: 1 addition & 0 deletions regression/presets/analyze/bd-rhapsody-mouse-tcr-v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -813,6 +813,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2529,6 +2529,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -801,6 +801,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
1 change: 1 addition & 0 deletions regression/presets/analyze/biomed2-human-bcr-cdr3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
1 change: 1 addition & 0 deletions regression/presets/analyze/biomed2-human-rna-igh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
1 change: 1 addition & 0 deletions regression/presets/analyze/biomed2-human-rna-igkl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
1 change: 1 addition & 0 deletions regression/presets/analyze/biomed2-human-rna-trbdg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
Loading

0 comments on commit 1582589

Please sign in to comment.