Skip to content

Commit

Permalink
minor mashtree improvements (#142)
Browse files Browse the repository at this point in the history
* expose docker optional string input for mashtree

* added string output "docker" to mashtree task and workflow
  • Loading branch information
kapsakcj authored Aug 7, 2023
1 parent 5a68417 commit 83f7e39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tasks/phylogenetic_inference/task_mashtree.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ task mashtree_fasta {
Int cpu = 16
Int memory = 64
Int disk_size = 100
String docker = "us-docker.pkg.dev/general-theiagen/staphb/mashtree:1.2.0"
}
command <<<
# date and version control
Expand All @@ -39,11 +40,12 @@ task mashtree_fasta {
output {
String date = read_string("DATE")
String version = read_string("VERSION")
String mashtree_docker = docker
File mashtree_matrix = "~{cluster_name}.tsv"
File mashtree_tree = "~{cluster_name}.nwk"
}
runtime {
docker: "us-docker.pkg.dev/general-theiagen/staphb/mashtree:1.2.0"
docker: docker
memory: "~{memory} GB"
cpu: cpu
disks: "local-disk " + disk_size + " SSD"
Expand Down
1 change: 1 addition & 0 deletions workflows/phylogenetics/wf_mashtree_fasta.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ workflow mashtree_fasta {
File mashtree_matrix = reorder_matrix.ordered_matrix
File mashtree_tree = reorder_matrix.tree
String mashtree_version = mashtree_task.version
String mashtree_docker = mashtree_task.mashtree_docker
# Data Summary Out
File? mashtree_summarized_data = summarize_data.summarized_data
File? mashtree_filtered_metadata = summarize_data.filtered_metadata
Expand Down

0 comments on commit 83f7e39

Please sign in to comment.