Ancestral state reconstruction and gaps #319
Replies: 3 comments 1 reply
-
| 
         Inside ML inference, gaps are treated identically to N's. This means that gaps 'exist' in exactly the same way as other bases as far as the actual inference is concerned. Typically what we do for feature requests is wait to see how many people are interested, and judge that against the difficulty of the request. So, while we wait for @bqminh @thomaskf and/or other developers to weigh in, it would help if you could encourage other potential users to support this feature request. (Of course, at some point feature requests need funding to implement too). Even with this request, which seems simple enough on the surface, there are a number of details that need careful thought, and this would be a good thread for this discussion. A quick list of things that spring to mind: 
 Even this short list suggests some substantial challenges to the simplest implementation, and I suspect is why it doesn't already exist. The central challenge is that we don't use an indel model in ML phylogenetics, which makes reconstructing ancestral indel states very tricky. And thinking about the questions above makes me wonder if the very simple implementation of 'believing' and indel in the restrictive case of every child posessing it is all that useful (not to mention the challenge of knowing what a child is in an unrooted tree). This is not to say it's not possible, just that in order to move ahead it's important to sort the exact details out first. If you can encourage other ASR users to contribute to this thread, that will certainly help!  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         This is definitely a needed feature.  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         Gap reconstruction would useful for me too, but I appreciate it would be a lot of work. The best solution I've come up with so far is to use a different tool to reconstruct gaps (e.g. ARPIP), and then to combine that with the residues estimated by IQ-TREE with it's better models of amino acid substitution.  | 
  
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Why can't ancestral state reconstruction insert a gap in a node sequence even when both children have gaps at that position?
Is this a possible feature to add? As it would make ASRs more realistic.
Many thanks,
Elizabeth
Beta Was this translation helpful? Give feedback.
All reactions