Skip to content

Commit

Permalink
Merge pull request #1620 from milaboratory/fix-nanopore
Browse files Browse the repository at this point in the history
Fix nanopore
  • Loading branch information
gnefedev authored Apr 23, 2024
2 parents 88d34d8 + 62beb1e commit e929f89
Show file tree
Hide file tree
Showing 13 changed files with 30 additions and 3 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.6.0-93-feature-imputed"
val mixcrAlgoVersion = "4.6.0-99-fix-nanopore"
// may be blank (will be inherited from mixcr-algo)
val milibVersion = ""
// may be blank (will be inherited from mixcr-algo or milib)
Expand Down
1 change: 1 addition & 0 deletions changelogs/v4.6.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
- Fixed calculation of germline for `VCDR3Part` and `JCDR3Part` in case of indels inside CDR3
- Fixed export of trees if data assembled by a feature with reference point having offset
- Export of `VJJunction gemline` in `shmTrees` exports now export `mrca` as most plausible content
- Fixed parsing and alignment of reads with length more than 30Kbase

## New Presets

Expand Down
2 changes: 2 additions & 0 deletions regression/presets/analyze/flairr-seq-bcr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ align:
saveOriginalSequence: false
saveOriginalReads: false
smartForceEdgeAlignments: true
longReadsParameters:
windowSize: 1500
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
2 changes: 2 additions & 0 deletions regression/presets/analyze/generic-ont-with-umi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ align:
saveOriginalSequence: false
saveOriginalReads: false
smartForceEdgeAlignments: true
longReadsParameters:
windowSize: 1500
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
2 changes: 2 additions & 0 deletions regression/presets/analyze/generic-ont.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ align:
saveOriginalSequence: false
saveOriginalReads: false
smartForceEdgeAlignments: true
longReadsParameters:
windowSize: 1500
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
2 changes: 2 additions & 0 deletions regression/presets/analyze/generic-pacbio-with-umi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ align:
saveOriginalSequence: false
saveOriginalReads: false
smartForceEdgeAlignments: true
longReadsParameters:
windowSize: 1500
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
2 changes: 2 additions & 0 deletions regression/presets/analyze/generic-pacbio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ align:
saveOriginalSequence: false
saveOriginalReads: false
smartForceEdgeAlignments: true
longReadsParameters:
windowSize: 1500
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
2 changes: 2 additions & 0 deletions regression/presets/analyze/ont-rna-seq-vdj-full-length.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ align:
saveOriginalSequence: false
saveOriginalReads: false
smartForceEdgeAlignments: true
longReadsParameters:
windowSize: 1500
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
2 changes: 2 additions & 0 deletions regression/presets/analyze/ont-rna-seq.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ align:
saveOriginalSequence: false
saveOriginalReads: false
smartForceEdgeAlignments: true
longReadsParameters:
windowSize: 1500
refineTagsAndSort:
whitelists: {}
runCorrection: true
Expand Down
5 changes: 5 additions & 0 deletions regression/schemas/analyzeBundle/parameters/align.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,11 @@ properties:
enum:
- Unknown
- R1V
longReadsParameters:
type: object
properties:
windowSize:
type: integer
mergerParameters:
type: object
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ properties:
enum:
- Unknown
- R1V
longReadsParameters:
type: object
properties:
windowSize:
type: integer
mergerParameters:
type: object
properties:
Expand Down
4 changes: 3 additions & 1 deletion src/main/resources/presets/blocks/01-align.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,8 @@ align-long-read:
# - type: MustNotContainTagType
# tagType: Sample
parameters:
longReadsParameters:
windowSize: 1500
vParameters:
geneFeatureToAlign: VTranscriptWithP
minSumScore: 150
Expand Down Expand Up @@ -566,4 +568,4 @@ align-single-cell:
minChimeraDetectionScore: 120
vjOverlapWindow: 3
saveOriginalReads: false
smartForceEdgeAlignments: true
smartForceEdgeAlignments: true
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public void test1() throws Exception {
VJAlignmentOrder.JThenV, VDJCLibraryStructure.Unknown,
false, false,
120.0f, 0, 0.7f, false, false, false, PairedEndReadsLayout.Opposite, new MergerParameters(
QualityMergingAlgorithm.SumSubtraction, null, 12, 12, null, 0.12, Unweighted), false, 5, 120, 10, true, true, true);
QualityMergingAlgorithm.SumSubtraction, null, 12, 12, null, 0.12, Unweighted), false, 5, 120, 10, true, true, true, null);

String str = GlobalObjectMappers.getPretty().writeValueAsString(paramentrs);
VDJCAlignerParameters deser = GlobalObjectMappers.getPretty().readValue(str, VDJCAlignerParameters.class);
Expand Down

0 comments on commit e929f89

Please sign in to comment.