Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How iTOL adds external tags to the Evolutionary Tree

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you how iTOL to add external tags to the evolutionary tree, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's learn about it!

ITOL adds external tags to the evolutionary tree

When you draw an evolutionary tree and need to add some information to the tag, you can use iTOL to add external tags to it.

Prepare the comment file to add information, as follows:

DATASET_TEXT#In text datasets, each ID is associated to text label, which can be displayed directly on the node branch, or outside the tree#lines starting with a hash are comments and ignored during parsing#=## MANDATORY SETTINGS # # = # # select the separator which is used to delimit the data below (TAB,SPACE or COMMA) .This separator must be used throughout this file (except in the SEPARATOR line Which uses space). # SEPARATOR TAB#SEPARATOR SPACESEPARATOR COMMA#label is used in the legend table (can be changed later) DATASET_LABEL,example text dataset 2#dataset color (can be changed later) COLOR,#ff00ff#=## OPTIONAL SETTINGS # # = # # = # all other optional settings can be set or changed later # # in the web interface (under 'Datasets' tab) # # = # # left margin Used to increase/decrease the spacing to the next dataset. Can be negative, causing datasets to overlap. Used only for text labels which are displayed on the outsideMARGIN,0#applies to external text labels only; if set, text labels associated to internal nodes will be displayed even if these nodes are not collapsed. It could cause overlapping in the dataset display.SHOW_INTERNAL,0#Rotate all labels by the specified angleLABEL_ROTATION,0#applies to external text labels only; If set to 1, labels will be displayed in arcs aligned to the tree (in circular mode) or vertically (in normal mode). All rotation parameters (global or individual) will be ignored.ALIGN_TO_TREE,0#font size factor For external text labels, default font size will be slightly less than the available space between leaves, but you can set a multiplication factor here to increase/decrease it (values from 0 to 1 will decrease it, values above 1 will increase it) SIZE_FACTOR,1#Internal tree nodes can be specified using IDs directly, or using the 'last common ancestor' method described in iTOL help pages#=## Actual data follows after the "DATA" keyword # # = # # the following fields are possible for each node:#ID,label,position,color,style,size_factor Rotation#position defines the position of the pie chart on the tree:#-1 = external label# a number between 0 and 1 = internal label positioned at the specified value along the node branch (for example, position 0 is exactly at the start of node branch, position 0.5 is in the middle, and position 1 is at the end) # style can be 'normal',''bold','italic' or' bold-italic'#size factor will be multiplied with the standard font sizeDATA#Examples9606,Homo sapiens,-1,#ff0000,bold,0.2,04932,Eukaryota,-1,#000000 Italic,2,90160,Bacteria,-1,#0000ff,bold,2,902234,Archaea,-1,#0000ff,normal,2,-45727,Something is here with a long label,-1,#ff0000,bold-italic,0.5,0

The previous parts of DATA are all format statements, which can be copied. Then there is the information added to the specific tag, separated by the "," key, the first column is the original tag, the second column is the added external tag, the third column is-1, which represents the external tag, and the next columns are color, font, size and orientation settings. When the data is ready, it can be added to the evolutionary tree.

The above is all the content of the article "how iTOL adds external tags to the Evolutionary Tree". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report