DATASET_STYLE #Style datasets allow the customization of branch and leaf label colors and styles. #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. #SEPARATOR TAB #SEPARATOR SPACE SEPARATOR COMMA #label is used in the legend table (can be changed later) DATASET_LABEL,example style #dataset color (can be changed later) COLOR,#ffff00 #=================================================================# # OPTIONAL SETTINGS # #=================================================================# #Each dataset can have a legend, which is defined using LEGEND_XXX fields below #For each row in the legend, there should be one shape, color and label. #Optionally, you can define an exact legend position using LEGEND_POSITION_X and LEGEND_POSITION_Y. To use automatic legend positioning, do NOT define these values #Optionally, shape scaling can be present (LEGEND_SHAPE_SCALES). For each shape, you can define a scaling factor between 0 and 1. #To order legend entries horizontally instead of vertically, set LEGEND_HORIZONTAL to 1 #Shape should be a number between 1 and 6, or any protein domain shape definition. #1: square #2: circle #3: star #4: right pointing triangle #5: left pointing triangle #6: checkmark #LEGEND_TITLE,Dataset legend #LEGEND_SCALE,1 #LEGEND_POSITION_X,100 #LEGEND_POSITION_Y,100 #LEGEND_HORIZONTAL,0 #LEGEND_SHAPES,1,2,3 #LEGEND_COLORS,#ff0000,#00ff00,#0000ff #LEGEND_LABELS,value1,value2,value3 #LEGEND_SHAPE_SCALES,1,1,0.5 #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 required for each node: #ID,TYPE,WHAT,COLOR,WIDTH_OR_SIZE_FACTOR,STYLE,BACKGROUND_COLOR # TYPE: can be either 'branch' or 'label'. 'branch' will apply customizations to the tree branches, while 'labels' apply to the leaf text labels # WHAT: can be either 'node' or 'clade', only relevant for internal tree nodes. 'Node' will apply the customization only to a single node, while 'clade' will apply to all child nodes as well. # COLOR: can be in hexadecimal, RGB or RGBA notation. If RGB or RGBA are used, dataset SEPARATOR cannot be comma. # WIDTH_OR_SIZE_FACTOR: for type 'branch', specifies the relative branch width, compared to the global branch width setting. # for type 'label', specifies the relative font size, compared to the global font size # STYLE: for type 'branch', can be either 'normal' or 'dashed' # for type 'label', can be one of 'normal', 'bold', 'italic' or 'bold-italic' # BACKGROUND_COLOR (optional): only relevant for type 'label', specifies the color of the label background. The value is optional. DATA #Examples #a single internal node's branch will be colored red with double branch width and dashed line #9606|184922,branch,node,#ff0000,2,dashed #node 9606 will have its label displayed in blue with bold italic font, and with yellow background #9606,label,node,#0000ff,1,bold-italic,#ffff00 #a clade starting at internal node 2190|2287 will have all its branches colored green #2190|2287,branch,clade,#00ff00,1,normal #all leaf labels in a clade will be displayed in red #2097|1502,label,clade,#ff0000,1,normal