From b58a21757a76fc416b12ee786a056039e4bedac0 Mon Sep 17 00:00:00 2001 From: Brandi Cantarel <brandi.cantarel@utsouthwestern.edu> Date: Mon, 17 May 2021 16:04:40 -0500 Subject: [PATCH] testing singularity --- astrocyte_pkg.yml | 1 + nextflow.config | 34 ++++++++++++++++++------------- testing/human_pe_test/run_test.sh | 7 +++++++ testing/mouse_se_test/run_test.sh | 7 +++++++ testing/run_all_tests.sh | 8 ++++++++ 5 files changed, 43 insertions(+), 14 deletions(-) create mode 100644 testing/human_pe_test/run_test.sh create mode 100644 testing/mouse_se_test/run_test.sh create mode 100644 testing/run_all_tests.sh diff --git a/astrocyte_pkg.yml b/astrocyte_pkg.yml index 1b88f58..47962cd 100644 --- a/astrocyte_pkg.yml +++ b/astrocyte_pkg.yml @@ -161,6 +161,7 @@ workflow_parameters: - [ '/project/shared/bicf_workflow_ref/human/GRCh38', 'Human GRCh38'] - [ '/project/shared/bicf_workflow_ref/human/GRCh37', 'Human GRCh37'] - [ '/project/shared/bicf_workflow_ref/mouse/GRCm38', 'Mouse GRCm38'] + - [ '/project/shared/bicf_workflow_ref/mouse/GRCm39', 'Mouse GRCm39'] required: true description: | Reference genome for alignment diff --git a/nextflow.config b/nextflow.config index b187420..394e3c5 100644 --- a/nextflow.config +++ b/nextflow.config @@ -6,32 +6,38 @@ process { clusterOptions = '--hold --no-kill' queue = '128GB,256GB,256GBv1' withLabel: trim { - container = 'trim_galore.sif' + container = 'goalconsortium/trim_galore:1.0.9' } - withLabel: dnaalign { - container = 'dna_alignment.sif' + withLabel: abra2 { + container = 'goalconsortium/abra2:1.0.9' } withLabel: profiling_qc { - container = 'profiling_qc.sif' + container = 'goalconsortium/profiling_qc:1.0.9' + } + withLabel: dnaalign { + container = 'goalconsortium/dna_alignment:1.0.9' + } + withLabel: variantcalling { + container = 'goalconsortium/variantcalling:1.0.9' + } + withLabel: structuralvariant { + container = 'goalconsortium/structuralvariant:1.1.2' } withLabel: starfusion { - container = 'starfusion.sif' + container = 'goalconsortium/starfusion:1.0.9' } withLabel: ralign { - container = 'rna_alignment.sif' + container = 'goalconsortium/rna_alignment:1.0.9' } withLabel: geneabund { - container = 'rna_gene_abundance.sif' - } - withLabel: rnaseqstat { - container = 'rnaseq_dea.sif' + container = 'goalconsortium/rna_gene_abundance:1.1.3' } } singularity { enabled = true runOptions='--no-home --cleanenv' - cacheDir = '/project/shared/bicf_workflow_ref/seqprg/singularity/' + cacheDir="$PWD" } trace { @@ -57,9 +63,9 @@ env { } manifest { - homePage = 'https://git.biohpc.swmed.edu/ngsclialab/school' - description = 'School is a collection of genomics analysis workflows that are used for detecting single nucleotide variants (SNVs), insertions/deletions (indels), copy number variants (CNVs) and translocations from RNA and DNA sequencing. These workflows have been validated in a CLIA laboratory at UTSW' + homePage = 'https://git.biohpc.swmed.edu/BICF/Astrocyte/rnaseq' + description = 'RNA sequencing gene abundance analysi' mainScript = 'rna.nf' version = '1.0.0' - nextflowVersion = '>=0.31.0' + nextflowVersion = '>=20.01.0' } diff --git a/testing/human_pe_test/run_test.sh b/testing/human_pe_test/run_test.sh new file mode 100644 index 0000000..e8624c0 --- /dev/null +++ b/testing/human_pe_test/run_test.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +module load nextflow/20.01.0 singularity/3.5.3 +base='/project/BICF/BICF_Core/s166458/rnaseq_astrocyte' +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 diff --git a/testing/mouse_se_test/run_test.sh b/testing/mouse_se_test/run_test.sh new file mode 100644 index 0000000..2c105e3 --- /dev/null +++ b/testing/mouse_se_test/run_test.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +module load nextflow/20.01.0 singularity/3.5.3 +base='/project/BICF/BICF_Core/s166458/rnaseq_astrocyte' +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 diff --git a/testing/run_all_tests.sh b/testing/run_all_tests.sh new file mode 100644 index 0000000..62911f8 --- /dev/null +++ b/testing/run_all_tests.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +baseDir="`dirname \"$0\"`" + +cd ${baseDir}/mouse_se_test/ +sbatch -p 32GB,super run_test.sh +cd ${baseDir}/human_pe_test/ +sbatch -p 32GB,super run_test.sh -- GitLab