Skip to content

Commit e3e3ea6

Browse files
committed
Merge branch 'master' of https://github.com/elixir-no-nels/Selma
2 parents 8993ae7 + bdd6974 commit e3e3ea6

File tree

5 files changed

+16
-11
lines changed

5 files changed

+16
-11
lines changed

scripts/RunOnNode.sbatch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
#
33
#SBATCH --job-name=Selma
4-
#SBATCH --account=p172
4+
#SBATCH --account=p11
55
#SBATCH --time=00-25:00:00
66
#SBATCH --mem-per-cpu=3750
77
#SBATCH --cpus-per-task=16

scripts/start-workflow.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ while true; do
270270
fi
271271

272272
# Run squeue, store the current job state code and use it to give information to the user as well as act according to the status
273-
STATUS=$(squeue -h -t all -j $SLURMID -o %t 2>&1)
273+
STATUS=$(squeue -h -t all -j $SLURMID -o %t 2>&1) || true
274274

275275
# Begin checking the $STATUS variable by checking if the job has been canceled
276276
if [[ $STATUS == CA ]]; then

settings/settings.conf

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,25 @@
22

33
#set -vo xtrace
44

5+
source scripts/functions.sh
56
# Set the path to the directory containing the hg38 and b37 directories
6-
REFERENCES=/cluster/projects/p172
7-
8-
if [[ ! -d ${REFERENCES%/}/hg38 || ! -d ${REFERENCES%/}/b37 ]]; then
9-
echo "Neither the hg38 nor the b37 reference file directories can be found, make sure that the path ($REFERENCES) is correct and that at least one of the directories have been transferred there"
10-
echo "You can use the ./utilities/Selma-setup.sh script to transfer one or both of the supported reference file directories"
7+
REFERENCES=/cluster/projects/p11/oskar
8+
9+
if [[ -d ${REFERENCES%/}/hg38 ]]; then
10+
true
11+
elif [[ -d ${REFERENCES%/}/b37 ]]; then
12+
true
13+
else
14+
err "Neither the hg38 nor the b37 reference file directories can be found, make sure that the path ($REFERENCES) is correct and that at least one of the directories have been transferred there"
15+
inf "You can use the ./utilities/Selma-setup.sh script to transfer one or both of the supported reference file directories"
1116
exit 1
1217
fi
1318

1419
# Set the intermediary file storage location
15-
STAGINGDIR=/cluster/projects/p172/oskar/selma-staging
20+
STAGINGDIR=/cluster/projects/p11/oskar/selma-staging
1621

1722
if [[ ! -d $STAGINGDIR ]]; then
18-
echo "$STAGINGDIR does not exist, your need to create it with 'mkdir /and/the/path/to/your/stagingdir'"
23+
err "$STAGINGDIR does not exist, your need to create it with 'mkdir /and/the/path/to/your/stagingdir'"
1924
exit 1
2025
fi
2126

utilities/Selma-setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,6 @@ fi
9595
if [[ $SDEST == false ]]; then
9696
:
9797
elif [[ $SDEST == "${s%/}" ]]; then
98-
rprog /tsd/shared/bioinformatics/workflows/Selma/ $SDEST/Selma
98+
rprog --exclude=.git /tsd/shared/bioinformatics/workflows/Selma/ $SDEST/Selma
9999
rprog /tsd/shared/bioinformatics/containers/singularity/snakemake-germline-tools.simg $SDEST/Selma/singularity
100100
fi

workspace/samples.tsv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
flowcell sample library lane R1 R2
2-
FlowCellX SAMPLE1 libZ L001 Sample1.R1.fastq.gz Sample1.R2.fastq.gz
2+
FlowCellX test1 libZ L001 Sample1.R1.fastq.gz Sample1.R2.fastq.gz

0 commit comments

Comments
 (0)