Template:ChadoTable phylonode

From GMOD
Jump to: navigation, search

This template is a Chado Table Template. It defines a single table from the Chado schema, and every Chado table has a template like this one. This template is automatically included in two places:

  1. The module page for the module the table is a part of. This is where updates and comments should be posted.
  2. The Chado Tables page, which lists all tables.

You can include this template anywhere you want to show the table description.


Table: phylonode
Module: Phylogeny

This is the most pervasive

      element in the phylogeny module, cataloging the "phylonodes" of
      tree graphs. Edges are implied by the parent_phylonode_id
      reflexive closure. For all nodes in a nested set implementation the left and right index will be *between* the parents left and right indexes.
phylonode columns
FK Name Type Description
phylonode_id serial PRIMARY KEY
phylotree phylotree_id integer UNIQUE#1

UNIQUE#2
NOT NULL

phylonode parent_phylonode_id integer Root phylonode can have null parent_phylonode_id value.
left_idx integer UNIQUE#1

NOT NULL

right_idx integer UNIQUE#2

NOT NULL

cvterm type_id integer Type: e.g. root, interior, leaf.
feature feature_id integer Phylonodes can have optional features attached to them e.g. a protein or nucleotide sequence usually attached to a leaf of the phylotree for non-leaf nodes, the feature may be a feature that is an instance of SO:match; this feature is the alignment of all leaf features beneath it.
label character varying(255)
distance double precision

Tables referencing phylonode via foreign key constraints: