Skip to content

Commit

Permalink
turn off use of preemptible instances for every step until GCP Batch/…
Browse files Browse the repository at this point in the history
…Cromwell supports this
  • Loading branch information
malachig committed Oct 15, 2024
1 parent de14a42 commit f3b1c9a
Show file tree
Hide file tree
Showing 114 changed files with 115 additions and 115 deletions.
2 changes: 1 addition & 1 deletion definitions/tools/add_strelka_gt.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ task addStrelkaGt {

Int space_needed_gb = 10 + round(size(vcf, "GB")*2)
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
docker: "ubuntu:bionic"
memory: "4GB"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/add_string_at_line.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ task addStringAtLine {

Int space_needed_gb = 10 + round(2*size(input_file, "GB"))
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
docker: "ubuntu:xenial"
memory: "4GB"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/add_string_at_line_bgzipped.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ task addStringAtLineBgzipped {

Int space_needed_gb = 10 + round(2*size(input_file, "GB"))
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
docker: "quay.io/biocontainers/samtools:1.11-h6270b1f_0"
memory: "4GB"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/add_vep_fields_to_table.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ task addVepFieldsToTable {

Int space_needed_gb = 10 + round(size([vcf, tsv], "GB")*2)
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
memory: "4GB"
docker: "griffithlab/vatools:5.1.0"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/agfusion.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ task agfusion {
}

runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
docker: "mgibio/agfusion:1.3.11-ensembl-105"
memory: "32GB"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/annotate_known_variants.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ task annotateKnownVariants {

Int space_needed_gb = 10 + round(size([vcf, vcf_tbi, validated_variants, validated_variants_tbi], "GB")*2)
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
docker: "mgibio/bcftools-cwl:1.12"
memory: "8GB"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/annotsv.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ task annotsv {

Int space_needed_gb = 10 + round(size(snps_vcf, "GB") + size(input_vcf, "GB"))
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
memory: "8GB"
docker: "mgibio/annotsv-cwl:2.1"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/annotsv_filter.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ task annotsvFilter {

Int space_needed_gb = 10 + round(2*size(annotsv_tsv, "GB"))
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
memory: "4GB"
docker: "python:3"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/bam_readcount.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ task bamReadcount {

Int space_needed_gb = 10 + round(size([bam, bam_bai, reference, reference_fai, reference_dict, vcf], "GB"))
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
docker: "mgibio/bam_readcount_helper-cwl:1.1.1"
memory: "16GB"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/bam_to_bigwig.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ task bamToBigwig {
Float reference_size_gb = size([reference, reference_fai, reference_dict], "GB")
Int space_needed_gb = 10 + round(3*bam_size_gb + reference_size_gb)
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
memory: "32GB"
docker: "quay.io/biocontainers/cgpbigwig:1.4.0--h93d22ca_0"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/bam_to_cram.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ task bamToCram {
Float reference_size = size([reference, reference_fai, reference_dict], "GB")
Int size_needed_gb = 10 + round(size(bam, "GB") * 2 + reference_size)
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
docker: "quay.io/biocontainers/samtools:1.11--h6270b1f_0"
memory: "4GB"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/bam_to_fastq.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ task bamToFastq {
# ran into issue at 3*, bump to 10*
Int space_needed_gb = 10 + round(10*size(bam, "GB"))
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
docker: "mgibio/rnaseq:1.0.0"
cpu: 1
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/bcftools_merge.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ task bcftoolsMerge {

Int space_needed_gb = 10 + round(2 * size(vcfs, "GB"))
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
memory: "4GB"
docker: "mgibio/bcftools-cwl:1.12"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/bedgraph_to_bigwig.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ task bedgraphToBigwig {

Int space_needed_gb = 10 + round(size(methylation_bedgraph, "GB") + size(reference_sizes, "GB"))
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
docker: "mgibio/bisulfite:v1.4"
memory: "32GB"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/bgzip.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ task bgzip {

Int space_needed_gb = 10 + round(size(file, "GB")*2)
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
memory: "4GB"
docker: "quay.io/biocontainers/samtools:1.11--h6270b1f_0"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/biscuit_align.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ task biscuitAlign {
Int cores = 12
Int space_needed_gb = 10 + round(2*size([reference_index, fastq1, fastq2], "GB"))
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
memory: "32GB"
cpu: cores
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/biscuit_markdup.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ task biscuitMarkdup {
Int cores = 4
Int space_needed_gb = 10 + round(2*size(bam, "GB"))
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
cpu: cores
memory: "24GB"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/biscuit_pileup.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ task biscuitPileup {

Int space_needed_gb = 10 + round(2*size([bam, reference], "GB"))
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
memory: "48GB"
cpu: cores
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/bisulfite_qc.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ task bisulfiteQc {

Int space_needed_gb = 10 + round(size([vcf, bam, reference, reference_fai, QCannotation], "GB"))
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
cpu: 1
memory: "16GB"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/bisulfite_vcf2bed.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ task bisulfiteVcf2bed {

Int space_needed_gb = 10 + round(size([vcf, reference], "GB"))
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
docker: "mgibio/biscuit:0.3.8"
memory: "16GB"
Expand Down
4 changes: 2 additions & 2 deletions definitions/tools/bqsr.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ workflow doBqsr {
Array[File] known_sites
Array[File] known_sites_tbi
String output_name = "final"
Int preemptible_tries = 3
Int preemptible_tries = 0
}

Float bam_size = size([bam, bam_bai], "GB")
Expand Down Expand Up @@ -221,7 +221,7 @@ task applyBqsr {
Int space_needed_gb = 10 + round(size([bqsr_table, reference, reference_fai, reference_dict], "GB") + size([bam, bam_bai], "GB") * 2)
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
docker: "broadinstitute/gatk:4.1.8.1"
memory: "18GB"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/cat_all.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ task catAll {

Int space_needed_gb = 10 + round(size(region_pindel_outs, "GB")*2)
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
memory: "4GB"
docker: "ubuntu:xenial"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/cat_out.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ task catOut {

Int space_needed_gb = 10 + round(size(pindel_outs, "GB")*2)
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
memory: "4GB"
docker: "ubuntu:xenial"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/cnvkit_batch.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ task cnvkitBatch {

Int size_needed_gb = 10 + round(size([tumor_bam, bait_intervals, access, normal_bam, reference_fasta, reference_cnn], "GB") * 2)
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
memory: "4GB"
cpu: 1
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/cnvkit_vcf_export.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ task cnvkitVcfExport {

Int space_needed_gb = 10 + round(2*size([cns_file, cnr_file], "GB"))
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
memory: "8GB"
docker: "mgibio/cnvkit:0.9.9"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/cnvnator.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ task cnvnator {
}

runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
docker: "mgibio/cnvnator-cwl:0.4"
memory: "20GB"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/collect_alignment_summary_metrics.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ task collectAlignmentSummaryMetrics {

Int space_needed_gb = 10 + round(size([bam, bam_bai, reference, reference_fai, reference_dict],"GB"))
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
memory: "48GB"
docker: "broadinstitute/picard:2.23.6"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/collect_gc_bias_metrics.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ task collectGcBiasMetrics {
Float reference_size_gb = size([reference, reference_fai, reference_dict], "GB")
Int space_needed_gb = 10 + round(bam_size_gb + reference_size_gb)
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
memory: "48GB"
docker: "broadinstitute/picard:2.23.6"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/collect_hs_metrics.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ task collectHsMetrics {

Int space_needed_gb = 10 + round(size([bam, bam_bai, reference, reference_fai, reference_dict, bait_intervals, target_intervals], "GB"))
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
memory: "60GB"
docker: "broadinstitute/picard:2.23.6"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/collect_insert_size_metrics.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ task collectInsertSizeMetrics {

Int space_needed_gb = 10 + round(size([bam, bam_bai, reference, reference_fai, reference_dict], "GB"))
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
docker: "broadinstitute/picard:2.23.6"
memory: "48GB"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/collect_wgs_metrics.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ task collectWgsMetrics {
Float intervals_size = size(intervals, "GB")
Int space_needed_gb = 10 + round(bam_size + reference_size + intervals_size)
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
memory: "48GB"
docker: "broadinstitute/picard:2.23.6"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/combine_variants.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ task combineVariants {
Float strelka_size = size([strelka_vcf, strelka_vcf_tbi], "GB")
Int space_needed_gb = 10 + round(ref_size + mutect_size + varscan_size + strelka_size)*2
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
memory: "9GB"
docker: "mgibio/gatk-cwl:3.6.0"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/combine_variants_wgs.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ task combineVariantsWgs {
Float strelka_size = size([strelka_vcf, strelka_vcf_tbi], "GB")
Int space_needed_gb = 10 + round(ref_size + mutect_size + varscan_size + strelka_size)*2
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
memory: "9GB"
docker: "mgibio/gatk-cwl:3.6.0"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/concordance.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ task concordance {

Int space_needed_gb = 10 + round(size([vcf, reference, reference_fai, reference_dict, bam_1, bam_1_bai, bam_2, bam_2_bai, bam_3, bam_3_bai], "GB"))
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
cpu: 1
memory: "8GB"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/docm_add_variants.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ task docmAddVariants {
Float docm_size = size([docm_vcf, docm_vcf_tbi], "GB")
Int space_needed_gb = 10 + round(reference_size + callers_size + docm_size)*2
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
memory: "9GB"
bootDiskSizeGb: 25
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/docm_gatk_haplotype_caller.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ task docmGatkHaplotypeCaller {
Float copied_size = size([docm_vcf, interval_list], "GB")
Int space_needed_gb = 10 + round(copied_size*3 + size([reference, reference_fai, reference_dict, normal_bam, normal_bam_bai, bam, bam_bai, docm_vcf_tbi], "GB"))
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
memory: "9GB"
docker: "broadinstitute/gatk:4.1.2.0"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/downsample.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ task downsample {
Float reference_size = size([reference, reference_fai, reference_dict], "GB")
Int space_needed_gb = 10 + round(reference_size + size(sam, "GB") * 2)
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
memory: "18GB"
docker: "broadinstitute/gatk:4.1.4.1"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/duphold.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ task duphold {
Int cores = 2
Int space_needed_gb = 10
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
memory: "10GB"
docker: "mgibio/duphold-cwl:0.1.5"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/echo_file.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ task echoFile {
input {}

runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
docker: "ubuntu:bionic"
}
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/extract_hla_alleles.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ task extractHlaAlleles {

Int space_needed_gb = 10 + round(size(optitype_file, "GB"))
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
memory: "2GB"
docker: "ubuntu:xenial"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/filter_sv_vcf_blocklist_bedpe.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ task filterSvVcfBlocklistBedpe {

Int space_needed_gb = 10
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
memory: "8GB"
docker: "mgibio/basespace_chromoseq:v12"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/filter_sv_vcf_depth.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ task filterSvVcfDepth {

Int space_needed_gb = 10 + round(2*size(input_vcf, "GB"))
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
memory: "4GB"
docker: "mgibiobcftools-cwl:1.12"
Expand Down
2 changes: 1 addition & 1 deletion definitions/tools/filter_sv_vcf_read_support.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ task filterSvVcfReadSupport {

Int space_needed_gb = 10
runtime {
preemptible: 1
preemptible: 0
maxRetries: 2
memory: "4GB"
docker: "bcftools-cwl:1.12"
Expand Down
Loading

0 comments on commit f3b1c9a

Please sign in to comment.