Skip to content
Snippets Groups Projects
Commit 3240eff6 authored by Gervaise Henry's avatar Gervaise Henry 🤠
Browse files

Add 5prime chemistry option

parent f80afb28
2 merge requests!63Develop,!60Resolve "Add 3':5' param"
Pipeline #6517 canceled with stages
...@@ -135,9 +135,10 @@ workflow_parameters: ...@@ -135,9 +135,10 @@ workflow_parameters:
type: select type: select
default: 'auto' default: 'auto'
choices: choices:
- ['auto', 'Auto Detect'] - ['auto', "Auto Detect"]
- ['three', '3'] - ['3GEXv3', "3'GEX v3 (3' Gene Expression)"]
- ['two', '2'] - ['3GEXv2', "3'GEX v2 (3' Gene Expression)"]
- ['5GEX', "5'GEX Auto (5' Gene Expression)"]
required: true required: true
description: | description: |
10x single cell gene expression chemistry version (only used in cellranger version 3.x). 10x single cell gene expression chemistry version (only used in cellranger version 3.x).
......
rm *.out
rm pipeline_trace*.txt*
rm report*.html*
rm timeline*.html*
rm .nextflow*.log*
rm -r .nextflow/
rm -r work/
...@@ -31,12 +31,14 @@ if (params.kitVersion == "three" && params.version == '2.1.1') { ...@@ -31,12 +31,14 @@ if (params.kitVersion == "three" && params.version == '2.1.1') {
if (params.astrocyte) { if (params.astrocyte) {
print("Running under astrocyte") print("Running under astrocyte")
params.genomeLocation = '/project/apps_database/cellranger/refdata-cellranger-' params.genomeLocation = '/project/apps_database/cellranger/refdata-cellranger-'
if (params.kitVersion == "one") { if (params.kitVersion == "3GEXv1") {
params.chemistryParam ='SC3Pv1' params.chemistryParam ='SC3Pv1'
} else if (params.kitVersion == "two") { } else if (params.kitVersion == "3GEXv2") {
params.chemistryParam ='SC3Pv2' params.chemistryParam ='SC3Pv2'
} else if (params.kitVersion == "three") { } else if (params.kitVersion == "3GEXv3") {
params.chemistryParam ='SC3Pv3' params.chemistryParam ='SC3Pv3'
} else if (params.kitVersion == "5GEX") {
params.chemistryParam ='fiveprime'
} else { } else {
params.chemistryParam = 'auto' params.chemistryParam = 'auto'
} }
...@@ -358,4 +360,4 @@ process multiqc { ...@@ -358,4 +360,4 @@ process multiqc {
multiqc -c ${multiqcConf} . multiqc -c ${multiqcConf} .
""" """
} }
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment