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 to use itol to modify names and add group names in evolutionary trees in batches

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

Share

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

This article mainly shows you "how to use itol to modify the names and add group names in the evolutionary tree in batches", the content is easy to understand, well-organized, hope to help you solve your doubts, the following let the editor lead you to study and learn "how to use itol to modify the names and add group names in the evolutionary tree in batches".

Profile preparation

First, let's take a look at the format of the required file:

LABELSSEPARATOR TABDATA#NODE_ID,LABEL4530 Oryza sativa45157 Cyanidioschyzon merolae237895 Cryptosporidium hominis184922 Giardia lamblia56636 Aeropyrum pernix3702 Arabidopsis thaliana33169 Eremothecium gossypii222523 Bacillus cereus ATCC 109871423 Bacillus subtilis216816 Bifidobacterium longum

Format description:

The line starting with "#" in the comment file is a comment line and is for illustrative purposes only, and iTOL does not read the contents of the line.

LABELS: comment file data type declaration, which declares that the dataset is a modification of the evolutionary tree tag.

SEPARATOR TAB: specifies the data delimiter, that is, data columns are separated by Tab between columns. You can also specify that the delimiter is a space and change "TAB" to "SPACE". (it is recommended to use Tab separation so that spaces can be used in modified tags)

If there are no special settings, the above part usually does not need to be changed, just copy it and use it.

The row after DATA is the data information for all tag modifications. The data is divided into two columns, the first is the original name of the evolutionary branch, and the second column is the modified name.

Profile beautification

Prepare the comment file according to the above format, and then drag it directly to the location where the iTOL evolutionary tree is displayed, and you can automatically modify the tag of the evolutionary tree.

Add external grouping name

In addition, an external grouping name can be added to the evolutionary tree, which can also show more information about the sample.

The comment file format required to add external tags is as follows:

DATASET_TEXT#SEPARATOR TAB#SEPARATOR SPACESEPARATOR COMMADATASET_LABEL,example text dataset 2COLOR,#ff00ffMARGIN,0LABEL_ROTATION,0DATA#the following fields are possible for each node:#ID,label,position,color,style,size_factor,rotation9606,Homo sapiens,-1,#ff0000,bold,1.5,454932,Eukaryota,-1,#000000,italic,2,90160,Bacteria,-1,#0000ff,bold,4,902234,Archaea,-1,#0000ff,normal,3,-45727,Something is here with a long label,-1,#ff0000,bold-italic,1,0

Format description:

The line starting with "#" in the configuration file is a comment line and is for illustrative purposes only, and iTOL does not read the contents of the line.

DATASET_TEXT: the profile data type declaration, which declares that the dataset adds text information to the evolutionary tree.

SEPARATOR COMMA: specifies the data delimiter, that is, columns of data are separated by commas.

COLOR,#ff00ff: specifies the initial color of the dataset, which can be changed later.

MARGIN 0: specifies the distance between the external tag and the evolutionary tree, which can be negative and causes overlap with the evolutionary tree.

LABEL_ROTATION,0 specifies the initial angle of the external label.

If there are no special settings, the above part usually does not need to be changed, just copy it and use it.

The row after the DATA is the data information for all external packets. The data is divided into seven columns, the first column is the evolutionary branch node ID, the second column is the external grouping name, the third column is the name location: "- 1" represents the external location, the fourth column is the color of the grouping name, the fifth column is the font setting, the sixth column is the font size, and the last column is the angle of the name.

Similarly, after preparing the comment file according to the above format, drag it directly to the location of the iTOL evolutionary tree display, and you can automatically add an external grouping name to the evolutionary tree.

The above is all the contents of the article "how to use itol to batch modify names and add group names in 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