Skip to content
Snippets Groups Projects
Commit 48f97ee1 authored by Venkat Malladi's avatar Venkat Malladi
Browse files

Fix track pipeline.

parent ce0b51ce
1 merge request!27Resolve "Tests for astrocyte"
Pipeline #7193 canceled with stages
in 1 hour, 40 minutes, and 3 seconds
...@@ -30,7 +30,7 @@ single_end_human: ...@@ -30,7 +30,7 @@ single_end_human:
- branches - branches
- master - master
script: script:
- NXF_OPTS="-Dleveldb.mmap=false" nextflow run workflow/main.nf - NXF_OPTS="-Dleveldb.mmap=false" nextflow run workflow/main.nf --ci true
- pytest -m singleend_human - pytest -m singleend_human
...@@ -40,5 +40,5 @@ paired_end_mouse: ...@@ -40,5 +40,5 @@ paired_end_mouse:
- branches - branches
- master - master
script: script:
- NXF_OPTS="-Dleveldb.mmap=false" nextflow run workflow/main.nf --designFile "$CI_PROJECT_DIR/test_data/design_ENCSR451NAE_PE.txt" --genome 'GRCm38' --pairedEnd true --blacklist true --astrocyte true - NXF_OPTS="-Dleveldb.mmap=false" nextflow run workflow/main.nf --designFile "$CI_PROJECT_DIR/test_data/design_ENCSR451NAE_PE.txt" --genome 'GRCm38' --pairedEnd true --blacklist true --astrocyte true --ci true
- pytest -m pairedend_mouse - pytest -m pairedend_mouse
...@@ -20,6 +20,7 @@ params.astrocyte = false ...@@ -20,6 +20,7 @@ params.astrocyte = false
params.outDir= "${baseDir}/output" params.outDir= "${baseDir}/output"
params.references = "${baseDir}/../docs/references.md" params.references = "${baseDir}/../docs/references.md"
params.multiqc = "${baseDir}/conf/multiqc_config.yaml" params.multiqc = "${baseDir}/conf/multiqc_config.yaml"
params.ci = false
// Check inputs // Check inputs
if(params.bwaIndex) { if(params.bwaIndex) {
...@@ -54,7 +55,7 @@ geneNames = params.geneNames ...@@ -54,7 +55,7 @@ geneNames = params.geneNames
/* /*
* trackStart: track start of pipeline * trackStart: track start of pipeline
*/ */
params.ci = false
process trackStart { process trackStart {
script: script:
""" """
...@@ -64,12 +65,12 @@ process trackStart { ...@@ -64,12 +65,12 @@ process trackStart {
curl -H 'Content-Type: application/json' -X PUT -d '{ \ curl -H 'Content-Type: application/json' -X PUT -d '{ \
"sessionId": "${workflow.sessionId}", \ "sessionId": "${workflow.sessionId}", \
"pipeline": "${workflow.manifest.name}", \ "pipeline": "atacseq_analysis", \
"start": "${workflow.start}", \ "start": "${workflow.start}", \
"astrocyte": ${params.astrocyte}, \ "astrocyte": ${params.astrocyte}, \
"status": "started", \ "status": "started", \
"nextflowVersion": "${workflow.nextflow.version}", "nextflowVersion": "${workflow.nextflow.version}", \
"pipelineVersion": "${workflow.manifest.version}", "pipelineVersion": "2.0.0", \
"ci": ${params.ci}}' \ "ci": ${params.ci}}' \
"https://xku43pcwnf.execute-api.us-east-1.amazonaws.com/ProdDeploy/pipeline-tracking" "https://xku43pcwnf.execute-api.us-east-1.amazonaws.com/ProdDeploy/pipeline-tracking"
""" """
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment