Skip to content

Commit

Permalink
bio/Iqtree: added keep_ident option
Browse files Browse the repository at this point in the history
  • Loading branch information
pveber committed Jan 21, 2021
1 parent 9491a4d commit 90d2271
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/bio/iqtree.ml
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ type model_spec =

let model_spec ?freq_type ?rate_type m = m, freq_type, rate_type

let iqtree ?t ?te ?o ?(nt = 1) ?seed ?n ?m ?z ?st ?spp ali =
let iqtree ?t ?te ?o ?(nt = 1) ?seed ?n ?m ?z ?st ?spp ?keep_ident ali =
let ali_dep = match ali with
| `phylip f -> dep f
| `fasta f -> dep f
Expand All @@ -274,6 +274,7 @@ let iqtree ?t ?te ?o ?(nt = 1) ?seed ?n ?m ?z ?st ?spp ali =
option (opt "-z" dep) z ;
option (opt "-st" sequence_type_token) st ;
option (opt "-spp" dep) spp ;
option (flag string "-keep-ident") keep_ident ;
] ;
]
]
Expand Down
1 change: 1 addition & 0 deletions lib/bio/iqtree.mli
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ val iqtree :
?z:newick file ->
?st:sequence_type ->
?spp:nexus file ->
?keep_ident:bool ->
[`phylip of phylip file | `fasta of fasta file] ->
[`iqtree] directory

Expand Down

0 comments on commit 90d2271

Please sign in to comment.