Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
VEBER Philippe
codepi
Commits
ce781477
Commit
ce781477
authored
May 07, 2020
by
Philippe Veber
Browse files
orthomam: fixed echolocating species list + inference of ancestral state
parent
ad585854
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
lib/orthomam.ml
lib/orthomam.ml
+10
-1
No files found.
lib/orthomam.ml
View file @
ce781477
...
@@ -77,7 +77,15 @@ let tag_tree t tagged_leaves =
...
@@ -77,7 +77,15 @@ let tag_tree t tagged_leaves =
if
String
.
Set
.
mem
tagged_leaves
l
then
1
else
0
if
String
.
Set
.
mem
tagged_leaves
l
then
1
else
0
)
)
in
in
Fitch
.
fitch
~
n
:
2
~
category
t
let
cost
x
y
=
match
x
,
y
with
|
0
,
1
->
2
.
|
1
,
0
->
1
.
|
0
,
0
|
1
,
1
->
0
.
|
_
->
assert
false
in
Fitch
.
fitch
~
cost
~
n
:
2
~
category
t
|>
transfer_tag_to_branches
|>
transfer_tag_to_branches
let
%
pworkflow
clip_tree_on_alignment
tree
ali
=
let
%
pworkflow
clip_tree_on_alignment
tree
ali
=
...
@@ -431,6 +439,7 @@ let species_with_echolocation = [
...
@@ -431,6 +439,7 @@ let species_with_echolocation = [
"Miniopterus_natalensis"
;
"Miniopterus_natalensis"
;
(* "Pteropus_vampyrus" ; unsure, i'd say no *)
(* "Pteropus_vampyrus" ; unsure, i'd say no *)
(* "Pteropus alecto" ; unsure, i'd say no *)
(* "Pteropus alecto" ; unsure, i'd say no *)
"Rhinolophus_sinicus"
;
"Lipotes_vexillifer"
;
"Lipotes_vexillifer"
;
"Hipposideros_armiger"
;
"Hipposideros_armiger"
;
"Physeter_catodon"
;
"Physeter_catodon"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment