Skip to content
Snippets Groups Projects
Commit d65e96f9 authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

Fix force-cells

parent f52363f6
Branches
Tags
No related merge requests found
Pipeline #2310 failed with stage
......@@ -120,7 +120,7 @@ workflow_parameters:
max: 10000
required: false
description: |
Force pipeline to use this number of cells, bypassing the cell detection algorithm. Use this if the number of cells estimated by Cell Ranger is not consistent with the barcode rank plot. A value of 0 ignores this option.
Force pipeline to use this number of cells, bypassing the cell detection algorithm. Use this if the number of cells estimated by Cell Ranger is not consistent with the barcode rank plot. A value of 0 ignores this option. Any value other than 0 overrides expect-cells.
# -----------------------------------------------------------------------------
# SHINY APP CONFIGURATION
......
......@@ -81,13 +81,13 @@ process count {
"""
module load cellranger/2.1.1
"""
if ( forceCells ==0){
if (forceCells == 0){
"""
cellranger count --id="$sample" --transcriptome="$ref" --fastqs=. --sample="$sample" --expect-cells=$expectCells
"""
} else {
"""
cellranger count --id="$sample" --transcriptome="$ref" --fastqs=. --sample="$sample" --expect-cells=$expectCells --force-cells=$forceCells
cellranger count --id="$sample" --transcriptome="$ref" --fastqs=. --sample="$sample" --force-cells=$forceCells
"""
}
}
\ 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