File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -35,3 +35,10 @@ matrix: ""
3535
3636# Iterative Mode
3737mask_gappy : 0.995 # Minimum proportion of gappy sites that would be mask before proceed to tree inference step
38+
39+
40+ # IQ-TREE Model Selection
41+ # Automatically determine the best model without specifying one, though this may take some time.
42+ # If you would like to speed up the process, please specify a model (e.g., "-m GTR").
43+ # See "https://iqtree.github.io/doc/Substitution-Models" for more details on available models.
44+ iqtree_model : " "
Original file line number Diff line number Diff line change @@ -5,15 +5,15 @@ rule iqtree:
55 params :
66 iqtree_exe = config ["iqtree" ],
77 temp = config ["work_dir" ],
8- model = "" ,
8+ model = config [ "iqtree_model" ] ,
99 threshold = config ["mask_gappy" ],
1010 tempFile = config ["work_dir" ]+ "/msa.mask.fa"
1111 threads : config ["num_threads" ]
1212 shell :
1313 '''
1414 python3 scripts/reduceLen.py {input.msa} {params.tempFile} {params.threshold}
1515 {params.iqtree_exe} -s {params.tempFile} {params.model} --threads-max {threads}
16- mv {params.temp}/msa_iter1 .mask.fa.treefile {output}
17- rm {params.temp}/msa_iter1 .mask.fa.*
16+ mv {params.temp}/msa .mask.fa.treefile {output}
17+ rm {params.temp}/msa .mask.fa.*
1818 rm {params.tempFile}
1919 '''
You can’t perform that action at this time.
0 commit comments