Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cellranger_count
Manage
Activity
Members
Labels
Plan
Issues
11
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
BICF
Astrocyte
cellranger_count
Commits
fd8f3ac6
There was a problem fetching the pipeline stages.
Commit
fd8f3ac6
authored
6 years ago
by
Gervaise Henry
Browse files
Options
Downloads
Patches
Plain Diff
Add 3.0.2 as a param option in astrocyte-pkg.yml, main.nf and biohpc.config to address
#8
parent
1a425310
2 merge requests
!16
Develop
,
!4
Resolve "Add cellranger 3.0.2 as option"
Pipeline
#3129
failed with stage
in 12 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
astrocyte_pkg.yml
+5
-3
5 additions, 3 deletions
astrocyte_pkg.yml
workflow/conf/biohpc.config
+5
-2
5 additions, 2 deletions
workflow/conf/biohpc.config
workflow/main.nf
+67
-31
67 additions, 31 deletions
workflow/main.nf
with
77 additions
and
36 deletions
astrocyte_pkg.yml
+
5
−
3
View file @
fd8f3ac6
...
...
@@ -42,6 +42,7 @@ workflow_modules:
-
'
python/3.6.1-2-anaconda'
-
'
cellranger/2.1.1'
-
'
cellranger/3.0.1'
-
'
cellranger/3.0.2'
-
'
bcl2fastq/2.17.1.14'
# A list of parameters used by the workflow, defining how to present them,
...
...
@@ -125,10 +126,11 @@ workflow_parameters:
-
id
:
version
type
:
select
default
:
3.0.
1
default
:
3.0.
2
choices
:
-
[
3
,
'
3.0.1'
]
-
[
2
,
'
2.0.1'
]
-
[
3.0.2
,
'
3.0.2'
]
-
[
3.0.1
,
'
3.0.1'
]
-
[
2.1.1
,
'
2.1.1'
]
required
:
true
description
:
|
10x cellranger version.
...
...
This diff is collapsed.
Click to expand it.
workflow/conf/biohpc.config
+
5
−
2
View file @
fd8f3ac6
...
...
@@ -7,12 +7,15 @@ process {
module
= [
'python/3.6.1-2-anaconda'
]
executor
=
'local'
}
$
count2
{
$
count2
11
{
module
= [
'cellranger/2.1.1'
]
}
$
count3
{
$
count3
01
{
module
= [
'cellranger/3.0.1'
]
}
$
count302
{
module
= [
'cellranger/3.0.2'
]
}
}
trace
{
...
...
This diff is collapsed.
Click to expand it.
workflow/main.nf
+
67
−
31
View file @
fd8f3ac6
...
...
@@ -9,7 +9,7 @@ params.designFile = "$baseDir/../test_data/design.csv"
params.genome = '/project/apps_database/cellranger/refdata-cellranger-GRCh38-1.2.0'
params.expectCells = 10000
params.forceCells = 0
params.version = 3
params.version = 3
.0.2
// Define regular variables
designLocation = Channel
...
...
@@ -56,76 +56,112 @@ samples = designPaths
// Duplicate variables
samples.into {
samples2
samples3
samples211
samples301
samples302
}
refLocation.into {
refLocation2
refLocation3
refLocation211
refLocation301
refLocation302
}
expectCells2 = expectCells
expectCells3 = expectCells
forceCells2 = forceCells
forceCells3 = forceCells
process count2 {
tag "count2-$sample"
expectCells211 = expectCells
expectCells301 = expectCells
expectCells302 = expectCells
forceCells211 = forceCells
forceCells301 = forceCells
forceCells302 = forceCells
process count211 {
tag "count211-$sample"
publishDir "$baseDir/output", mode: 'copy'
input:
set sample, file("${sample}_S1_L00?_R1_001.fastq.gz"), file("${sample}_S1_L00?_R2_001.fastq.gz") from samples211
file ref from refLocation211.first()
expectCells211
forceCells211
output:
file("**/outs/**") into outPaths211
when:
version == 211
script:
if (forceCells211 == 0){
"""
cellranger count --id="$sample" --transcriptome="./$ref" --fastqs=. --sample="$sample" --expect-cells=$expectCells211
"""
} else {
"""
cellranger count --id="$sample" --transcriptome="./$ref" --fastqs=. --sample="$sample" --force-cells=$forceCells211
"""
}
}
process count301 {
tag "count301-$sample"
publishDir "$baseDir/output", mode: 'copy'
input:
set sample, file("${sample}_S1_L00?_R1_001.fastq.gz"), file("${sample}_S1_L00?_R2_001.fastq.gz") from samples
2
file ref from refLocation
2
.first()
expectCells
2
forceCells
2
set sample, file("${sample}_S1_L00?_R1_001.fastq.gz"), file("${sample}_S1_L00?_R2_001.fastq.gz") from samples
301
file ref from refLocation
301
.first()
expectCells
301
forceCells
301
output:
file("**/outs/**") into outPaths
2
file("**/outs/**") into outPaths
301
when:
version ==
2
version ==
301
script:
if (forceCells
2
== 0){
if (forceCells
301
== 0){
"""
cellranger count --id="$sample" --transcriptome="./$ref" --fastqs=. --sample="$sample" --expect-cells=$expectCells
2
cellranger count --id="$sample" --transcriptome="./$ref" --fastqs=. --sample="$sample" --expect-cells=$expectCells
301
"""
} else {
"""
cellranger count --id="$sample" --transcriptome="./$ref" --fastqs=. --sample="$sample" --force-cells=$forceCells
2
cellranger count --id="$sample" --transcriptome="./$ref" --fastqs=. --sample="$sample" --force-cells=$forceCells
301
"""
}
}
process count3 {
tag "count3-$sample"
process count3
02
{
tag "count3
02
-$sample"
publishDir "$baseDir/output", mode: 'copy'
input:
set sample, file("${sample}_S1_L00?_R1_001.fastq.gz"), file("${sample}_S1_L00?_R2_001.fastq.gz") from samples3
file ref from refLocation3.first()
expectCells3
forceCells3
set sample, file("${sample}_S1_L00?_R1_001.fastq.gz"), file("${sample}_S1_L00?_R2_001.fastq.gz") from samples3
02
file ref from refLocation3
02
.first()
expectCells3
02
forceCells3
02
output:
file("**/outs/**") into outPaths3
file("**/outs/**") into outPaths3
02
when:
version == 3
version == 3
02
script:
if (forceCells3 == 0){
if (forceCells3
02
== 0){
"""
cellranger count --id="$sample" --transcriptome="./$ref" --fastqs=. --sample="$sample" --expect-cells=$expectCells3
cellranger count --id="$sample" --transcriptome="./$ref" --fastqs=. --sample="$sample" --expect-cells=$expectCells3
02
"""
} else {
"""
cellranger count --id="$sample" --transcriptome="./$ref" --fastqs=. --sample="$sample" --force-cells=$forceCells3
cellranger count --id="$sample" --transcriptome="./$ref" --fastqs=. --sample="$sample" --force-cells=$forceCells3
02
"""
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment