Skip to content
Snippets Groups Projects
Commit 118312e3 authored by Skander Hatira's avatar Skander Hatira
Browse files

adapt external script to posix style in case it's uploaded from windows

parent 33f15b4c
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@ unlock=$1
if [[ $unlock == true ]]; then
snakemake --profile config/profiles/localComparison --unlock &>> biseps.txt
fi
tr -d '\15\32' < exec_scripts/script.sh > exec_scripts/script.sh
source exec_scripts/script.sh
snakemake --profile config/profiles/localComparison &>> biseps.txt
snakemake --profile config/profiles/localComparison --report report.html &>> biseps.txt
......
......@@ -7,6 +7,7 @@ unlock=$1
if [[ $unlock == true ]]; then
snakemake --profile config/profiles/local --unlock &>> biseps.txt
fi
tr -d '\15\32' < exec_scripts/script.sh > exec_scripts/script.sh
source exec_scripts/script.sh
snakemake --profile config/profiles/local &>> biseps.txt
snakemake --profile config/profiles/local --report report.html &>> biseps.txt
......
......@@ -5,6 +5,7 @@
#SBATCH --output=biseps.txt
unlock=$1
[ -e failed.comparison ] && rm -- failed.comparison
tr -d '\15\32' < exec_scripts/script.sh > exec_scripts/script.sh
source exec_scripts/script.sh
if [[ $unlock == true ]]; then
snakemake --profile config/profiles/slurmComparison --unlock
......
......@@ -5,6 +5,7 @@
#SBATCH --output=biseps.txt
unlock=$1
[ -e failed.alignment ] && rm -- failed.alignment
tr -d '\15\32' < exec_scripts/script.sh > exec_scripts/script.sh
source exec_scripts/script.sh
if [[ $unlock == true]]; then
snakemake --profile config/profiles/slurm --unlock
......
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