Skip to content

Commit 1a579c0

Browse files
author
OLIVIA LANG
committed
add PBS scripts for simulating sid yeast
The set of yeast simulation PBS job submission scripts are added here with some walltime adjustements specific to sequencing "depth."
1 parent 3f19af8 commit 1a579c0

12 files changed

Lines changed: 397 additions & 1 deletion
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
#!/bin/bash
2+
#PBS -l nodes=1:ppn=4
3+
#PBS -l pmem=16gb
4+
#PBS -l walltime=00:05:00
5+
#PBS -A open
6+
#PBS -o logs/depth.CENPK.1M.log.out
7+
#PBS -e logs/depth.CENPK.1M.log.err
8+
#PBS -t 1-1000
9+
10+
# FIRST CHANGE PATH TO EXECUTE
11+
WRK=/path/to/GenoPipe/paper/SyntheticStrain
12+
cd $WRK
13+
14+
module load gcc/8.3.1
15+
module load bedtools/2.27.1
16+
module load bwa/0.7.15
17+
module load samtools/1.5
18+
module load anaconda3
19+
source activate genopipe
20+
21+
INFO=`sed "2q;d" depth_simulations.txt`
22+
STRAIN=`awk '{print $1}' <(echo $INFO)`
23+
DEPTH=`awk '{print $2}' <(echo $INFO)`
24+
BASE=`awk '{print $3}' <(echo $INFO)`
25+
REF=`awk -F"_" '{print $1}' <(echo $STRAIN)`
26+
27+
GENOME=synthetic_genome/$STRAIN.fa
28+
OUTPUT=results/$STRAIN\_$DEPTH
29+
SEED=$(($BASE+$PBS_ARRAYID))
30+
31+
start=`date +%s`
32+
bash ../scripts/simulate.sh -i $PBS_ARRAYID -d $DEPTH -s $SEED -g $GENOME -o $OUTPUT
33+
bash ../scripts/align.sh -i $PBS_ARRAYID -g ../input/$REF.fa -o $OUTPUT -t 4
34+
end=`date +%s`
35+
runtime=$((end-start))
36+
echo "${STRAIN} ${DEPTH} simulate in ${runtime}"
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
#!/bin/bash
2+
#PBS -l nodes=1:ppn=4
3+
#PBS -l pmem=16gb
4+
#PBS -l walltime=00:10:00
5+
#PBS -A open
6+
#PBS -o logs/depth.CENPK.2M.log.out
7+
#PBS -e logs/depth.CENPK.2M.log.err
8+
#PBS -t 1-1000
9+
10+
# FIRST CHANGE PATH TO EXECUTE
11+
WRK=/path/to/GenoPipe/paper/SyntheticStrain
12+
cd $WRK
13+
14+
module load gcc/8.3.1
15+
module load bedtools/2.27.1
16+
module load bwa/0.7.15
17+
module load samtools/1.5
18+
module load anaconda3
19+
source activate genopipe
20+
21+
INFO=`sed "3q;d" depth_simulations.txt`
22+
STRAIN=`awk '{print $1}' <(echo $INFO)`
23+
DEPTH=`awk '{print $2}' <(echo $INFO)`
24+
BASE=`awk '{print $3}' <(echo $INFO)`
25+
REF=`awk -F"_" '{print $1}' <(echo $STRAIN)`
26+
27+
GENOME=synthetic_genome/$STRAIN.fa
28+
OUTPUT=results/$STRAIN\_$DEPTH
29+
SEED=$(($BASE+$PBS_ARRAYID))
30+
31+
start=`date +%s`
32+
bash ../scripts/simulate.sh -i $PBS_ARRAYID -d $DEPTH -s $SEED -g $GENOME -o $OUTPUT
33+
bash ../scripts/align.sh -i $PBS_ARRAYID -g ../input/$REF.fa -o $OUTPUT -t 4
34+
end=`date +%s`
35+
runtime=$((end-start))
36+
echo "${STRAIN} ${DEPTH} simulate in ${runtime}"
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
#!/bin/bash
2+
#PBS -l nodes=1:ppn=4
3+
#PBS -l pmem=16gb
4+
#PBS -l walltime=00:10:00
5+
#PBS -A open
6+
#PBS -o logs/depth.CENPK.3M.log.out
7+
#PBS -e logs/depth.CENPK.3M.log.err
8+
#PBS -t 1-1000
9+
10+
# FIRST CHANGE PATH TO EXECUTE
11+
WRK=/path/to/GenoPipe/paper/SyntheticStrain
12+
cd $WRK
13+
14+
module load gcc/8.3.1
15+
module load bedtools/2.27.1
16+
module load bwa/0.7.15
17+
module load samtools/1.5
18+
module load anaconda3
19+
source activate genopipe
20+
21+
INFO=`sed "4q;d" depth_simulations.txt`
22+
STRAIN=`awk '{print $1}' <(echo $INFO)`
23+
DEPTH=`awk '{print $2}' <(echo $INFO)`
24+
BASE=`awk '{print $3}' <(echo $INFO)`
25+
REF=`awk -F"_" '{print $1}' <(echo $STRAIN)`
26+
27+
GENOME=synthetic_genome/$STRAIN.fa
28+
OUTPUT=results/$STRAIN\_$DEPTH
29+
SEED=$(($BASE+$PBS_ARRAYID))
30+
31+
start=`date +%s`
32+
bash ../scripts/simulate.sh -i $PBS_ARRAYID -d $DEPTH -s $SEED -g $GENOME -o $OUTPUT
33+
bash ../scripts/align.sh -i $PBS_ARRAYID -g ../input/$REF.fa -o $OUTPUT -t 4
34+
end=`date +%s`
35+
runtime=$((end-start))
36+
echo "${STRAIN} ${DEPTH} simulate in ${runtime}"
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
#!/bin/bash
2+
#PBS -l nodes=1:ppn=4
3+
#PBS -l pmem=16gb
4+
#PBS -l walltime=00:15:00
5+
#PBS -A open
6+
#PBS -o logs/depth.CENPK.4M.log.out
7+
#PBS -e logs/depth.CENPK.4M.log.err
8+
#PBS -t 1-1000
9+
10+
# FIRST CHANGE PATH TO EXECUTE
11+
WRK=/path/to/GenoPipe/paper/SyntheticStrain
12+
cd $WRK
13+
14+
module load gcc/8.3.1
15+
module load bedtools/2.27.1
16+
module load bwa/0.7.15
17+
module load samtools/1.5
18+
module load anaconda3
19+
source activate genopipe
20+
21+
INFO=`sed "5q;d" depth_simulations.txt`
22+
STRAIN=`awk '{print $1}' <(echo $INFO)`
23+
DEPTH=`awk '{print $2}' <(echo $INFO)`
24+
BASE=`awk '{print $3}' <(echo $INFO)`
25+
REF=`awk -F"_" '{print $1}' <(echo $STRAIN)`
26+
27+
GENOME=synthetic_genome/$STRAIN.fa
28+
OUTPUT=results/$STRAIN\_$DEPTH
29+
SEED=$(($BASE+$PBS_ARRAYID))
30+
31+
start=`date +%s`
32+
bash ../scripts/simulate.sh -i $PBS_ARRAYID -d $DEPTH -s $SEED -g $GENOME -o $OUTPUT
33+
bash ../scripts/align.sh -i $PBS_ARRAYID -g ../input/$REF.fa -o $OUTPUT -t 4
34+
end=`date +%s`
35+
runtime=$((end-start))
36+
echo "${STRAIN} ${DEPTH} simulate in ${runtime}"

