Template:ChadoTable phylonode

Revision as of 08:35, 22 November 2010 by Clements (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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



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


right_idx integer UNIQUE#2


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:

  • [[Chado phylonode Module#Table: {{{2}}}|{{{2}}}]]