Skip to content

Commit 13d3657

Browse files
committed
Merge pull request #232 from BD2KGenomics/hotfix/1.1
Hotfix 1.1 (resolves #229)
2 parents 509fb58 + bd0bb7c commit 13d3657

File tree

12 files changed

+58
-93
lines changed

12 files changed

+58
-93
lines changed

src/toil_scripts/batch_alignment/launch_bwa_hg19.sh

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,11 @@
22
# John Vivian
33
#
44
# Please read the associated README.md before attempting to use.
5-
#
6-
# Precautionary step: Create location where jobStore and tmp files will exist
7-
mkdir -p ${HOME}/toil_mnt
8-
# Execution of pipeline
9-
python bwa_alignment.py \
10-
${HOME}/toil_mnt/jobStore \
11-
--retryCount 3 \
12-
--config bwa_config.csv \
5+
export PYTHONPATH=$(python -c 'from os.path import abspath as a, dirname as d;import sys;print d(d(d(a(sys.argv[1]))))' $0)
6+
python -m toil_scripts.batch_alignment.bwa_alignment \
7+
/data/alignment-jobStore \
8+
--retryCount 2 \
9+
--config bwa-config.csv \
1310
--lb KapaHyper \
1411
--ref https://s3-us-west-2.amazonaws.com/cgl-pipeline-inputs/alignment/hg19.fa \
1512
--amb https://s3-us-west-2.amazonaws.com/cgl-pipeline-inputs/alignment/hg19.fa.amb \
@@ -18,9 +15,7 @@ ${HOME}/toil_mnt/jobStore \
1815
--pac https://s3-us-west-2.amazonaws.com/cgl-pipeline-inputs/alignment/hg19.fa.pac \
1916
--sa https://s3-us-west-2.amazonaws.com/cgl-pipeline-inputs/alignment/hg19.fa.sa \
2017
--fai https://s3-us-west-2.amazonaws.com/cgl-pipeline-inputs/alignment/hg19.fa.fai \
21-
--workDir ${HOME}/toil_mnt \
22-
--ssec ${HOME}/master.key \
23-
--output_dir ${HOME} \
24-
--s3_dir cgl-driver-projects/test/alignment \
25-
--sudo \
26-
#--restart
18+
--workDir /data \
19+
--ssec /data/master.key \
20+
--output_dir /data \
21+
--use_bwakit

src/toil_scripts/batch_alignment/launch_bwa_hg19_mesos.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
#
44
# Please read the associated README.md before attempting to use.
55
#
6-
python bwa_alignment.py \
7-
aws:us-west-2:alignment-wcdt-run-1 \
8-
--retryCount 3 \
9-
--config bwa_config.csv \
6+
export PYTHONPATH=$(python -c 'from os.path import abspath as a, dirname as d;import sys;print d(d(d(a(sys.argv[1]))))' $0)
7+
python -m toil_scripts.batch_alignment.bwa_alignment \
8+
aws:us-west-2:alignment-run-1 \
9+
--retryCount 2 \
10+
--config bwa-config.csv \
1011
--lb KapaHyper \
1112
--ref https://s3-us-west-2.amazonaws.com/cgl-pipeline-inputs/alignment/hg19.fa \
1213
--amb https://s3-us-west-2.amazonaws.com/cgl-pipeline-inputs/alignment/hg19.fa.amb \
@@ -16,10 +17,9 @@ aws:us-west-2:alignment-wcdt-run-1 \
1617
--sa https://s3-us-west-2.amazonaws.com/cgl-pipeline-inputs/alignment/hg19.fa.sa \
1718
--fai https://s3-us-west-2.amazonaws.com/cgl-pipeline-inputs/alignment/hg19.fa.fai \
1819
--ssec /home/mesosbox/shared/master.key \
19-
--output_dir /home/mesosbox/shared \
2020
--s3_dir cgl-driver-projects/test/alignment \
2121
--sseKey=/home/mesosbox/shared/master.key \
2222
--batchSystem="mesos" \
2323
--mesosMaster mesos-master:5050 \
2424
--workDir=/var/lib/toil \
25-
#--restart
25+
--use_bwakit

src/toil_scripts/batch_alignment/launch_bwa_hg38.sh

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,11 @@
22
# John Vivian
33
#
44
# Please read the associated README.md before attempting to use.
5-
#
6-
# Precautionary step: Create location where jobStore and tmp files will exist
7-
mkdir -p ${HOME}/toil_mnt
8-
# Execution of pipeline
9-
python bwa_alignment.py \
10-
${HOME}/toil_mnt/jobStore \
11-
--retryCount 3 \
12-
--config bwa_config.csv \
5+
export PYTHONPATH=$(python -c 'from os.path import abspath as a, dirname as d;import sys;print d(d(d(a(sys.argv[1]))))' $0)
6+
python -m toil_scripts.batch_alignment.bwa_alignment \
7+
/data/alignment-jobStore \
8+
--retryCount 2 \
9+
--config bwa-config.csv \
1310
--lb KapaHyper \
1411
--ref https://s3-us-west-2.amazonaws.com/cgl-pipeline-inputs/alignment/hg38.fa \
1512
--amb https://s3-us-west-2.amazonaws.com/cgl-pipeline-inputs/alignment/hg38.fa.amb \
@@ -18,9 +15,7 @@ ${HOME}/toil_mnt/jobStore \
1815
--pac https://s3-us-west-2.amazonaws.com/cgl-pipeline-inputs/alignment/hg38.fa.pac \
1916
--sa https://s3-us-west-2.amazonaws.com/cgl-pipeline-inputs/alignment/hg38.fa.sa \
2017
--fai https://s3-us-west-2.amazonaws.com/cgl-pipeline-inputs/alignment/hg38.fa.fai \
21-
--workDir ${HOME}/toil_mnt \
22-
--ssec ${HOME}/master.key \
23-
--output_dir ${HOME} \
24-
--s3_dir cgl-driver-projects/test/alignment \
25-
--sudo \
26-
#--restart
18+
--workDir /data \
19+
--ssec /data/master.key \
20+
--output_dir /data \
21+
--use_bwakit

src/toil_scripts/batch_alignment/launch_bwa_hg38_no_alt_mesos.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
# Please read the associated README.md before attempting to use.
55
export PYTHONPATH=$(python -c 'from os.path import abspath as a, dirname as d;import sys;print d(d(d(a(sys.argv[1]))))' $0)
66
python -m toil_scripts.batch_alignment.bwa_alignment \
7-
aws:us-west-2:bwa-1 \
8-
--retryCount 3 \
9-
--config /home/mesosbox/shared/config.txt \
7+
aws:us-west-2:alignment-run-1 \
8+
--retryCount 2 \
9+
--config /home/mesosbox/shared/bwa-config.csv \
1010
--lb KapaHyper \
1111
--ref https://s3-us-west-2.amazonaws.com/cgl-pipeline-inputs/alignment/hg38_no_alt.fa \
1212
--amb https://s3-us-west-2.amazonaws.com/cgl-pipeline-inputs/alignment/hg38_no_alt.fa.amb \
@@ -20,4 +20,4 @@ aws:us-west-2:bwa-1 \
2020
--batchSystem="mesos" \
2121
--mesosMaster mesos-master:5050 \
2222
--s3_dir cgl-driver-projects/test/alignment \
23-
#--restart
23+
--use_bwakit

src/toil_scripts/batch_alignment/launch_bwakit_grch38.sh

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,11 @@
33
#
44
# Pipeline for alt-aware alignment against the GRCh38 build used in the 1000G vs. b38 recompute.
55
# Precautionary step: Create location where jobStore and tmp files will exist and set TOIL_HOME.
6-
TOIL_HOME=FIXME
7-
mkdir -p ${TOIL_HOME}/toil_mnt
8-
# Execution of pipeline
6+
export PYTHONPATH=$(python -c 'from os.path import abspath as a, dirname as d;import sys;print d(d(d(a(sys.argv[1]))))' $0)
97
python -m toil_scripts.batch_alignment.bwa_alignment \
10-
${TOIL_HOME}/toil_mnt/jobStore \
11-
--retryCount 3 \
12-
--config bwa_config.csv \
8+
/data/alignment-jobStore \
9+
--retryCount 2 \
10+
--config bwa-config.csv \
1311
--lb LIB \
1412
--ref https://s3-us-west-2.amazonaws.com/cgl-pipeline-inputs/variant_grch38/GRCh38_full_analysis_set_plus_decoy_hla.fa \
1513
--amb https://s3-us-west-2.amazonaws.com/cgl-pipeline-inputs/variant_grch38/GRCh38_full_analysis_set_plus_decoy_hla.fa.amb \
@@ -20,7 +18,5 @@ ${TOIL_HOME}/toil_mnt/jobStore \
2018
--fai https://s3-us-west-2.amazonaws.com/cgl-pipeline-inputs/variant_grch38/GRCh38_full_analysis_set_plus_decoy_hla.fa.fai \
2119
--alt https://s3-us-west-2.amazonaws.com/cgl-pipeline-inputs/variant_grch38/GRCh38_full_analysis_set_plus_decoy_hla.fa.alt \
2220
--use_bwakit \
23-
--workDir ${TOIL_HOME}/toil_mnt \
24-
--output_dir ${TOIL_HOME} \
25-
--s3_dir cgl-driver-projects/test/alignment \
26-
--sudo
21+
--workDir /data \
22+
--output_dir /data

src/toil_scripts/exome_variant_pipeline/exome_variant_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ def pipeline_launchpoint(job, job_vars):
416416
job_vars: tuple Contains the input_args and ids dictionaries
417417
"""
418418
pre_processing = job.wrapJobFn(index_bams, job_vars).encapsulate()
419-
run_mutect = job.wrapJobFn(mutect, job_vars, pre_processing.rv())
419+
run_mutect = job.wrapJobFn(mutect, job_vars, pre_processing.rv(), disk='75G')
420420
# run_pindel = job.wrapJobFn(pindel, job_vars, pre_processing.rv())
421421
# run_muse = job.wrapJobFn(muse, job_vars, pre_processing.rv())
422422
consolidate = job.wrapJobFn(consolidate_output, job_vars, run_mutect.rv())#, run_pindel.rv(), run_muse.rv())

src/toil_scripts/exome_variant_pipeline/launch_variant_hg19.sh

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,16 @@
22
# John Vivian
33
#
44
# Please read the associated README.md before attempting to use.
5-
#
6-
# Precautionary step: Create location where jobStore and tmp files will exist
7-
mkdir -p ${HOME}/toil_mnt
8-
# Execution of pipeline
95
export PYTHONPATH=$(python -c 'from os.path import abspath as a, dirname as d;import sys;print d(d(d(a(sys.argv[1]))))' $0)
106
python toil_scripts.exome_variant_pipeline.exome_variant_pipeline \
11-
${HOME}/toil_mnt/jstore \
12-
--retryCount 1 \
13-
--config "exome_variant_config.csv" \
7+
/data/exome-jobStore\
8+
--retryCount 2 \
9+
--config "exome-config.csv" \
1410
--reference 'https://s3-us-west-2.amazonaws.com/cgl-pipeline-inputs/variant_hg19/hg19.fa' \
1511
--phase 'https://s3-us-west-2.amazonaws.com/cgl-pipeline-inputs/variant_hg19/1000G_phase1.indels.hg19.sites.vcf' \
1612
--mills 'https://s3-us-west-2.amazonaws.com/cgl-pipeline-inputs/variant_hg19/Mills_and_1000G_gold_standard.indels.hg19.sites.vcf' \
1713
--dbsnp 'https://s3-us-west-2.amazonaws.com/cgl-pipeline-inputs/variant_hg19/dbsnp_138.hg19.vcf' \
1814
--cosmic 'https://s3-us-west-2.amazonaws.com/cgl-pipeline-inputs/variant_hg19/cosmic.hg19.vcf' \
19-
--output_dir ${HOME}/ \
20-
--ssec ${HOME}/master.key \
21-
--s3_dir 'cgl-driver-projects/test/variants/' \
22-
--workDir ${HOME}/toil_mnt \
23-
--sudo \
24-
#--restart
15+
--output_dir /data \
16+
--ssec /data/master.key \
17+
--workDir /data

src/toil_scripts/exome_variant_pipeline/launch_variant_hg19_mesos.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
# Please read the associated README.md before attempting to use.
55
export PYTHONPATH=$(python -c 'from os.path import abspath as a, dirname as d;import sys;print d(d(d(a(sys.argv[1]))))' $0)
66
python -m toil_scripts.exome_variant_pipeline.exome_variant_pipeline \
7-
aws:us-west-2:jvivian-releases-exome-1 \
7+
aws:us-west-2:exome-run-1 \
88
--retryCount 1 \
9-
--config /home/mesosbox/shared/config.txt \
9+
--config /home/mesosbox/shared/exome-config.csv \
1010
--reference 'https://s3-us-west-2.amazonaws.com/cgl-pipeline-inputs/variant_hg19/hg19.fa' \
1111
--phase 'https://s3-us-west-2.amazonaws.com/cgl-pipeline-inputs/variant_hg19/1000G_phase1.indels.hg19.sites.vcf' \
1212
--mills 'https://s3-us-west-2.amazonaws.com/cgl-pipeline-inputs/variant_hg19/Mills_and_1000G_gold_standard.indels.hg19.sites.vcf' \
@@ -16,5 +16,4 @@ aws:us-west-2:jvivian-releases-exome-1 \
1616
--s3_dir cgl-driver-projects/test/variants/ \
1717
--workDir /var/lib/toil \
1818
--batchSystem="mesos" \
19-
--mesosMaster mesos-master:5050 \
20-
#--restart
19+
--mesosMaster mesos-master:5050

src/toil_scripts/rnaseq_cgl/launch_cgl_mesos.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@
66
# Execution of pipeline
77
export PYTHONPATH=$(python -c 'from os.path import abspath as a, dirname as d;import sys;print d(d(d(a(sys.argv[1]))))' $0)
88
python -m toil_scripts.rnaseq_cgl.rnaseq_cgl_pipeline \
9-
aws:us-west-2:cgl-pipeline-run-1 \
10-
--config /home/mesosbox/shared/config.txt \
11-
--retryCount 1 \
9+
aws:us-west-2:rnaseq-run-1 \
10+
--config /home/mesosbox/shared/rnaseq-config.txt \
11+
--retryCount 2 \
1212
--ssec /home/mesosbox/shared/master.key \
1313
--s3_dir cgl-driver-projects/test/ \
1414
--sseKey=/home/mesosbox/shared/master.key \
1515
--batchSystem="mesos" \
1616
--mesosMaster mesos-master:5050 \
17-
--workDir=/var/lib/toil \
18-
#--restart
17+
--workDir=/var/lib/toil

src/toil_scripts/rnaseq_cgl/launch_cgl_sm.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,11 @@
22
# John Vivian
33
#
44
# Please read the associated README.md before attempting to use.
5-
#
6-
# Precautionary step: Create location where jobStore and tmp files will exist
7-
# Execution of pipeline
85
export PYTHONPATH=$(python -c 'from os.path import abspath as a, dirname as d;import sys;print d(d(d(a(sys.argv[1]))))' $0)
96
python -m toil_scripts.rnaseq_cgl.rnaseq_cgl_pipeline \
107
/data/rnseq-jstore \
11-
--config /data/config.txt \
8+
--config /data/rnaseq-config.csv \
129
--retryCount 1 \
1310
--ssec /data/master.key \
14-
--s3_dir cgl-driver-projects/test/releases \
11+
--output_dir /data \
1512
--workDir /data
16-
#--restart

0 commit comments

Comments
 (0)