Skip to content

Commit 13da0ea

Browse files
committed
parameter added
1 parent 44acc33 commit 13da0ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

workflow/rules/iq_anc.smk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ rule iqtree_ancestral:
66
ancestral_probabilities = "{workdir}/results/{query_id}/7_iqtree_ancestral/{query_id}_nogap_msa.fasta.state",
77
ancestralTree = "{workdir}/results/{query_id}/7_iqtree_ancestral/{query_id}_nogap_msa.fasta.treefile",
88
params:
9-
iqtree_ancestral_out_name = "{workdir}/results/{query_id}/7_iqtree_ancestral/{query_id}",
9+
iqtree_ancestral_out_name = "{workdir}/results/{query_id}/7_iqtree_ancestral/{query_id}_nogap_msa.fasta",
1010
conda:
1111
"../envs/iqtree.yml"
1212
log:
@@ -16,5 +16,5 @@ rule iqtree_ancestral:
1616
resources:
1717
cpus=4
1818
shell:
19-
"iqtree2 -s {input.no_gap_msa} -te {input.unrooted_tree} -m {config[iqtree_ancestral_model]} -asr -safe -nt {resources.cpus}"
19+
"iqtree2 -redo -s {input.no_gap_msa} -te {input.unrooted_tree} -m {config[iqtree_ancestral_model]} -asr -safe -nt {resources.cpus} --prefix {params.iqtree_ancestral_out_name}"
2020

0 commit comments

Comments
 (0)