paper/SyntheticStrain/job/run_depth_CEN.PK2-1Ca_500K.pbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
#PBS -l nodes=1:ppn=4
33
#PBS -l pmem=16gb
4-
#PBS -l walltime=00:30:00
4+
#PBS -l walltime=00:05:00
55
#PBS -A open
66
#PBS -o logs/depth.CENPK.500K.log.out
77
#PBS -e logs/depth.CENPK.500K.log.err
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
#!/bin/bash
2+
#PBS -l nodes=1:ppn=4
3+
#PBS -l pmem=16gb
4+
#PBS -l walltime=00:30:00
5+
#PBS -A open
6+
#PBS -o logs/depth.CENPK.5M.log.out
7+
#PBS -e logs/depth.CENPK.5M.log.err
8+
#PBS -t 1-1000
9+
10+
# FIRST CHANGE PATH TO EXECUTE
11+
WRK=/path/to/GenoPipe/paper/SyntheticStrain
12+
cd $WRK
13+
14+
module load gcc/8.3.1
15+
module load bedtools/2.27.1
16+
module load bwa/0.7.15
17+
module load samtools/1.5
18+
module load anaconda3
19+
source activate genopipe
20+
21+
INFO=`sed "6q;d" depth_simulations.txt`
22+
STRAIN=`awk '{print $1}' <(echo $INFO)`
23+
DEPTH=`awk '{print $2}' <(echo $INFO)`
24+
BASE=`awk '{print $3}' <(echo $INFO)`
25+
REF=`awk -F"_" '{print $1}' <(echo $STRAIN)`
26+
27+
GENOME=synthetic_genome/$STRAIN.fa
28+
OUTPUT=results/$STRAIN\_$DEPTH
29+
SEED=$(($BASE+$PBS_ARRAYID))
30+
31+
start=`date +%s`
32+
bash ../scripts/simulate.sh -i $PBS_ARRAYID -d $DEPTH -s $SEED -g $GENOME -o $OUTPUT
33+
bash ../scripts/align.sh -i $PBS_ARRAYID -g ../input/$REF.fa -o $OUTPUT -t 4
34+
end=`date +%s`
35+
runtime=$((end-start))
36+
echo "${STRAIN} ${DEPTH} simulate in ${runtime}"
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
#!/bin/bash
2+
#PBS -l nodes=1:ppn=4
3+
#PBS -l pmem=16gb
4+
#PBS -l walltime=00:05:00
5+
#PBS -A open
6+
#PBS -o logs/depth.RM11-1A.1M.log.out
7+
#PBS -e logs/depth.RM11-1A.1M.log.err
8+
#PBS -t 1-1000
9+
10+
# FIRST CHANGE PATH TO EXECUTE
11+
WRK=/path/to/GenoPipe/paper/SyntheticStrain
12+
cd $WRK
13+
14+
module load gcc/8.3.1
15+
module load bedtools/2.27.1
16+
module load bwa/0.7.15
17+
module load samtools/1.5
18+
module load anaconda3
19+
source activate genopipe
20+
21+
INFO=`sed "8q;d" depth_simulations.txt`
22+
STRAIN=`awk '{print $1}' <(echo $INFO)`
23+
DEPTH=`awk '{print $2}' <(echo $INFO)`
24+
BASE=`awk '{print $3}' <(echo $INFO)`
25+
REF=`awk -F"_" '{print $1}' <(echo $STRAIN)`
26+
27+
GENOME=synthetic_genome/$STRAIN.fa
28+
OUTPUT=results/$STRAIN\_$DEPTH
29+
SEED=$(($BASE+$PBS_ARRAYID))
30+
31+
start=`date +%s`
32+
bash ../scripts/simulate.sh -i $PBS_ARRAYID -d $DEPTH -s $SEED -g $GENOME -o $OUTPUT
33+
bash ../scripts/align.sh -i $PBS_ARRAYID -g ../input/$REF.fa -o $OUTPUT -t 4
34+
end=`date +%s`
35+
runtime=$((end-start))
36+
echo "${STRAIN} ${DEPTH} simulate in ${runtime}"
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
#!/bin/bash
2+
#PBS -l nodes=1:ppn=4
3+
#PBS -l pmem=16gb
4+
#PBS -l walltime=00:10:00
5+
#PBS -A open
6+
#PBS -o logs/depth.RM11-1A.2M.log.out
7+
#PBS -e logs/depth.RM11-1A.2M.log.err
8+
#PBS -t 1-100
9+
10+
# FIRST CHANGE PATH TO EXECUTE
11+
WRK=/path/to/GenoPipe/paper/SyntheticStrain
12+
cd $WRK
13+
14+
module load gcc/8.3.1
15+
module load bedtools/2.27.1
16+
module load bwa/0.7.15
17+
module load samtools/1.5
18+
module load anaconda3
19+
source activate genopipe
20+
21+
INFO=`sed "9q;d" depth_simulations.txt`
22+
STRAIN=`awk '{print $1}' <(echo $INFO)`
23+
DEPTH=`awk '{print $2}' <(echo $INFO)`
24+
BASE=`awk '{print $3}' <(echo $INFO)`
25+
REF=`awk -F"_" '{print $1}' <(echo $STRAIN)`
26+
27+
GENOME=synthetic_genome/$STRAIN.fa
28+
OUTPUT=results/$STRAIN\_$DEPTH
29+
SEED=$(($BASE+$PBS_ARRAYID))
30+
31+
start=`date +%s`
32+
bash ../scripts/simulate.sh -i $PBS_ARRAYID -d $DEPTH -s $SEED -g $GENOME -o $OUTPUT
33+
bash ../scripts/align.sh -i $PBS_ARRAYID -g ../input/$REF.fa -o $OUTPUT -t 4
34+
end=`date +%s`
35+
runtime=$((end-start))
36+
echo "${STRAIN} ${DEPTH} simulate in ${runtime}"
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
#!/bin/bash
2+
#PBS -l nodes=1:ppn=4
3+
#PBS -l pmem=16gb
4+
#PBS -l walltime=00:10:00
5+
#PBS -A open
6+
#PBS -o logs/depth.RM11-1A.3M.log.out
7+
#PBS -e logs/depth.RM11-1A.3M.log.err
8+
#PBS -t 1-1000
9+
10+
# FIRST CHANGE PATH TO EXECUTE
11+
WRK=/path/to/GenoPipe/paper/SyntheticStrain
12+
cd $WRK
13+
14+
module load gcc/8.3.1
15+
module load bedtools/2.27.1
16+
module load bwa/0.7.15
17+
module load samtools/1.5
18+
module load anaconda3
19+
source activate genopipe
20+
21+
INFO=`sed "10q;d" depth_simulations.txt`
22+
STRAIN=`awk '{print $1}' <(echo $INFO)`
23+
DEPTH=`awk '{print $2}' <(echo $INFO)`
24+
BASE=`awk '{print $3}' <(echo $INFO)`
25+
REF=`awk -F"_" '{print $1}' <(echo $STRAIN)`
26+
27+
GENOME=synthetic_genome/$STRAIN.fa
28+
OUTPUT=results/$STRAIN\_$DEPTH
29+
SEED=$(($BASE+$PBS_ARRAYID))
30+
31+
start=`date +%s`
32+
bash ../scripts/simulate.sh -i $PBS_ARRAYID -d $DEPTH -s $SEED -g $GENOME -o $OUTPUT
33+
bash ../scripts/align.sh -i $PBS_ARRAYID -g ../input/$REF.fa -o $OUTPUT -t 4
34+
end=`date +%s`
35+
runtime=$((end-start))
36+
echo "${STRAIN} ${DEPTH} simulate in ${runtime}"
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
#!/bin/bash
2+
#PBS -l nodes=1:ppn=4
3+
#PBS -l pmem=16gb
4+
#PBS -l walltime=00:15:00
5+
#PBS -A open
6+
#PBS -o logs/depth.RM11-1A.4M.log.out
7+
#PBS -e logs/depth.RM11-1A.4M.log.err
8+
#PBS -t 1-1000
9+
10+
# FIRST CHANGE PATH TO EXECUTE
11+
WRK=/path/to/GenoPipe/paper/SyntheticStrain
12+
cd $WRK
13+
14+
module load gcc/8.3.1
15+
module load bedtools/2.27.1
16+
module load bwa/0.7.15
17+
module load samtools/1.5
18+
module load anaconda3
19+
source activate genopipe
20+
21+
INFO=`sed "11q;d" depth_simulations.txt`
22+
STRAIN=`awk '{print $1}' <(echo $INFO)`
23+
DEPTH=`awk '{print $2}' <(echo $INFO)`
24+
BASE=`awk '{print $3}' <(echo $INFO)`
25+
REF=`awk -F"_" '{print $1}' <(echo $STRAIN)`
26+
27+
GENOME=synthetic_genome/$STRAIN.fa
28+
OUTPUT=results/$STRAIN\_$DEPTH
29+
SEED=$(($BASE+$PBS_ARRAYID))
30+
31+
start=`date +%s`
32+
bash ../scripts/simulate.sh -i $PBS_ARRAYID -d $DEPTH -s $SEED -g $GENOME -o $OUTPUT
33+
bash ../scripts/align.sh -i $PBS_ARRAYID -g ../input/$REF.fa -o $OUTPUT -t 4
34+
end=`date +%s`
35+
runtime=$((end-start))
36+
echo "${STRAIN} ${DEPTH} simulate in ${runtime}"

0 commit comments

Comments
 (0)