Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cellranger_mkfastq
Manage
Activity
Members
Labels
Plan
Issues
7
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
1
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_mkfastq
Commits
2fe99258
Commit
2fe99258
authored
4 years ago
by
Gervaise Henry
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into 'develop'
Master See merge request
!60
parents
4dd84b9c
b652f9a5
2 merge requests
!63
Develop
,
!60
Master
Pipeline
#7315
failed with stages
in 4 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
astrocyte_pkg.yml
+1
-6
1 addition, 6 deletions
astrocyte_pkg.yml
nextflow.config
+43
-0
43 additions, 0 deletions
nextflow.config
workflow/main.nf
+12
-11
12 additions, 11 deletions
workflow/main.nf
workflow/scripts/generate_versions.py
+4
-4
4 additions, 4 deletions
workflow/scripts/generate_versions.py
with
60 additions
and
21 deletions
astrocyte_pkg.yml
+
1
−
6
View file @
2fe99258
...
@@ -39,12 +39,7 @@ documentation_files:
...
@@ -39,12 +39,7 @@ documentation_files:
# A list of cluster environment modules that this workflow requires to run.
# A list of cluster environment modules that this workflow requires to run.
# Specify versioned module names to ensure reproducability.
# Specify versioned module names to ensure reproducability.
workflow_modules
:
workflow_modules
:
-
'
python/3.6.1-2-anaconda'
-
'
singularity/3.0.2'
-
'
cellranger/3.1.0'
-
'
bcl2fastq/2.17.1.14'
-
'
fastqc/0.11.5'
-
'
parallel'
-
'
multiqc/1.7'
# A list of parameters used by the workflow, defining how to present them,
# A list of parameters used by the workflow, defining how to present them,
# options etc in the web interface. For each parameter:
# options etc in the web interface. For each parameter:
...
...
This diff is collapsed.
Click to expand it.
nextflow.config
0 → 100644
+
43
−
0
View file @
2fe99258
profiles
{
standard
{
includeConfig
'workflow/config/biohpc.config'
}
biohpc_local
{
includeConfig
'workflow/config/biohpc_local.config'
}
aws_ondemand
{
includeConfig
'workflow/config/aws_ondemand.config'
}
aws_spot
{
includeConfig
'workflow/config/aws_spot.config'
}
}
trace
{
enabled
=
true
file
=
'pipeline_trace.txt'
fields
=
'task_id,native_id,process,name,status,exit,submit,start,complete,duration,realtime,%cpu,%mem,rss'
}
timeline
{
enabled
=
true
file
=
'timeline.html'
}
report
{
enabled
=
true
file
=
'report.html'
}
tower
{
enabled
=
true
accessToken
=
'3ade8f325d4855434b49aa387421a44c63e3360f'
}
manifest
{
homePage
=
'https://git.biohpc.swmed.edu/BICF/Astrocyte/cellranger_mkfastq'
description
=
'This pipeline is a wrapper for the cellranger mkfastq tool from 10x Genomics (which uses Illuminas bcl2fastq). It takes demultiplexes samples from 10x Genomics Single Cell Gene Expression libraries into fastqs.'
mainScript
=
'main.nf'
version
=
'2.0.0'
nextflowVersion
=
'>=0.31.0'
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
workflow/main.nf
+
12
−
11
View file @
2fe99258
...
@@ -10,8 +10,8 @@ main.nf
...
@@ -10,8 +10,8 @@ main.nf
// Define input variables
// Define input variables
params.name = "run"
params.name = "run"
params.bcl = "${baseDir}/../test_data/*.tar.gz"
params.bcl = "${baseDir}/../test_data/
simple1/
*.tar.gz"
params.designFile = "${baseDir}/../test_data/
design
.csv"
params.designFile = "${baseDir}/../test_data/
single1/cellranger-tiny-bcl-simple-1_2_0
.csv"
params.outDir = "${baseDir}/output"
params.outDir = "${baseDir}/output"
// Define list of files
// Define list of files
...
@@ -58,8 +58,8 @@ process checkDesignFile {
...
@@ -58,8 +58,8 @@ process checkDesignFile {
output:
output:
file("design.checked.csv") into designPaths
file("design.checked.csv") into designPaths
file("design.checked.csv") into designCount
file("design.checked.csv") into designCount
file("version_pipeline.txt") into version_pipeline
//
file("version_pipeline.txt") into version_pipeline
file("version_nextflow.txt") into version_nextflow
//
file("version_nextflow.txt") into version_nextflow
file("version_python.txt") into version_python
file("version_python.txt") into version_python
script:
script:
...
@@ -71,13 +71,14 @@ process checkDesignFile {
...
@@ -71,13 +71,14 @@ process checkDesignFile {
mv "${designLocation}" "\${noSpaceDesign}"
mv "${designLocation}" "\${noSpaceDesign}"
fi
fi
python3 check_design.py -d \${noSpaceDesign}
python3 check_design.py -d \${noSpaceDesign}
echo "${workflow.manifest.version}" > version_pipeline.txt
echo "${workflow.nextflow.version}"> version_nextflow.txt
bash versions_python.sh > version_python.txt
bash versions_python.sh > version_python.txt
"""
"""
}
}
/* nextflow workflow version calls that aren't compatible with nextflow 0.31.0
echo "${workflow.manifest.version}" > version_pipeline.txt
echo "${workflow.nextflow.version}" > version_nextflow.txt
*/
process untarBCL {
process untarBCL {
...
@@ -86,7 +87,7 @@ process untarBCL {
...
@@ -86,7 +87,7 @@ process untarBCL {
input:
input:
file untarBCLScript
file untarBCLScript
file versions_pigzScript
file versions_pigzScript
each
path
(tar) from tarList
each
file
(tar) from tarList
output:
output:
file("*[!version_pigz.txt]") into bclPaths mode flatten
file("*[!version_pigz.txt]") into bclPaths mode flatten
...
@@ -111,7 +112,7 @@ process mkfastq {
...
@@ -111,7 +112,7 @@ process mkfastq {
input:
input:
file versions_cellrangerScript
file versions_cellrangerScript
file versions_bcl2fastqScript
file versions_bcl2fastqScript
each
path
(bcl) from bclPaths.collect()
each
file
(bcl) from bclPaths.collect()
file design from designPaths
file design from designPaths
output:
output:
...
@@ -195,8 +196,8 @@ process versions {
...
@@ -195,8 +196,8 @@ process versions {
input:
input:
file versionsScript
file versionsScript
file referencesScript
file referencesScript
file version_pipeline
//
file version_pipeline
file version_nextflow
//
file version_nextflow
file version_python
file version_python
file version_pigz
file version_pigz
file version_cellranger
file version_cellranger
...
...
This diff is collapsed.
Click to expand it.
workflow/scripts/generate_versions.py
+
4
−
4
View file @
2fe99258
...
@@ -26,8 +26,8 @@ logger.propagate = False
...
@@ -26,8 +26,8 @@ logger.propagate = False
logger
.
setLevel
(
logging
.
INFO
)
logger
.
setLevel
(
logging
.
INFO
)
SOFTWARE_REGEX
=
{
SOFTWARE_REGEX
=
{
'
Pipeline
'
:
[
'
version_pipeline.txt
'
,
r
"
(\S+)
"
],
#
'Pipeline': ['version_pipeline.txt', r"(\S+)"],
'
Nextflow
'
:
[
'
version_nextflow.txt
'
,
r
"
(\S+)
"
],
#
'Nextflow': ['version_nextflow.txt', r"(\S+)"],
'
python
'
:
[
'
version_python.txt
'
,
r
"
(\S+)
"
],
'
python
'
:
[
'
version_python.txt
'
,
r
"
(\S+)
"
],
'
pigz
'
:
[
'
version_pigz.txt
'
,
r
"
(\S+)
"
],
'
pigz
'
:
[
'
version_pigz.txt
'
,
r
"
(\S+)
"
],
'
cellranger
'
:
[
'
version_cellranger.txt
'
,
r
"
(\S+)
"
],
'
cellranger
'
:
[
'
version_cellranger.txt
'
,
r
"
(\S+)
"
],
...
@@ -78,8 +78,8 @@ def main():
...
@@ -78,8 +78,8 @@ def main():
out_filename
=
output
+
'
_mqc.yaml
'
out_filename
=
output
+
'
_mqc.yaml
'
results
=
OrderedDict
()
results
=
OrderedDict
()
results
[
'
Pipeline
'
]
=
'
<span style=
"
color:#999999;
\"
>N/A</span>
'
#
results['Pipeline'] = '<span style="color:#999999;\">N/A</span>'
results
[
'
Nextflow
'
]
=
'
<span style=
"
color:#999999;
\"
>N/A</span>
'
#
results['Nextflow'] = '<span style="color:#999999;\">N/A</span>'
results
[
'
python
'
]
=
'
<span style=
"
color:#999999;
\"
>N/A</span>
'
results
[
'
python
'
]
=
'
<span style=
"
color:#999999;
\"
>N/A</span>
'
results
[
'
pigz
'
]
=
'
<span style=
"
color:#999999;
\"
>N/A</span>
'
results
[
'
pigz
'
]
=
'
<span style=
"
color:#999999;
\"
>N/A</span>
'
results
[
'
cellranger
'
]
=
'
<span style=
"
color:#999999;
\"
>N/A</span>
'
results
[
'
cellranger
'
]
=
'
<span style=
"
color:#999999;
\"
>N/A</span>
'
...
...
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