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 add packet Circle in itol Evolutionary Tree

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

This article mainly introduces how to add grouping rings to the itol evolutionary tree. The introduction in this article is very detailed and has certain reference value. Interested friends must read it!

Comment file preparation

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

DATASET_COLORSTRIP#lines starting with a hash are comments and ignored during parsingSEPARATOR TABDATASET_LABEL color_strip2STRIP_WIDTH 25MARGIN 0BORDER_WIDTH 1BORDER_COLOR #000SHOW_INTERNAL 0DATA160232 #efff2213773 #efff2256636 #efff22111955 #efff222287 #efff2250339 #efff222303 #efff222234 #efff2264091 #efff222214 #efff222209 #1173552261 #117355

Format Description:

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

DATASET_COLORSTRIP: Comment file data type declaration, where the dataset is declared to add colored rings to the outer layer of the evolutionary tree.

SEPARATOR TAB: Specifies the data separator, which is the Tab separation between columns of data. You can also specify that the separator is a space by changing TAB to SPACE.

DATASET_LABEL color_strip2: Specifies the dataset label, which can be arbitrary.

STRIP_WIDTH 25: Specifies the width of the ring.

MARGIN 0: Specifies the distance between the ring and the evolutionary tree, which can be negative, resulting in overlap with the evolutionary tree.

BORDER_WIDTH 1: Specifies the width of the ring border.

BORDER_COLOR #000: Specifies the color of the ring border.

If there is no special setting, the above parts usually do not need to be changed, and can be copied directly.

The line after DATA is all packet data information. The data is divided into two columns, the first column is the leaf node ID of the evolutionary tree, the second column is the color associated with the leaf node, each color represents a group, and the samples of different groups correspond to the corresponding color. Colors can be specified in hexadecimal (color values beginning with #), RGB notation.

annotate file beautification

Prepare the annotation file according to the above format, drag it directly to the location where the iTOL evolutionary tree is displayed, and you can automatically add a ring to the outer layer of the evolutionary tree. You can also fine-tune the ring position, width, thickness and color of the ring border in Datasets.

The above is all the content of this article "How to add grouping rings to the itol evolutionary tree", thank you for reading! Hope to share the content to help everyone, more relevant knowledge, welcome to pay attention to 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