-
Notifications
You must be signed in to change notification settings - Fork 13
Desired Query Examples
Francois Serra edited this page May 27, 2017
·
5 revisions
Trees where a subtree is found that: 1) has a duplication node 2) which involves tips containing A and B, but not C 3) and that might contain 1 or more additional duplications in A but not in C. For instance this would match:
print Tree('((( ((A, A), B), (A,B) ), (A, B)), ((C, D), (C,D)));')
/-A
/-|
/-| \-A
| |
/-| \-B
| |
| | /-A
/*| \-|
| | \-B
| |
| | /-A
| \-|
--| \-B
|
| /-C
| /-|
| | \-D
\-|
| /-C
\-|
\-D
as well as two matches here (Star symbol):
print Tree('(((( ((A, A), B), (A,B)), (A,B)), (A, B)), ((C, D), (C,D)));')
/-A
/-|
/-| \-A
| |
/-| \-B
| |
| | /-A
/*| \-|
| | \-B
| |
| | /-A
/*| \-|
| | \-B
| |
| | /-A
| \-|
--| \-B
|
| /-C
| /-|
| | \-D
\-|
| /-C
\-|
\-D
but not
/-A
/-|
/-| \-A
| |
/-| \-C
| |
| | /-A
/-| \-|
| | \-B
| |
| | /-A
/-| \-|
| | \-B
| |
| | /-A
| \-|
--| \-B
|
| /-C
| /-|
| | \-D
\-|
| /-C
\-|
\-D
I seek help in choosing n taxa from a total of N taxa in my unrooted phylogenetic tree, such that the branch length for the selected n taxa is maximal - or in other words, they are most genetically diverse subset in my collection of taxa.
A bonus would to be have 1 representative from each of n clades in this tree.