Skip to content

Commit 3788442

Browse files
committed
Add --include-introns and --expect-cells
1 parent 209f86b commit 3788442

File tree

7 files changed

+23
-3
lines changed

7 files changed

+23
-3
lines changed

CellRangerGex.deps.zip

67 Bytes
Binary file not shown.

CellRangerGex.wdl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ workflow CellRangerGex {
1010
Array[File] inputFastq
1111
String referenceUrl
1212

13+
Boolean includeIntrons
14+
Int? expectCells
15+
1316
Int numCores = 16
1417
Int memory = 128
1518

@@ -23,6 +26,8 @@ workflow CellRangerGex {
2326
fastqName = fastqName,
2427
inputFastq = inputFastq,
2528
referenceUrl = referenceUrl,
29+
includeIntrons = includeIntrons,
30+
expectCells = expectCells,
2631
numCores = numCores,
2732
memory = memory,
2833
dockerRegistry = dockerRegistry

configs/devtest.inputs.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
"s3://dp-lab-test/tiny/cellranger_tiny_fastq/tinygex_S1_L002_R2_001.fastq.gz"
1111
],
1212
"CellRangerGex.referenceUrl": "https://dp-lab-test.s3.amazonaws.com/tiny/cellranger_tiny_ref/refdata-gex.tar.gz",
13+
"CellRangerGex.includeIntrons": true,
14+
"CellRangerGex.expectCells": 1000,
1315
"CellRangerGex.memory": 128,
1416
"CellRangerGex.dockerRegistry": "quay.io/hisplan"
1517
}

configs/template.inputs.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
"s3://.../test_sample1_S1_L001_R2_001.fastq.gz"
88
],
99
"CellRangerGex.referenceUrl": "https://cf.10xgenomics.com/supp/cell-exp/refdata-gex-mm10-2020-A.tar.gz",
10+
"CellRangerGex.includeIntrons": false,
11+
"CellRangerGex.expectCells": 1000,
1012
"CellRangerGex.memory": 128,
1113
"CellRangerGex.dockerRegistry": "quay.io/hisplan"
1214
}

modules/Count.wdl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ task Count {
88
Array[File] inputFastq
99
String referenceUrl
1010

11+
Boolean includeIntrons
12+
Int? expectCells = 3000
13+
1114
Int numCores = 16
1215
Int memory = 128
1316

@@ -47,7 +50,8 @@ task Count {
4750
--fastqs=${path_input} \
4851
--sample=~{fastqName} \
4952
--localcores=~{numCores} \
50-
--localmem=~{localMemory}
53+
--localmem=~{localMemory} \
54+
--expect-cells=~{expectCells} ~{true='--include-introns' false='' includeIntrons}
5155

5256
# targz the analysis folder and pipestance metadata if successful
5357
if [ $? -eq 0 ]

tests/test.Count.inputs.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
"s3://dp-lab-data/collaborators/arudensky/Cd4CellDiffAf/Foxp3_minus/FASTQ/2676_Foxp3_minus_IGO_12104_3_S25_L001_R2_001.fastq.gz"
99
],
1010
"Count.referenceUrl": "https://cf.10xgenomics.com/supp/cell-exp/refdata-gex-mm10-2020-A.tar.gz",
11+
"Count.includeIntrons": false,
12+
"Count.expectCells": 3000,
1113
"Count.numCores": 16,
1214
"Count.memory": 128,
1315
"Count.dockerRegistry": "quay.io/hisplan"

tests/test.Count.wdl

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ workflow Count {
1010
Array[File] inputFastq
1111
String referenceUrl
1212

13+
Boolean includeIntrons
14+
Int? expectCells
15+
1316
Int numCores
1417
Int memory
1518

@@ -21,10 +24,12 @@ workflow Count {
2124
input:
2225
sampleName = sampleName,
2326
fastqName = fastqName,
24-
inputFastq = inputFastq,
27+
inputFastq = inputFastq,
2528
referenceUrl = referenceUrl,
29+
includeIntrons = includeIntrons,
30+
expectCells = expectCells,
2631
numCores = numCores,
27-
memory = memory,
32+
memory = memory,
2833
dockerRegistry = dockerRegistry
2934
}
3035

0 commit comments

Comments
 (0)