Repository navigation
Expand file tree
/
Copy path10x-vdj-bcr-full-length.yaml
More file actions
756 lines (756 loc) · 20.7 KB
/
Copy path10x-vdj-bcr-full-length.yaml
File metadata and controls
756 lines (756 loc) · 20.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
flags:
- species
pipeline:
- mitool-parse
- mitool-refine-tags
- mitool-consensus
- align
- refineTagsAndSort
- extend
- assemble
- assembleContigs
- assembleCells
- exportClones
- exportCloneGroups
mitool:
parse:
pattern: "^(CELL:N{16})(UMI:N{10})\\^(R2:*)"
unstranded: false
maxErrorBudget: 10.0
trimmingQualityThreshold: null
trimmingWindowSize: null
replaceWildcards: true
splitBySample: true
refineTags:
tagTypes:
- Cell
- Molecule
whitelists:
CELL: builtin:737K-august-2016
parameters:
correctionPower: 0.001
backgroundSubstitutionRate: 0.001
backgroundIndelRate: 1.0E-5
minQuality: 12
maxSubstitutions: 2
maxIndels: 2
maxTotalErrors: 3
postFilter: null
consensus:
- parameters:
aAssemblerParameters:
bandWidth: 4
scoring:
type: linear
alphabet: nucleotide
subsMatrix: "simple(match = 5, mismatch = -4)"
gapPenalty: -19
minAlignmentScore: 499
maxNormalizedAlignmentPenalty: 0.46
trimMinimalSumQuality: 0
trimReferenceRegion: true
maxQuality: 45
kMapParameters:
k: 9
useQ1Score: true
coreSequenceKMers: 20
coreSequenceRecordScore: 20
neighbourhoodSize: 2
positiveMinQualityShare: 0.29
positiveMinIntersectionQuality: 379
minAlignmentScoreForDiscardRecord: 0
maxNormalizedAlignmentPenaltyForDiscardRecord: 0.0
minRecordSharePerConsensus: 0.001
minRecordsPerConsensus: 3
useWeightsForRecordsPerConsensus: true
minRecordWeightForUse: 0
maxIterationsPerConsensus: 8
maxConsensuses: 0
groupingTagTypes:
- Cell
- Molecule
payloadTagTypes:
- Targets
saveUnusedReads: true
saveDiscardedReads: true
inferMinRecordsPerConsensus: true
- parameters:
aAssemblerParameters:
bandWidth: 4
scoring:
type: linear
alphabet: nucleotide
subsMatrix: "simple(match = 5, mismatch = -4)"
gapPenalty: -19
minAlignmentScore: 51
maxNormalizedAlignmentPenalty: 0.42
trimMinimalSumQuality: 0
trimReferenceRegion: true
maxQuality: 45
kMapParameters:
k: 9
useQ1Score: true
coreSequenceKMers: 20
coreSequenceRecordScore: 20
neighbourhoodSize: 2
positiveMinQualityShare: 0.11
positiveMinIntersectionQuality: 101
minAlignmentScoreForDiscardRecord: 0
maxNormalizedAlignmentPenaltyForDiscardRecord: 0.0
minRecordSharePerConsensus: 0.3
minRecordsPerConsensus: 3
useWeightsForRecordsPerConsensus: true
minRecordWeightForUse: 0
maxIterationsPerConsensus: 8
maxConsensuses: 0
groupingTagTypes:
- Cell
- Molecule
payloadTagTypes:
- Targets
saveUnusedReads: true
saveDiscardedReads: true
inferMinRecordsPerConsensus: true
- parameters:
aAssemblerParameters:
bandWidth: 4
scoring:
type: linear
alphabet: nucleotide
subsMatrix: "simple(match = 5, mismatch = -4)"
gapPenalty: -19
minAlignmentScore: 41
maxNormalizedAlignmentPenalty: 0.35
trimMinimalSumQuality: 0
trimReferenceRegion: true
maxQuality: 45
kMapParameters:
k: 9
useQ1Score: true
coreSequenceKMers: 20
coreSequenceRecordScore: 20
neighbourhoodSize: 2
positiveMinQualityShare: 0.77
positiveMinIntersectionQuality: 130
minAlignmentScoreForDiscardRecord: 0
maxNormalizedAlignmentPenaltyForDiscardRecord: 0.0
minRecordSharePerConsensus: 0.001
minRecordsPerConsensus: 3
useWeightsForRecordsPerConsensus: false
minRecordWeightForUse: 0
maxIterationsPerConsensus: 8
maxConsensuses: 0
groupingTagTypes:
- Cell
payloadTagTypes:
- Targets
saveUnusedReads: true
saveDiscardedReads: true
inferMinRecordsPerConsensus: true
- parameters:
aAssemblerParameters:
bandWidth: 4
scoring:
type: linear
alphabet: nucleotide
subsMatrix: "simple(match = 5, mismatch = -4)"
gapPenalty: -19
minAlignmentScore: 181
maxNormalizedAlignmentPenalty: 0.59
trimMinimalSumQuality: 0
trimReferenceRegion: true
maxQuality: 45
kMapParameters:
k: 9
useQ1Score: true
coreSequenceKMers: 20
coreSequenceRecordScore: 20
neighbourhoodSize: 2
positiveMinQualityShare: 0.51
positiveMinIntersectionQuality: 51
minAlignmentScoreForDiscardRecord: 0
maxNormalizedAlignmentPenaltyForDiscardRecord: 0.0
minRecordSharePerConsensus: 0.001
minRecordsPerConsensus: 3
useWeightsForRecordsPerConsensus: false
minRecordWeightForUse: 2
maxIterationsPerConsensus: 8
maxConsensuses: 0
groupingTagTypes:
- Cell
payloadTagTypes:
- Targets
saveUnusedReads: true
saveDiscardedReads: true
inferMinRecordsPerConsensus: true
align:
species: ""
libraryName: default
trimmingQualityThreshold: 0
trimmingWindowSize: 6
chains: ALL
replaceWildcards: true
overlapPairedReads: true
bamDropNonVDJ: false
writeFailedAlignments: false
tagPattern: "^(CELL:N{16})(UMI:N{10})\\^(R2:*)"
tagUnstranded: false
tagMaxBudget: 10.0
headerExtractors: []
readIdAsCellTag: false
sampleTable: null
tagsValidations:
- type: MustContainTagType
tagType: Cell
- type: MustContainTagType
tagType: Molecule
splitBySample: true
limit: null
parameters:
vParameters:
geneFeatureToAlign: VTranscriptWithP
minSumScore: 60
relativeMinScore: 0.7
maxHits: 5
edgeRealignmentMinScoreOverride: 35
parameters:
type: kaligner2
mapperNValue: 9
mapperKValue: 1
floatingLeftBound: false
floatingRightBound: true
mapperAbsoluteMinClusterScore: 250
mapperExtraClusterScore: -38
mapperMatchScore: 127
mapperMismatchScore: -14
mapperOffsetShiftScore: -82
mapperSlotCount: 6
mapperMaxClusters: 15
mapperMaxClusterIndels: 4
mapperKMersPerPosition: 4
mapperAbsoluteMinScore: 250
mapperRelativeMinScore: 0.7
mapperMinSeedsDistance: 6
mapperMaxSeedsDistance: 6
alignmentStopPenalty: 0
absoluteMinScore: 150
relativeMinScore: 0.7
maxHits: 3
scoring:
type: affine
alphabet: nucleotide
subsMatrix: "simple(match = 10, mismatch = -19)"
gapOpenPenalty: -62
gapExtensionPenalty: -11
rightForceRealignmentTrigger: CDR3Begin(-6)
dParameters:
geneFeatureToAlign: DRegionWithP
relativeMinScore: 0.85
absoluteMinScore: 25.0
maxHits: 3
scoring:
type: linear
alphabet: nucleotide
subsMatrix: "simple(match = 5, mismatch = -9)"
gapPenalty: -12
jParameters:
geneFeatureToAlign: JRegionWithP
minSumScore: 150
relativeMinScore: 0.97
maxHits: 5
parameters:
type: kaligner2
mapperNValue: 8
mapperKValue: 1
floatingLeftBound: true
floatingRightBound: false
mapperAbsoluteMinClusterScore: 102
mapperExtraClusterScore: -38
mapperMatchScore: 95
mapperMismatchScore: -14
mapperOffsetShiftScore: -82
mapperSlotCount: 6
mapperMaxClusters: 4
mapperMaxClusterIndels: 4
mapperKMersPerPosition: 4
mapperAbsoluteMinScore: 100
mapperRelativeMinScore: 0.8
mapperMinSeedsDistance: 5
mapperMaxSeedsDistance: 5
alignmentStopPenalty: 0
absoluteMinScore: 150
relativeMinScore: 0.8
maxHits: 3
scoring:
type: affine
alphabet: nucleotide
subsMatrix: "simple(match = 10, mismatch = -19)"
gapOpenPenalty: -62
gapExtensionPenalty: -11
cParameters:
geneFeatureToAlign: CExon1
minSumScore: 40
relativeMinScore: 0.97
maxHits: 5
parameters:
type: kaligner
mapperKValue: 5
floatingLeftBound: false
floatingRightBound: false
mapperAbsoluteMinScore: 95.0
mapperRelativeMinScore: 0.63
mapperMatchScore: 128.0
mapperMismatchPenalty: -0.1
mapperOffsetShiftPenalty: -0.3
mapperMinSeedsDistance: 8
mapperMaxSeedsDistance: 18
minAlignmentLength: 15
maxAdjacentIndels: 2
alignmentStopPenalty: -1000
absoluteMinScore: 40.0
relativeMinScore: 0.87
maxHits: 4
scoring:
type: linear
alphabet: nucleotide
subsMatrix: "simple(match = 5, mismatch = -9)"
gapPenalty: -12
vjAlignmentOrder: VThenJ
libraryStructure: Unknown
includeDScore: false
includeCScore: false
minSumScore: 120.0
relativeMinVFR3CDR3Score: 0.7
allowPartialAlignments: true
allowNoCDR3PartAlignments: true
allowChimeras: false
readsLayout: ReverseOnly
mergerParameters:
qualityMergingAlgorithm: MaxSubtraction
partsLayout: null
minimalOverlap: 13
minimalMatchQualitySum: 364
maxQuality: 50
minimalIdentity: 0.7
identityType: MinimalQualityWeighted
fixSeed: true
alignmentBoundaryTolerance: 5
minChimeraDetectionScore: 120
vjOverlapWindow: 3
saveOriginalSequence: false
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: true
dontCorrectTagsTypes:
- Cell
- Molecule
parameters:
correctionPower: 0.001
backgroundSubstitutionRate: 0.001
backgroundIndelRate: 1.0E-5
minQuality: 12
maxSubstitutions: 2
maxIndels: 2
maxTotalErrors: 3
postFilter:
type: filter_and
operands:
- type: filter_groups
groupingKeys:
- allTags:Cell
predicates:
- metrics:
- type: group_metric_nunique
reportHist:
log: true
binNumber: 0
minBinWidth: 0.2
multiplyWeightByKey: false
keys:
- allTags:Molecule
operator:
type: group_operator_advanced_thresholding
algo:
type: otsu
histTransformers:
- type: inflate
fraction: 0.15
value: 1.0
logX: true
minimalSample: 20
fallbackThreshold: 1.0
accept: High
expectedSorting:
- allTags:Molecule
requiredSequences: []
expectedSorting:
- allTags:Cell
- allTags:Molecule
requiredSequences: []
- type: filter_groups
groupingKeys:
- allTags:Cell
- allTags:Molecule
predicates:
- metrics:
- type: group_metric_kmer_diversity
sequences:
- targets
k: 12
minimalQuality: 20
topShare: 0.5
minSequenceCount: 4
reportHist:
log: false
binNumber: 0
minBinWidth: 6.0
multiplyWeightByKey: false
operator:
type: group_operator_range
lower: 150.0
acceptNaN: true
expectedSorting: []
requiredSequences:
- targets
expectedSorting:
- allTags:Cell
- allTags:Molecule
requiredSequences:
- targets
expectedSorting:
- allTags:Cell
- allTags:Molecule
requiredSequences:
- targets
assemblePartial:
overlappedOnly: false
dropPartial: false
cellLevel: false
parameters:
kValue: 12
kOffset: -7
minimalAssembleOverlap: 12
minimalNOverlap: 7
minimalNOverlapShare: 0.65
minimalAlignmentMergeIdentity: 0.85
mergerParameters:
qualityMergingAlgorithm: SumSubtraction
partsLayout: CollinearDirect
minimalOverlap: 20
minimalMatchQualitySum: 0
maxQuality: 45
minimalIdentity: 0.95
identityType: Unweighted
maxLeftParts: 256000
maxLeftMatches: 6144
extend:
vAnchor: CDR3Begin
jAnchor: FR4Begin
minimalVScore: 50
minimalJScore: 50
assemble:
sortBySequence: false
clnaOutput: true
cellLevel: true
consensusAssemblerParameters:
assembler:
aAssemblerParameters:
bandWidth: 4
scoring:
type: linear
alphabet: nucleotide
subsMatrix: "simple(match = 5, mismatch = -4)"
gapPenalty: -14
minAlignmentScore: 40
maxNormalizedAlignmentPenalty: 0.2
trimMinimalSumQuality: 0
trimReferenceRegion: false
maxQuality: 45
maxIterations: 6
minAltSeedQualityScore: 11
minAltSeedNormalizedPenalty: 0.35
altSeedPenaltyTolerance: 0.5
minRecordSharePerConsensus: 0.02
minRecordsPerConsensus: 0
minRecursiveRecordShare: 0.1
minQualityScore: 0
maxConsensuses: 2
minTagSuffixShare: 0.0
isolateChains: true
empiricalAlignmentAssignment:
uniqGeneOccurrenceWithinTag:
- V
- J
uniqGeneOccurrenceWithinCluster:
- V
- J
matchAlignmentsWithoutVJHitsByTags: true
cloneAssemblerParameters:
assemblingFeatures:
- CDR3
minimalClonalSequenceLength: 12
qualityAggregationType: BetaScore
cloneClusteringParameters:
searchDepth: 2
allowedMutationsInNRegions: 1
searchParameters: twoMismatchesOrIndels
clusteringFilter:
type: advanced
correctionPower: 0.001
backgroundSubstitutionRate: 5.0E-4
backgroundIndelRate: 2.0E-4
cloneFactoryParameters:
vParameters:
relativeMinScore: 0.8
maxAlignmentWidthLinear: 5
maxAlignmentWidthAffine: 500
jParameters:
maxAlignmentWidthLinear: 5
maxAlignmentWidthAffine: 500
cParameters:
maxAlignmentWidthLinear: 5
maxAlignmentWidthAffine: 500
dParameters:
relativeMinScore: null
absoluteMinScore: null
maxHits: null
scoring: null
separateByV: false
separateByJ: false
separateByC: false
maximalPreClusteringRatio: 1.0
preClusteringScoreFilteringRatio: 2.0
preClusteringCountFilteringRatio: 2.0
addReadsCountOnClustering: false
badQualityThreshold: 0
maxBadPointsPercent: 0.7
mappingThreshold: 2of5
minimalQuality: 0
postFilters:
- type: filter_in_groups
isolationKeys:
- clone
nestedFilter:
type: filter_groups
groupingKeys:
- allTags:Cell
predicates:
- metrics:
- type: group_metric_sum_weight
reportHist:
log: true
binNumber: 0
minBinWidth: 0.1
multiplyWeightByKey: false
operator:
type: group_operator_cumtop
share: 0.99
accept: High
expectedSorting: []
requiredSequences: []
expectedSorting:
- allTags:Cell
requiredSequences: []
aggregateReport: true
expectedSorting:
- clone
- allTags:Cell
inferMinRecordsPerConsensus: false
assembleContigs:
ignoreTags: false
parameters:
branchingMinimalQualityShare: 0.1
branchingMinimalSumQuality: 60
decisiveBranchingSumQualityThreshold: 120
alignedSequenceEdgeDelta: 3
alignmentEdgeRegionSize: 7
minimalNonEdgePointsFraction: 0.25
minimalMeanNormalizedQuality: 5.0
outputMinimalQualityShare: 0.75
outputMinimalSumQuality: 0
subCloningRegions:
- VDJRegion
assemblingRegions:
- VDJRegion
postFiltering:
type: OnlyUnambiguouslyCovering
geneFeatures:
- VDJRegion
trimmingParameters:
averageQualityThreshold: 10.0
windowSize: 8
minimalContigLength: 20
alignedRegionsOnly: true
discardAmbiguousNucleotideCalls: false
useOnlyFullAlignments:
cumtop: 0.95
fallbackToTopAlignment: true
cloneFactoryParameters:
vParameters:
relativeMinScore: 0.97
maxAlignmentWidthLinear: 5
maxAlignmentWidthAffine: 500
jParameters:
maxAlignmentWidthLinear: 5
maxAlignmentWidthAffine: 500
cParameters:
maxAlignmentWidthLinear: 5
maxAlignmentWidthAffine: 500
dParameters:
relativeMinScore: null
absoluteMinScore: null
maxHits: null
scoring: null
assembleCells:
algorithm:
type: SingleCellGroupingByOverlappingCellIds
minOverlapForSmaller:
percentage: 0.8
roundingMode: UP
minOverlapForBigger:
percentage: 0.2
roundingMode: UP
countCellBarcodesWithOneClone: true
thresholdForAssigningLeftoverCells:
percentage: 0.6
roundingMode: DOWN
nonFunctional:
type: OverlapWithFoundGroups
minOverlapForClone:
percentage: 0.9
roundingMode: UP
minOverlapForGroup:
percentage: 0.5
roundingMode: UP
exportAlignments:
chains: ALL
noHeader: false
fields:
- field: -readIds
- field: -tags
args:
- Cell
- field: -tags
args:
- Molecule
- field: -targetSequences
- field: -targetQualities
- field: -vHitsWithScore
- field: -dHitsWithScore
- field: -jHitsWithScore
- field: -cHitsWithScore
- field: -vAlignments
- field: -dAlignments
- field: -jAlignments
- field: -cAlignments
- field: -allNFeaturesWithMinQuality
- field: -allAAFeatures
- field: -defaultAnchorPoints
- field: -topChains
exportClones:
splitByTagType: null
filterOutOfFrames: false
filterStops: false
chains: ALL
noHeader: false
fields:
- field: -cloneId
- field: -cellGroup
- field: -tags
args:
- Cell
- field: -readCount
- field: -readFraction
- field: -uniqueTagCount
args:
- Molecule
- field: -uniqueTagFraction
args:
- Molecule
- field: -targetSequences
- field: -targetQualities
- field: -vHit
- field: -dHit
- field: -jHit
- field: -cHit
- field: -vHitsWithScore
- field: -dHitsWithScore
- field: -jHitsWithScore
- field: -cHitsWithScore
- field: -vAlignments
- field: -dAlignments
- field: -jAlignments
- field: -cAlignments
- field: -allNFeaturesWithMinQuality
- field: -allAAFeatures
- field: -defaultAnchorPoints
- field: -topChains
splitFilesBy: []
groupClonesBy: []
exportCloneGroups:
filterOutOfFrames: false
filterStops: false
filterOutGroupsWithOneClone: false
showSecondaryChains: true
types: []
noHeader: false
fields:
- field: -cellGroup
- field: -groupReadCount
- field: -groupUniqueTagCount
args:
- Cell
- field: -groupUniqueTagCount
args:
- Molecule
- field: -uniqClonesPerChainCount
- field: -readCount
- field: -uniqueTagCount
args:
- Molecule
- field: -vHit
- field: -dHit
- field: -jHit
- field: -cHit
- field: -nFeature
args:
- CDR3
- field: -aaFeature
args:
- CDR3
sortChainsBy: Auto
qc:
checks:
- type: SuccessfullyAlignedReads
upper: 0.6
middle: 0.4
label: Successfully aligned reads
- type: UnassignedAlignments
upper: 0.4
middle: 0.2
label: Unassigned alignments in clonotype assembly
- type: AlignmentsDroppedLowQuality
upper: 0.4
middle: 0.2
label: Alignments dropped due to low sequence quality
- type: ReadsDroppedInTagRefinement
upper: 0.5
middle: 0.3
label: Reads dropped in tags error correction and filtering
- type: TagArtificialDiversityEliminated
tag: CELL
upper: 0.9
middle: 0.8
label: CELLs artificial diversity eliminated
- type: ReadsDroppedInTagFiltering
upper: 0.4
middle: 0.2
label: Reads dropped in tags filtering
- type: CellBarcodesWithFoundGroups
upper: 0.75
middle: 0.6
label: Cell barcodes used in result groups