-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parenthetical format in simulated gene trees #11
Comments
The output gene trees would look more standard if you used the option That's a great option if you want to vary things across species in your simulation. The node mapping tells you which species each gene lineage evolved into. The manual gives a example here of how this mapping can be used to vary the substitution rate of each gene lineage according to the species that this lineage is in. So:
If you don't want to use these degree-2 nodes, then we can turn off the If you have some use for these degree-2 mapping nodes, then the manual shows here how to assign nicer names to nodes in the species network. And then I suggest that the modified network (with these nicer node names) is saved to a file, so that the correspondance can be made later between the ancestral species names and the degree-2 nodes (named after ancestral species) in the gene trees. |
I am using the code below to simulate gene trees under a species tree with branches in numbers of generations and different population sizes per branch.
The simulated gene trees I get have a strange parenthetical format:
((D:40000.0)minus2:11184.0,(((C:20000.0)minus3:25551.0,(((A:10000.0)minus4:11096.0,(B:10000.0)minus4:11096.0):8904.0)minus3:25551.0):14449.0)minus2:11184.0);
Code:
The text was updated successfully, but these errors were encountered: