Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion CADD.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,16 @@ TMP_OUTFILE=$TMP_FOLDER/$NAME.tsv.gz

cp $INFILE $TMP_INFILE

mkdir -p $CADD/logs

echo "Running snakemake pipeline:"
echo snakemake $TMP_OUTFILE --use-conda --conda-prefix $CADD/envs/conda --cores $CORES
echo --configfile $CONFIG --snakefile $CADD/Snakefile $VERBOSE
echo --cluster-cancel scancel --cluster-status status.py --cluster \"sbatch --parsable --nodes=1 --ntasks=1 --mem=20G -t '01-00:00' -p gpu --gres=gpu:1 -o $CADD/logs\"

snakemake $TMP_OUTFILE --use-conda --conda-prefix $CADD/envs/conda --cores $CORES \
--configfile $CONFIG --snakefile $CADD/Snakefile $VERBOSE
--configfile $CONFIG --snakefile $CADD/Snakefile $VERBOSE \
--cluster-cancel scancel --cluster-status status.py --cluster "sbatch --parsable --nodes=1 --ntasks=1 --mem=20G -t '01-00:00' -p gpu --gres=gpu:1 -o $CADD/logs"

mv $TMP_OUTFILE $OUTFILE
rm $TMP_INFILE # is in temp folder, should not be necessary
Expand Down
2 changes: 1 addition & 1 deletion Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import os
envvars:
"CADD",


localrules: decompress, prepare, prescore, annotation_vep, annotate_regseq, annotate_mmsplice, annotation, imputation, score, join
# START Rules


Expand Down