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
eae028c1
There was a problem fetching the pipeline stages.
Commit
eae028c1
authored
6 years ago
by
Gervaise Henry
Browse files
Options
Downloads
Patches
Plain Diff
Put config params into main.nf for astrocyte
parent
745f08e0
Branches
Branches containing commit
Tags
Tags containing commit
3 merge requests
!29
Develop
,
!18
Develop
,
!17
Resolve "Add params from biohpc.config into main.nf"
Pipeline
#3199
failed with stage
in 25 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
astrocyte_pkg.yml
+6
-0
6 additions, 0 deletions
astrocyte_pkg.yml
workflow/main.nf
+24
-5
24 additions, 5 deletions
workflow/main.nf
with
30 additions
and
5 deletions
astrocyte_pkg.yml
+
6
−
0
View file @
eae028c1
...
...
@@ -150,6 +150,12 @@ workflow_parameters:
description
:
|
10x cellranger version.
-
id
:
astrocyte
type
:
select
default
:
'
true'
regex
:
'
true'
description
:
|
10x cellranger version.
# -----------------------------------------------------------------------------
# SHINY APP CONFIGURATION
...
...
This diff is collapsed.
Click to expand it.
workflow/main.nf
+
24
−
5
View file @
eae028c1
...
...
@@ -7,17 +7,36 @@
params.fastq = "$baseDir/../test_data/*.fastq.gz"
params.designFile = "$baseDir/../test_data/design.csv"
params.genome = 'GRCh38-3.0.0'
params.genomes = []
params.genomeLocation = params.genome ? params.genomes[ params.genome ].loc ?: false : false
params.genomeLocationFull = params.genomeLocation+params.genome
params.expectCells = 10000
params.forceCells = 0
params.kitVersion = 'three'
params.chemistry = []
params.chemistryParam = params.kitVersion ? params.chemistry[ params.kitVersion ].param ?: false : false
params.version = '3.0.2'
params.astrocyte = 'false'
params.outDir = "$baseDir/output"
// Assign variables if astrocyte
if (params.astrocyte == 'false') {
params.genomes = []
params.genomeLocation = params.genome ? params.genomes[ params.genome ].loc ?: false : false
params.chemistry = []
params.chemistryParam = params.kitVersion ? params.chemistry[ params.kitVersion ].param ?: false : false
} else if (params.astrocyte == 'true') {
params.genomeLocation = '/project/apps_database/cellranger/refdata-cellranger-'
if (params.kitVersion == "one") {
params.chemistryParam ='SC3Pv1'
} else if (params.kitVersion == "two") {
params.chemistryParam ='SC3Pv2'
} else if (params.kitVersion == "three") {
params.chemistryParam ='SC3Pv3'
} else {
params.chemistryParam = "auto'
}
}
params.genomeLocationFull = params.genomeLocation+params.genome
// Define regular variables
designLocation = Channel
.fromPath(params.designFile)
...
...
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