arklumpus / TreeViewer

Cross-platform software to draw phylogenetic trees
GNU Affero General Public License v3.0
184 stars 8 forks source link

Exporting labels or group labels #44

Open vaulot opened 1 day ago

vaulot commented 1 day ago

Hello

Congratulation for this very nice tool.

When working on a tree we often create new labels or group labels (e.g. for species, order etc...). Is there a way to re-export these data to a text file or make them appear in an attachment file that can be saved.

Thanks in advance. Daniel

arklumpus commented 1 day ago

Hi! I think this is probably similar to what #36 was asking, but I still haven't had the time to work on it 😅

In the meantime, if you select the root node (CTRL+A or CMD+A on macOS) and then go to the Edit tab, if you click on the little arrow next to Copy you can copy the value of an attribute at the tips of the tree or at all nodes (alternatively, CTRL+ALT+C copies the value at tips and CTRL+SHIFT+ALT+C copies the the value at all nodes). You can do this multiple times and paste the copied values as separate columns into a spreadsheet.

vaulot commented 18 hours ago

Hello

Thanks for the very quick answer but there is a need to propagate the group information from root to tips before copying. Then it seems to work... I will test more.... ( I did a test on your nice tree with the FISH images)