tjunier / newick_utils

shell tools for processing phylogenetic trees
Other
101 stars 31 forks source link

is it possible to find all taxa within some distance of a labelled leaf? #25

Open roblanf opened 4 years ago

roblanf commented 4 years ago

thanks for the awesome utilities. I have a question I couldn't find an answer to in the manual.

I'd like to get a list of all taxa that are within some pre-specified distance of an focal taxon.

It seems like nw_distance has a lot of things that almost do this, e.g. getting the full distance matrix contains all the information I'd need in principle. But I wonder if there's already something built in that would allow me to do it already?