Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
BICF
Astrocyte
cellranger_mkfastq
Commits
d84a6300
Commit
d84a6300
authored
Jun 20, 2020
by
Gervaise Henry
🤠
Browse files
Add pipeline tracking
parent
6991a125
Pipeline
#7325
failed with stages
in 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
workflow/main.nf
View file @
d84a6300
...
...
@@ -23,6 +23,7 @@ bclCount = Channel
.count()
// Define regular variables
pipelineVersion = "2.x.x-indev"
name = params.name
designLocation = Channel
.fromPath(params.designFile)
...
...
@@ -48,6 +49,31 @@ multiqcConf = Channel.fromPath("${baseDir}/configs/multiqc_config.yaml")
references = Channel.fromPath("${baseDir}/../docs/references.md")
/*
* trackStart: track start of pipeline
*/
params.ci = false
process trackStart {
script:
"""
hostname
ulimit -a
export https_proxy=\${http_proxy}
curl -H 'Content-Type: application/json' -X PUT -d '{ \
"sessionId": "${workflow.sessionId}", \
"pipeline": "cellranger_mkfastq", \
"pipelineVersion": "${pipelineVersion}", \
"start": "${workflow.start}", \
"astrocyte": ${params.astrocyte}, \
"status": "started", \
"nextflowVersion": "${workflow.nextflow.version}",
"ci": ${params.ci}}' \
"https://xku43pcwnf.execute-api.us-east-1.amazonaws.com/ProdDeploy/pipeline-tracking"
"""
}
process checkDesignFile {
tag "${name}"
...
...
@@ -76,7 +102,7 @@ process checkDesignFile {
python3 check_design.py -d \${noSpaceDesign}
bash versions_python.sh > version_python.txt
echo "${workflow.nextflow.version}" > version_nextflow.txt
echo "
2.x.x-indev
" > version_pipeline.txt
echo "
${pipelineVersion
" > version_pipeline.txt
"""
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment