From 42dca48c7a03b5e63c1698ba035d17b45a08f1dd Mon Sep 17 00:00:00 2001 From: Daniel Park Date: Wed, 18 Sep 2024 18:52:46 -0400 Subject: [PATCH] bump viral-core to 2.3.4 and viral-assembly to 2.3.4.0 --- pipes/WDL/tasks/tasks_assembly.wdl | 14 +++++++------- pipes/WDL/tasks/tasks_demux.wdl | 4 ++-- pipes/WDL/tasks/tasks_interhost.wdl | 2 +- pipes/WDL/tasks/tasks_megablast.wdl | 2 +- pipes/WDL/tasks/tasks_ncbi.wdl | 6 +++--- pipes/WDL/tasks/tasks_nextstrain.wdl | 4 ++-- pipes/WDL/tasks/tasks_read_utils.wdl | 14 +++++++------- pipes/WDL/tasks/tasks_reports.wdl | 14 +++++++------- pipes/WDL/tasks/tasks_taxon_filter.wdl | 2 +- pipes/WDL/tasks/tasks_terra.wdl | 2 +- pipes/WDL/tasks/tasks_utils.wdl | 8 ++++---- requirements-modules.txt | 4 ++-- 12 files changed, 38 insertions(+), 38 deletions(-) diff --git a/pipes/WDL/tasks/tasks_assembly.wdl b/pipes/WDL/tasks/tasks_assembly.wdl index 20a85f600..5505432f0 100644 --- a/pipes/WDL/tasks/tasks_assembly.wdl +++ b/pipes/WDL/tasks/tasks_assembly.wdl @@ -15,7 +15,7 @@ task assemble { String sample_name = basename(basename(reads_unmapped_bam, ".bam"), ".taxfilt") Int? machine_mem_gb - String docker = "quay.io/broadinstitute/viral-assemble:2.3.2.0" + String docker = "quay.io/broadinstitute/viral-assemble:2.3.4.0" } parameter_meta{ reads_unmapped_bam: { @@ -115,7 +115,7 @@ task select_references { Int? skani_s Int? skani_c - String docker = "quay.io/broadinstitute/viral-assemble:2.3.2.0" + String docker = "quay.io/broadinstitute/viral-assemble:2.3.4.0" Int machine_mem_gb = 4 Int cpu = 2 Int disk_size = 100 @@ -206,7 +206,7 @@ task scaffold { Float? scaffold_min_pct_contig_aligned Int? machine_mem_gb - String docker="quay.io/broadinstitute/viral-assemble:2.3.2.0" + String docker="quay.io/broadinstitute/viral-assemble:2.3.4.0" # do this in multiple steps in case the input doesn't actually have "assembly1-x" in the name String sample_name = basename(basename(contigs_fasta, ".fasta"), ".assembly1-spades") @@ -583,7 +583,7 @@ task align_reads { Boolean skip_mark_dupes = false Int? machine_mem_gb - String docker = "quay.io/broadinstitute/viral-core:2.3.2" + String docker = "quay.io/broadinstitute/viral-core:2.3.4" String sample_name = basename(basename(basename(reads_unmapped_bam, ".bam"), ".taxfilt"), ".clean") } @@ -720,7 +720,7 @@ task refine_assembly_with_aligned_reads { Int min_coverage = 3 Int machine_mem_gb = 15 - String docker = "quay.io/broadinstitute/viral-assemble:2.3.2.0" + String docker = "quay.io/broadinstitute/viral-assemble:2.3.4.0" } Int disk_size = 375 @@ -845,7 +845,7 @@ task refine_2x_and_plot { String? plot_coverage_novoalign_options = "-r Random -l 40 -g 40 -x 20 -t 100 -k" Int? machine_mem_gb - String docker = "quay.io/broadinstitute/viral-assemble:2.3.2.0" + String docker = "quay.io/broadinstitute/viral-assemble:2.3.4.0" # do this in two steps in case the input doesn't actually have "cleaned" in the name String sample_name = basename(basename(reads_unmapped_bam, ".bam"), ".cleaned") @@ -981,7 +981,7 @@ task run_discordance { String out_basename = "run" Int min_coverage = 4 - String docker = "quay.io/broadinstitute/viral-core:2.3.2" + String docker = "quay.io/broadinstitute/viral-core:2.3.4" } parameter_meta { reads_aligned_bam: { diff --git a/pipes/WDL/tasks/tasks_demux.wdl b/pipes/WDL/tasks/tasks_demux.wdl index 9a63dc521..69f689eff 100644 --- a/pipes/WDL/tasks/tasks_demux.wdl +++ b/pipes/WDL/tasks/tasks_demux.wdl @@ -6,7 +6,7 @@ task merge_tarballs { String out_filename Int? machine_mem_gb - String docker = "quay.io/broadinstitute/viral-core:2.3.2" + String docker = "quay.io/broadinstitute/viral-core:2.3.4" } Int disk_size = 2625 @@ -163,7 +163,7 @@ task illumina_demux { Int? machine_mem_gb Int disk_size = 2625 - String docker = "quay.io/broadinstitute/viral-core:2.3.2" + String docker = "quay.io/broadinstitute/viral-core:2.3.4" } parameter_meta { diff --git a/pipes/WDL/tasks/tasks_interhost.wdl b/pipes/WDL/tasks/tasks_interhost.wdl index e8ca286ce..df5c48df8 100644 --- a/pipes/WDL/tasks/tasks_interhost.wdl +++ b/pipes/WDL/tasks/tasks_interhost.wdl @@ -351,7 +351,7 @@ task index_ref { File? novocraft_license Int? machine_mem_gb - String docker = "quay.io/broadinstitute/viral-core:2.3.2" + String docker = "quay.io/broadinstitute/viral-core:2.3.4" } Int disk_size = 100 diff --git a/pipes/WDL/tasks/tasks_megablast.wdl b/pipes/WDL/tasks/tasks_megablast.wdl index 7b9822545..0aa2d3e15 100755 --- a/pipes/WDL/tasks/tasks_megablast.wdl +++ b/pipes/WDL/tasks/tasks_megablast.wdl @@ -15,7 +15,7 @@ task trim_rmdup_subsamp { Int cpu = 16 Int disk_size_gb = 100 - String docker = "quay.io/broadinstitute/viral-assemble:2.3.2.0" + String docker = "quay.io/broadinstitute/viral-assemble:2.3.4.0" } parameter_meta { diff --git a/pipes/WDL/tasks/tasks_ncbi.wdl b/pipes/WDL/tasks/tasks_ncbi.wdl index abb5a3d1d..606689fe4 100644 --- a/pipes/WDL/tasks/tasks_ncbi.wdl +++ b/pipes/WDL/tasks/tasks_ncbi.wdl @@ -192,7 +192,7 @@ task structured_comments { File? filter_to_ids - String docker = "quay.io/broadinstitute/viral-core:2.3.2" + String docker = "quay.io/broadinstitute/viral-core:2.3.4" } String out_base = basename(assembly_stats_tsv, '.txt') command <<< @@ -272,7 +272,7 @@ task rename_fasta_header { String out_basename = basename(genome_fasta, ".fasta") - String docker = "quay.io/broadinstitute/viral-core:2.3.2" + String docker = "quay.io/broadinstitute/viral-core:2.3.4" } command { set -e @@ -437,7 +437,7 @@ task sra_meta_prep { Boolean paired String out_name = "sra_metadata.tsv" - String docker="quay.io/broadinstitute/viral-core:2.3.2" + String docker="quay.io/broadinstitute/viral-core:2.3.4" } Int disk_size = 100 parameter_meta { diff --git a/pipes/WDL/tasks/tasks_nextstrain.wdl b/pipes/WDL/tasks/tasks_nextstrain.wdl index 98b1733ab..7bc09139e 100644 --- a/pipes/WDL/tasks/tasks_nextstrain.wdl +++ b/pipes/WDL/tasks/tasks_nextstrain.wdl @@ -323,7 +323,7 @@ task derived_cols { String? lab_highlight_loc Array[File] table_map = [] - String docker = "quay.io/broadinstitute/viral-core:2.3.2" + String docker = "quay.io/broadinstitute/viral-core:2.3.4" Int disk_size = 50 } parameter_meta { @@ -891,7 +891,7 @@ task filter_sequences_to_list { String out_fname = sub(sub(basename(sequences, ".zst"), ".vcf", ".filtered.vcf"), ".fasta$", ".filtered.fasta") # Prior docker image: "nextstrain/base:build-20240318T173028Z" - String docker = "quay.io/broadinstitute/viral-core:2.3.2" + String docker = "quay.io/broadinstitute/viral-core:2.3.4" Int disk_size = 750 } parameter_meta { diff --git a/pipes/WDL/tasks/tasks_read_utils.wdl b/pipes/WDL/tasks/tasks_read_utils.wdl index a42aad19e..2020aa7a6 100644 --- a/pipes/WDL/tasks/tasks_read_utils.wdl +++ b/pipes/WDL/tasks/tasks_read_utils.wdl @@ -84,7 +84,7 @@ task group_bams_by_sample { task get_bam_samplename { input { File bam - String docker = "quay.io/broadinstitute/viral-core:2.3.2" + String docker = "quay.io/broadinstitute/viral-core:2.3.4" } Int disk_size = round(size(bam, "GB")) + 50 command <<< @@ -111,7 +111,7 @@ task get_sample_meta { input { Array[File] samplesheets_extended - String docker = "quay.io/broadinstitute/viral-core:2.3.2" + String docker = "quay.io/broadinstitute/viral-core:2.3.4" } Int disk_size = 50 command <<< @@ -172,7 +172,7 @@ task merge_and_reheader_bams { File? reheader_table String out_basename = basename(in_bams[0], ".bam") - String docker = "quay.io/broadinstitute/viral-core:2.3.2" + String docker = "quay.io/broadinstitute/viral-core:2.3.4" Int disk_size = 750 Int machine_mem_gb = 4 } @@ -244,7 +244,7 @@ task rmdup_ubam { String method = "mvicuna" Int machine_mem_gb = 7 - String docker = "quay.io/broadinstitute/viral-core:2.3.2" + String docker = "quay.io/broadinstitute/viral-core:2.3.4" } Int disk_size = 375 @@ -303,7 +303,7 @@ task downsample_bams { Boolean deduplicateAfter = false Int? machine_mem_gb - String docker = "quay.io/broadinstitute/viral-core:2.3.2" + String docker = "quay.io/broadinstitute/viral-core:2.3.4" } Int disk_size = 750 @@ -367,7 +367,7 @@ task FastqToUBAM { String? sequencing_center String? additional_picard_options - String docker = "quay.io/broadinstitute/viral-core:2.3.2" + String docker = "quay.io/broadinstitute/viral-core:2.3.4" } Int disk_size = 375 parameter_meta { @@ -418,7 +418,7 @@ task read_depths { File aligned_bam String out_basename = basename(aligned_bam, '.bam') - String docker = "quay.io/broadinstitute/viral-core:2.3.2" + String docker = "quay.io/broadinstitute/viral-core:2.3.4" } Int disk_size = 200 command <<< diff --git a/pipes/WDL/tasks/tasks_reports.wdl b/pipes/WDL/tasks/tasks_reports.wdl index 36205cb1b..8e74b9fe3 100644 --- a/pipes/WDL/tasks/tasks_reports.wdl +++ b/pipes/WDL/tasks/tasks_reports.wdl @@ -15,7 +15,7 @@ task alignment_metrics { Int max_amplicons=500 Int machine_mem_gb=32 - String docker = "quay.io/broadinstitute/viral-core:2.3.2" + String docker = "quay.io/broadinstitute/viral-core:2.3.4" } String out_basename = basename(aligned_bam, ".bam") @@ -137,7 +137,7 @@ task plot_coverage { String? plotXLimits # of the form "min max" (ints, space between) String? plotYLimits # of the form "min max" (ints, space between) - String docker = "quay.io/broadinstitute/viral-core:2.3.2" + String docker = "quay.io/broadinstitute/viral-core:2.3.4" } Int disk_size = 375 @@ -284,7 +284,7 @@ task coverage_report { Array[File] mapped_bam_idx # optional.. speeds it up if you provide it, otherwise we auto-index String out_report_name = "coverage_report.txt" - String docker = "quay.io/broadinstitute/viral-core:2.3.2" + String docker = "quay.io/broadinstitute/viral-core:2.3.4" } Int disk_size = 375 @@ -351,7 +351,7 @@ task fastqc { input { File reads_bam - String docker = "quay.io/broadinstitute/viral-core:2.3.2" + String docker = "quay.io/broadinstitute/viral-core:2.3.4" } parameter_meta { reads_bam:{ @@ -399,7 +399,7 @@ task align_and_count { Boolean keep_duplicates_when_filtering = false Int? machine_mem_gb - String docker = "quay.io/broadinstitute/viral-core:2.3.2" + String docker = "quay.io/broadinstitute/viral-core:2.3.4" } String reads_basename=basename(reads_bam, ".bam") @@ -511,7 +511,7 @@ task align_and_count_summary { String output_prefix = "count_summary" - String docker = "quay.io/broadinstitute/viral-core:2.3.2" + String docker = "quay.io/broadinstitute/viral-core:2.3.4" } Int disk_size = 100 @@ -693,7 +693,7 @@ task compare_two_genomes { File genome_two String out_basename - String docker = "quay.io/broadinstitute/viral-assemble:2.3.2.0" + String docker = "quay.io/broadinstitute/viral-assemble:2.3.4.0" } Int disk_size = 50 diff --git a/pipes/WDL/tasks/tasks_taxon_filter.wdl b/pipes/WDL/tasks/tasks_taxon_filter.wdl index 20f7336ad..7c85ef9c1 100644 --- a/pipes/WDL/tasks/tasks_taxon_filter.wdl +++ b/pipes/WDL/tasks/tasks_taxon_filter.wdl @@ -211,7 +211,7 @@ task merge_one_per_sample { Boolean rmdup = false Int machine_mem_gb = 7 - String docker = "quay.io/broadinstitute/viral-core:2.3.2" + String docker = "quay.io/broadinstitute/viral-core:2.3.4" } Int disk_size = 750 diff --git a/pipes/WDL/tasks/tasks_terra.wdl b/pipes/WDL/tasks/tasks_terra.wdl index 17771230a..7719fab8e 100644 --- a/pipes/WDL/tasks/tasks_terra.wdl +++ b/pipes/WDL/tasks/tasks_terra.wdl @@ -391,7 +391,7 @@ task create_or_update_sample_tables { String sample_table_name = "sample" String library_table_name = "library" - String docker = "quay.io/broadinstitute/viral-core:2.3.2" + String docker = "quay.io/broadinstitute/viral-core:2.3.4" } meta { diff --git a/pipes/WDL/tasks/tasks_utils.wdl b/pipes/WDL/tasks/tasks_utils.wdl index be138d8ea..2bca084e9 100644 --- a/pipes/WDL/tasks/tasks_utils.wdl +++ b/pipes/WDL/tasks/tasks_utils.wdl @@ -103,7 +103,7 @@ task zcat { { if [ -f /sys/fs/cgroup/memory.peak ]; then cat /sys/fs/cgroup/memory.peak; elif [ -f /sys/fs/cgroup/memory/memory.peak ]; then cat /sys/fs/cgroup/memory/memory.peak; elif [ -f /sys/fs/cgroup/memory/memory.max_usage_in_bytes ]; then cat /sys/fs/cgroup/memory/memory.max_usage_in_bytes; else echo "0"; fi } > MEM_BYTES >>> runtime { - docker: "quay.io/broadinstitute/viral-core:2.3.2" + docker: "quay.io/broadinstitute/viral-core:2.3.4" memory: "1 GB" cpu: cpus disks: "local-disk " + disk_size + " LOCAL" @@ -430,7 +430,7 @@ task tsv_join { runtime { memory: "~{machine_mem_gb} GB" cpu: 4 - docker: "quay.io/broadinstitute/viral-core:2.3.2" + docker: "quay.io/broadinstitute/viral-core:2.3.4" disks: "local-disk " + disk_size + " HDD" disk: disk_size + " GB" # TES dx_instance_type: "mem1_ssd1_v2_x4" @@ -517,7 +517,7 @@ task tsv_stack { input { Array[File]+ input_tsvs String out_basename - String docker = "quay.io/broadinstitute/viral-core:2.3.2" + String docker = "quay.io/broadinstitute/viral-core:2.3.4" } Int disk_size = 50 @@ -780,7 +780,7 @@ task filter_sequences_by_length { File sequences_fasta Int min_non_N = 1 - String docker = "quay.io/broadinstitute/viral-core:2.3.2" + String docker = "quay.io/broadinstitute/viral-core:2.3.4" Int disk_size = 750 } parameter_meta { diff --git a/requirements-modules.txt b/requirements-modules.txt index e0e4ab675..fdb4c6626 100644 --- a/requirements-modules.txt +++ b/requirements-modules.txt @@ -1,5 +1,5 @@ -broadinstitute/viral-core=2.3.2 -broadinstitute/viral-assemble=2.3.2.0 +broadinstitute/viral-core=2.3.4 +broadinstitute/viral-assemble=2.3.4.0 broadinstitute/viral-classify=2.2.4.2 broadinstitute/viral-phylo=2.1.20.2 broadinstitute/py3-bio=0.1.2