Skip to content
Snippets Groups Projects
.gitlab-ci.yml 1.32 KiB
Newer Older
Brandi Cantarel's avatar
Brandi Cantarel committed
# Gitlab CI Script for astrocyte/rnaseq
# Brandi L. Cantarel - 2017

variables:
  GIT_SUBMODULE_STRATEGY: normal
Brandi Cantarel's avatar
Brandi Cantarel committed
before_script:
Peng Lian's avatar
Peng Lian committed
  - module load astrocyte/1.0.0
  - module load nextflow/20.01.0
Peng Lian's avatar
Peng Lian committed
  - module load singularity/3.5.3
Brandi Cantarel's avatar
Brandi Cantarel committed

stages:
Peng Lian's avatar
Peng Lian committed
  - 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" 
Brandi Cantarel's avatar
Brandi Cantarel committed

Brandi Cantarel's avatar
Brandi Cantarel committed
test_human:
Peng Lian's avatar
Peng Lian committed
  stage: test_human
Brandi Cantarel's avatar
Brandi Cantarel committed
  script:
Peng Lian's avatar
Peng Lian committed
    - 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
Brandi Cantarel's avatar
Brandi Cantarel committed
  artifacts:
    expire_in: 2 days

Brandi Cantarel's avatar
Brandi Cantarel committed
test_mouse:
Peng Lian's avatar
Peng Lian committed
  stage: test_mouse
Brandi Cantarel's avatar
Brandi Cantarel committed
  script:
Peng Lian's avatar
Peng Lian committed
    - 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
Brandi Cantarel's avatar
Brandi Cantarel committed
  artifacts:
    expire_in: 2 days