Skip to content
Snippets Groups Projects
Commit 4c4442d9 authored by Peng Lian's avatar Peng Lian
Browse files

Add support for Astrocyte

parent 061b09bf
1 merge request!11Fix bugs in published version 2.0.0
...@@ -5,22 +5,31 @@ variables: ...@@ -5,22 +5,31 @@ variables:
GIT_SUBMODULE_STRATEGY: normal GIT_SUBMODULE_STRATEGY: normal
before_script: before_script:
- module load astrocyte/1.0.0
- module load nextflow/20.01.0 - module load nextflow/20.01.0
- module load singularity/3.0.2 - module load singularity/3.0.2
stages: stages:
- integration - check
- test_human
- test_mouse
# This performs validation of the astrocyte_pkg.yml file
astrocyte_check:
stage: check
script:
- astrocyte_cli check "$CI_PROJECT_DIR"
test_human: test_human:
stage: integration stage: test_human
script: script:
- nextflow run -c nextflow.config -with-dag flowchart.png -with-timeline human_timeline.html -with-report human_report.html workflow/main.nf --design /project/shared/bicf_workflow_ref/workflow_testdata/rnaseq/design.rnaseq.txt --input /project/shared/bicf_workflow_ref/workflow_testdata/rnaseq --output human_output - nextflow run -c workflow/configs/nextflow.config -with-dag flowchart.png -with-timeline human_timeline.html -with-report human_report.html workflow/main.nf --design /project/shared/bicf_workflow_ref/workflow_testdata/rnaseq/design.rnaseq.txt --input /project/shared/bicf_workflow_ref/workflow_testdata/rnaseq --output human_output
artifacts: artifacts:
expire_in: 2 days expire_in: 2 days
test_mouse: test_mouse:
stage: integration stage: test_mouse
script: script:
- nextflow run -c nextflow.config -with-dag flowchart.png -with-timeline mouse_timeline.html -with-report mouse_report.html workflow/main.nf --input /project/shared/bicf_workflow_ref/workflow_testdata/rnaseq --design /project/shared/bicf_workflow_ref/workflow_testdata/rnaseq/mouse_se.design.txt --pairs se --fusion skip --genome /project/shared/bicf_workflow_ref/mouse/GRCm38 --markdups null --output mouse_output - nextflow run -c workflow/configs/nextflow.config -with-dag flowchart.png -with-timeline mouse_timeline.html -with-report mouse_report.html workflow/main.nf --input /project/shared/bicf_workflow_ref/workflow_testdata/rnaseq --design /project/shared/bicf_workflow_ref/workflow_testdata/rnaseq/mouse_se.design.txt --pairs se --fusion skip --genome /project/shared/bicf_workflow_ref/mouse/GRCm38 --markdups null --output mouse_output
artifacts: artifacts:
expire_in: 2 days expire_in: 2 days
...@@ -69,7 +69,7 @@ module load nextflow/20.01.0 singularity/3.5.3 ...@@ -69,7 +69,7 @@ module load nextflow/20.01.0 singularity/3.5.3
base=$repoClonedDirectory base=$repoClonedDirectory
datadir='/project/shared/bicf_workflow_ref/workflow_testdata/rnaseq' datadir='/project/shared/bicf_workflow_ref/workflow_testdata/rnaseq'
nextflow -C ${base}/nextflow.config run ${base}/workflow/main.nf --design ${datadir}/design.rnaseq.txt --input ${datadir} --output analysis nextflow -C ${base}/workflow/configs/nextflow.config run ${base}/workflow/main.nf --design ${datadir}/design.rnaseq.txt --input ${datadir} --output analysis
``` ```
...@@ -80,7 +80,7 @@ module load nextflow/20.01.0 singularity/3.5.3 ...@@ -80,7 +80,7 @@ module load nextflow/20.01.0 singularity/3.5.3
base=$repoClonedDirectory base=$repoClonedDirectory
datadir='/project/shared/bicf_workflow_ref/workflow_testdata/rnaseq' datadir='/project/shared/bicf_workflow_ref/workflow_testdata/rnaseq'
nextflow -C ${base}/nextflow.config run -with-dag flowchart.png -with-timeline mouse_timeline.html -with-report mouse_report.html ${base}/workflow/main.nf --design ${datadir}/mouse_se.design.txt --input ${datadir} --pairs se --output analysis nextflow -C ${base}/workflow/configs/nextflow.config run -with-dag flowchart.png -with-timeline mouse_timeline.html -with-report mouse_report.html ${base}/workflow/main.nf --design ${datadir}/mouse_se.design.txt --input ${datadir} --pairs se --output analysis
``` ```
...@@ -20,6 +20,17 @@ description: | ...@@ -20,6 +20,17 @@ description: |
It implements differential expression analysis, gene set enrichment analysis, It implements differential expression analysis, gene set enrichment analysis,
gene fusion analysis and variant identification using RNASeq data. gene fusion analysis and variant identification using RNASeq data.
# The minimum Astrocyte version that requires to run this workflow. For old pipelines, which do not have this label
# a default value of 0.3.1 will be assigned automatically. A request of minimum version less than 0.4.0 will be ignored.
minimum_astrocyte_version: '0.4.1'
# The Nextflow version that requires to run this workflow. For old pipelines, which do not have this label
# a default value of 0.31.0 will be assigned automatically. Please make sure the requested nextflow version is available
# in the module list.
nextflow_version: '20.01.0'
# (Optional) The Nextflow config file to use for this workflow. If provided, the file should exist in workflow/configs
nextflow_config: 'nextflow.config'
# The container to use for this workflow, none/singularity. If omitted, the default value 'none' will be used.
container: 'none'
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# DOCUMENTATION # DOCUMENTATION
......
...@@ -4,4 +4,4 @@ module load nextflow/20.01.0 singularity/3.5.3 ...@@ -4,4 +4,4 @@ module load nextflow/20.01.0 singularity/3.5.3
base='/project/BICF/BICF_Core/s166458/rnaseq_astrocyte' base='/project/BICF/BICF_Core/s166458/rnaseq_astrocyte'
datadir='/project/shared/bicf_workflow_ref/workflow_testdata/rnaseq' datadir='/project/shared/bicf_workflow_ref/workflow_testdata/rnaseq'
nextflow -C ${base}/nextflow.config run ${base}/workflow/main.nf --design ${datadir}/design.rnaseq.txt --input ${datadir} --output analysis nextflow -C ${base}/workflow/configs/nextflow.config run ${base}/workflow/main.nf --design ${datadir}/design.rnaseq.txt --input ${datadir} --output analysis
...@@ -4,4 +4,4 @@ module load nextflow/20.01.0 singularity/3.5.3 ...@@ -4,4 +4,4 @@ module load nextflow/20.01.0 singularity/3.5.3
base='/project/BICF/BICF_Core/s166458/rnaseq_astrocyte' base='/project/BICF/BICF_Core/s166458/rnaseq_astrocyte'
datadir='/project/shared/bicf_workflow_ref/workflow_testdata/rnaseq' datadir='/project/shared/bicf_workflow_ref/workflow_testdata/rnaseq'
nextflow -C ${base}/nextflow.config run -with-dag flowchart.png -with-timeline mouse_timeline.html -with-report mouse_report.html ${base}/workflow/main.nf --design ${datadir}/mouse_se.design.txt --input ${datadir} --pairs se --output analysis nextflow -C ${base}/workflow/configs/nextflow.config run -with-dag flowchart.png -with-timeline mouse_timeline.html -with-report mouse_report.html ${base}/workflow/main.nf --design ${datadir}/mouse_se.design.txt --input ${datadir} --pairs se --output analysis
...@@ -39,7 +39,7 @@ process { ...@@ -39,7 +39,7 @@ process {
singularity { singularity {
enabled = true enabled = true
runOptions='--no-home --cleanenv' runOptions='--no-home --cleanenv --disable-cache'
singularity.cacheDir="$PWD" singularity.cacheDir="$PWD"
} }
......
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