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
2d5e4560
Commit
2d5e4560
authored
5 years ago
by
Gervaise Henry
Browse files
Options
Downloads
Patches
Plain Diff
Make seetings match mkfastq
parent
8391da95
Branches
Branches containing commit
Tags
Tags containing commit
4 merge requests
!53
Develop
,
!47
Resolve "Add MultiQC"
,
!46
Resolve "Add MultiQC"
,
!44
Add MultiQC to output. Add version and reference material. fix README
Pipeline
#4194
failed with stages
in 17 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
workflow/conf/biohpc.config
+8
-0
8 additions, 0 deletions
workflow/conf/biohpc.config
workflow/main.nf
+17
-12
17 additions, 12 deletions
workflow/main.nf
with
25 additions
and
12 deletions
workflow/conf/biohpc.config
+
8
−
0
View file @
2d5e4560
...
...
@@ -18,6 +18,14 @@ process {
module
= [
'cellranger/3.0.2'
]
queue
=
'128GB,256GB,256GBv1,384GB'
}
withLabel
:
versions
{
module
= [
'python/3.6.1-2-anaconda'
,
'pandoc/2.7'
,
'multiqc/1.7'
]
executor
=
'local'
}
withLabel
:
multiqc
{
module
= [
'multiqc/1.7'
]
executor
=
'local'
}
}
params
{
...
...
This diff is collapsed.
Click to expand it.
workflow/main.nf
+
17
−
12
View file @
2d5e4560
...
...
@@ -14,7 +14,7 @@ params.kitVersion = 'three'
params.version = '3.0.2'
params.astrocyte = false
params.outDir = "$baseDir/output"
params.multiqc = "$baseDir/conf/multiqc_config.yaml"
params.multiqc
Conf
= "$baseDir/conf/multiqc_config.yaml"
params.references = "$baseDir/../docs/references.md"
// Assign variables if astrocyte
...
...
@@ -56,11 +56,11 @@ forceCells = params.forceCells
chemistryParam = params.chemistryParam
version = params.version
outDir = params.outDir
multiqc = params.multiqc
multiqc
Conf
= params.multiqc
references = params.references
process checkDesignFile {
process checkDesignFile {
publishDir "$outDir/misc/${task.process}/$name", mode: 'copy'
module 'python/3.6.1-2-anaconda'
...
...
@@ -82,6 +82,7 @@ process checkDesignFile {
"""
}
// Parse design file
samples = designPaths
.splitCsv (sep: ',', header: true)
...
...
@@ -109,6 +110,7 @@ forceCells302 = forceCells
chemistryParam301 = chemistryParam
chemistryParam302 = chemistryParam
process count211 {
queue '128GB,256GB,256GBv1,384GB'
tag "$sample"
...
...
@@ -125,7 +127,7 @@ process count211 {
output:
file("**/outs/**") into outPaths211
file("*_metrics_summary.tsv") into metricsSummary
211
file("*_metrics_summary.tsv") into metricsSummary
when:
version == '2.1.1'
...
...
@@ -150,6 +152,7 @@ process count211 {
}
}
process count301 {
queue '128GB,256GB,256GBv1,384GB'
tag "$sample"
...
...
@@ -167,7 +170,7 @@ process count301 {
output:
file("**/outs/**") into outPaths301
file("*_metrics_summary.tsv") into metricsSummary
301
file("*_metrics_summary.tsv") into metricsSummary
when:
version == '3.0.1'
...
...
@@ -192,6 +195,7 @@ process count301 {
}
}
process count302 {
queue '128GB,256GB,256GBv1,384GB'
tag "$sample"
...
...
@@ -209,7 +213,7 @@ process count302 {
output:
file("**/outs/**") into outPaths302
file("*_metrics_summary.tsv") into metricsSummary
302
file("*_metrics_summary.tsv") into metricsSummary
when:
version == '3.0.2'
...
...
@@ -237,7 +241,7 @@ process count302 {
process versions {
tag "$name"
publishDir "$outDir/${task.process}", mode: 'copy'
publishDir "$outDir/
misc/
${task.process}
/$name
", mode: 'copy'
module 'python/3.6.1-2-anaconda:pandoc/2.7:multiqc/1.7'
input:
...
...
@@ -259,11 +263,11 @@ process versions {
"""
}
metricsSummary = metricsSummary211.mix(metricsSummary301, metricsSummary302)
// Generate MultiQC Report
process multiqc
Report
{
process multiqc {
publishDir "$outDir/${task.process}", mode: 'copy'
module 'multiqc/1.7'
input:
...
...
@@ -272,14 +276,15 @@ process multiqcReport {
output:
file "
multiqc_report.html" into multiqcReport
file "
*" into mqcPaths
script:
"""
hostname
ulimit -a
awk 'FNR==1 && NR!=1{next;}{print}' *.tsv > metrics_summary_mqc.tsv
sed -i '1s/^.*\tE/Sample\tE/' metrics_summary_mqc.tsv
module load multiqc/1.7
multiqc -c $multiqc .
multiqc -c $multiqcConf
"""
}
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