chaoszhang / ASTER

Accurate Species Tree EstimatoR: a family of optimation algorithms for species tree inference (including ASTRAL & CASTER)
GNU Affero General Public License v3.0
91 stars 10 forks source link

terminal branch is too long sometimes #26

Closed XiaoTW123 closed 5 months ago

XiaoTW123 commented 5 months ago

Hi, prof. Zhang, I inferred the weighted species tree using astral-hybrid, however, I found that sometimes few terminal branches were twice longer than the other species. Could you please tell me what causes this phenomenon? image

chaoszhang commented 5 months ago

Terminal branch lengths are meaningless in wastral and internal branch lengths are in coalescent units which you may have a hard time interpreting. You got this phenomenon because that such branch was the root and figtree arbitrarily gave it branch length 2 instead of 1. However, you can correctly compute all branch lengths in mutation units (similar to IQTREE/RAxML) using CASTLES-II. Here is how to do it: bin/astral4 -C -c wastral.species_tree -i your_input_gene_trees -o wastral.species_tree.with_branch_length --root your_outgroup


From: XiaoTW123 @.> Sent: Tuesday, April 30, 2024 2:06:03 AM To: chaoszhang/ASTER @.> Cc: Subscribed @.**> Subject:* [chaoszhang/ASTER] terminal branch is too long sometimes (Issue

26)

Hi, prof. Zhang, I inferred the weighted species tree using astral-hybrid, however, I found that sometimes few terminal branches were twice longer than the other species. Could you please tell me what causes this phenomenon? image.png (view on web) https://github.com/chaoszhang/ASTER/assets/43005382/8114a0ed-3b76-4e7a-9c86-c0af75bafd77

— Reply to this email directly, view it on GitHub https://github.com/chaoszhang/ASTER/issues/26, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEOCTIFPJEJEZCB7A7HMVBDY75NHXAVCNFSM6AAAAABG73DHN2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3TAOJSGYZDOMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

XiaoTW123 commented 5 months ago

@chaoszhang Ok, i get it. Thanks for your quick reply.