Skip to content

Commit

Permalink
Merge pull request #1811 from milaboratory/bruker-wip
Browse files Browse the repository at this point in the history
changed bruker preset to species agnostic, added cell id barcode tran…
  • Loading branch information
mizraelson authored Oct 7, 2024
2 parents 8b1ab7f + 71d0153 commit f703f29
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 8 deletions.
40 changes: 38 additions & 2 deletions regression/presets/analyze/bruker-sc-xcr-vdj-beacon.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
flags: []
flags:
- species
pipeline:
- mitool-parse
- mitool-refine-tags
Expand Down Expand Up @@ -118,7 +119,7 @@ mitool:
safeDiscardedReads: true
inferMinRecordsPerConsensus: true
align:
species: hsa
species: ""
libraryName: default
trimmingQualityThreshold: 0
trimmingWindowSize: 6
Expand All @@ -132,6 +133,40 @@ align:
tagMaxBudget: 10.0
headerExtractors: []
readIdAsCellTag: false
tagTransformationSteps:
- type: mapTags
name: CELL to Bruker Barcode
matchTags:
- CELL
newTags:
- CELLBARCODE
allowOneMismatch: true
rules:
- from: ACCTACCGCC
to: C1D1F0T0
- from: ACTACTTCTG
to: C1D0F1T0
- from: AGACTCGATT
to: C0D1F0T1
- from: AGCCCTATCA
to: C0D1F0T0
- from: CCAGGATTAA
to: C0D1F1T1
- from: CTCCTTCAAG
to: C1D0F0T1
- from: GCCTTGTTGT
to: C1D1F1T1
- from: GTATACATTA
to: C1D0F0T0
- from: GTTAGCTGCT
to: C0D1F1T0
- from: TACATAAAGA
to: C0D0F0T1
- from: TCTCCAAGAC
to: C0D0F1T1
- from: TGGTAGGCTG
to: C0D0F1T0
reportingLevel: VerboseReport
sampleTable: null
tagsValidations:
- type: MustContainTagType
Expand Down Expand Up @@ -277,6 +312,7 @@ align:
saveOriginalReads: false
smartForceEdgeAlignments: true
retriesForPartialAlignments: 3
retriesAlignmentOfNotCoveredPart: 2
refineTagsAndSort:
whitelists: {}
runCorrection: false
Expand Down
8 changes: 5 additions & 3 deletions regression/presets/list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,11 @@ takara-mouse-rna-bcr-umi-smarseq (SMART-Seq Mouse BCR (with UMIs))

takara-human-rna-bcr-umi-smartseq (SMART-Seq Human BCR (with UMIs))

-----Bruker-----
bruker-sc-xcr-vdj-beacon (Single cell VDJ)
Required args:
--species <name>

-----MiLaboratories-----
milab-human-rna-tcr-umi-multiplex (Human TCR RNA Multiplex)

Expand Down Expand Up @@ -324,9 +329,6 @@ neb-mouse-rna-xcr-umi-nebnext (NEBNext® Immune Sequencing Kit (Mouse) BCR & TCR
Required args:
--species <name>

-----Bruker-----
bruker-human-sc-xcr-vdj-beacon (Single cell VDJ)

-----AbHelix-----
abhelix-human-rna-xcr (Human immunoglobulin repertoire)

Expand Down
40 changes: 37 additions & 3 deletions src/main/resources/presets/protocols/bruker.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
"bruker-human-sc-xcr-vdj-beacon":
"bruker-sc-xcr-vdj-beacon":
vendor: "Bruker"
label: "Single cell VDJ"
category: non-generic
inheritFrom: generic-lt-single-cell-amplicon
flags:
- species
mixins:
- type: SetTagPattern
tagPattern: ^(CELL:N{10})ggg\^(R2:*)
Expand All @@ -12,8 +14,6 @@
step: mitool-refine-tags
- type: AddPipelineStep
step: mitool-consensus
- type: SetSpecies
species: hsa
- type: SetClonotypeAssemblingFeatures
features: [ "VDJRegion" ]
- type: LeftAlignmentBoundaryNoPoint
Expand Down Expand Up @@ -81,6 +81,40 @@
parameters:
mapperRelativeMinScore: 0.7
relativeMinScore: 0.7
tagTransformationSteps:
- type: mapTags
name: "CELL to Bruker Barcode"
matchTags:
- CELL
newTags:
- CELLBARCODE
allowOneMismatch: true
rules:
- from: TGGTAGGCTG
to: C0D0F1T0
- from: GTTAGCTGCT
to: C0D1F1T0
- from: TACATAAAGA
to: C0D0F0T1
- from: AGCCCTATCA
to: C0D1F0T0
- from: ACCTACCGCC
to: C1D1F0T0
- from: TCTCCAAGAC
to: C0D0F1T1
- from: GTATACATTA
to: C1D0F0T0
- from: AGACTCGATT
to: C0D1F0T1
- from: CCAGGATTAA
to: C0D1F1T1
- from: CTCCTTCAAG
to: C1D0F0T1
- from: ACTACTTCTG
to: C1D0F1T0
- from: GCCTTGTTGT
to: C1D1F1T1
reportingLevel: VerboseReport
refineTagsAndSort:
runCorrection: false
parameters:
Expand Down

0 comments on commit f703f29

Please sign in to comment.