Skip to content
Snippets Groups Projects
Commit 7e050f29 authored by Dominik Burri's avatar Dominik Burri
Browse files

Merge branch 'dev' into input_validation

Incorporate test on slurm cluster.
parents 1e5e058d 8098698b
No related branches found
No related tags found
1 merge request!91Config validation
Pipeline #12877 passed
...@@ -26,7 +26,7 @@ cd $script_dir ...@@ -26,7 +26,7 @@ cd $script_dir
# Run tests # Run tests
snakemake \ snakemake \
--snakefile="../../Snakefile" \ --snakefile="../../workflow/Snakefile" \
--configfile="../input_files/config.yaml" \ --configfile="../input_files/config.yaml" \
--cluster-config="../input_files/cluster.json" \ --cluster-config="../input_files/cluster.json" \
--cluster="sbatch --cpus-per-task={cluster.threads} --mem={cluster.mem} --qos={cluster.queue} --time={cluster.time} --job-name={cluster.name} -o {cluster.out} -p scicore" \ --cluster="sbatch --cpus-per-task={cluster.threads} --mem={cluster.mem} --qos={cluster.queue} --time={cluster.time} --job-name={cluster.name} -o {cluster.out} -p scicore" \
...@@ -41,7 +41,7 @@ snakemake \ ...@@ -41,7 +41,7 @@ snakemake \
# Create a Snakemake report after the workflow execution # Create a Snakemake report after the workflow execution
snakemake \ snakemake \
--snakefile="../../Snakefile" \ --snakefile="../../workflow/Snakefile" \
--configfile="../input_files/config.yaml" \ --configfile="../input_files/config.yaml" \
--report="snakemake_report.html" --report="snakemake_report.html"
......
...@@ -26,7 +26,7 @@ cd $script_dir ...@@ -26,7 +26,7 @@ cd $script_dir
# Run tests # Run tests
snakemake \ snakemake \
--snakefile="../../Snakefile" \ --snakefile="../../workflow/Snakefile" \
--configfile="../input_files/config.mutliple_lanes.yml" \ --configfile="../input_files/config.mutliple_lanes.yml" \
--cluster-config="../input_files/cluster.json" \ --cluster-config="../input_files/cluster.json" \
--cluster="sbatch --cpus-per-task={cluster.threads} --mem={cluster.mem} --qos={cluster.queue} --time={cluster.time} --job-name={cluster.name} -o {cluster.out} -p scicore" \ --cluster="sbatch --cpus-per-task={cluster.threads} --mem={cluster.mem} --qos={cluster.queue} --time={cluster.time} --job-name={cluster.name} -o {cluster.out} -p scicore" \
...@@ -41,7 +41,7 @@ snakemake \ ...@@ -41,7 +41,7 @@ snakemake \
# Create a Snakemake report after the workflow execution # Create a Snakemake report after the workflow execution
snakemake \ snakemake \
--snakefile="../../Snakefile" \ --snakefile="../../workflow/Snakefile" \
--configfile="../input_files/config.mutliple_lanes.yml" \ --configfile="../input_files/config.mutliple_lanes.yml" \
--report="snakemake_report.html" --report="snakemake_report.html"
......
...@@ -3,14 +3,14 @@ ...@@ -3,14 +3,14 @@
# Tear down test environment # Tear down test environment
cleanup () { cleanup () {
rc=$? rc=$?
# rm -rf .cache/ rm -rf .cache/
# rm -rf .config/ rm -rf .config/
# rm -rf .fontconfig/ rm -rf .fontconfig/
# rm -rf .java/ rm -rf .java/
# rm -rf .snakemake/ rm -rf .snakemake/
# rm -rf logs/ rm -rf logs/
# rm -rf results/ rm -rf results/
# rm -rf snakemake_report.html rm -rf snakemake_report.html
cd $user_dir cd $user_dir
echo "Exit status: $rc" echo "Exit status: $rc"
} }
...@@ -26,7 +26,7 @@ cd $script_dir ...@@ -26,7 +26,7 @@ cd $script_dir
# Run tests # Run tests
snakemake \ snakemake \
--snakefile="../../Snakefile" \ --snakefile="../../workflow/Snakefile" \
--configfile="../input_files/config.yaml" \ --configfile="../input_files/config.yaml" \
--cluster-config="../input_files/cluster.json" \ --cluster-config="../input_files/cluster.json" \
--cluster="sbatch --cpus-per-task={cluster.threads} --mem={cluster.mem} --qos={cluster.queue} --time={cluster.time} --job-name={cluster.name} -o {cluster.out} -p scicore" \ --cluster="sbatch --cpus-per-task={cluster.threads} --mem={cluster.mem} --qos={cluster.queue} --time={cluster.time} --job-name={cluster.name} -o {cluster.out} -p scicore" \
...@@ -40,7 +40,7 @@ snakemake \ ...@@ -40,7 +40,7 @@ snakemake \
# Create a Snakemake report after the workflow execution # Create a Snakemake report after the workflow execution
snakemake \ snakemake \
--snakefile="../../Snakefile" \ --snakefile="../../workflow/Snakefile" \
--configfile="../input_files/config.yaml" \ --configfile="../input_files/config.yaml" \
--report="snakemake_report.html" --report="snakemake_report.html"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment