Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor mashtree improvements #142

Merged
merged 2 commits into from
Aug 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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