[nexml]
phylogenetic data in xmlThe future data exchange standard is here!
nexml is an exchange standard for representing phylogenetic data — inspired by the commonly used NEXUS format, but more robust and easier to process.
Schema module documentation
Description
This module defines concrete subclasses for the abstract character matrix components that all character matrices must implement. The subclasses defined here apply to RNA character data. In a verbose notation, this data is represented as the "state" attribute of the <cell> element, whose value-space is limited to the IUPAC single character nucleotide symbols (except T). In a compact notation, the same data is represented as a sequence of tokens (whitespace is allowed but has no meaning).
Other views (open in new window):
Complex types
RNAChar
Description
A concrete implementation of the AbstractChar element. In this implementation there is no reference to explicitly defined states, as we use the IUPAC standard. There may be a CodonPosition ("codon") attribute, and there must be an identifier ("id") that is of type xs:nonNegativeInteger to define the column number.
Inheritance
RNAChar restricts AbstractChar.
Attributes
| Name | Type | Usage |
| tokens | MSTokenLength | prohibited |
| states | xs:NCName | prohibited |
| codon | CodonPosition | optional |
| id | xs:NCName | required |
Substructures
- an element called "dict", instance of Dict (0..unbounded).
Definition source
<xs:complexType name="RNAChar"> <xs:complexContent> <xs:restriction base="AbstractChar"> <xs:sequence maxOccurs="1" minOccurs="1"> <xs:element maxOccurs="unbounded" minOccurs="0" name="dict" type="Dict"/> </xs:sequence> <xs:attribute name="tokens" type="MSTokenLength" use="prohibited"/> <xs:attribute name="states" type="xs:NCName" use="prohibited"/> <xs:attribute name="codon" type="CodonPosition" use="optional"/> <xs:attribute name="id" type="xs:NCName" use="required"/> </xs:restriction> </xs:complexContent> </xs:complexType>
[ Back to top ]
RNAFormat
Description
The RNAFormat class is the container of RNA column definitions.
Inheritance
RNAFormat restricts AbstractFormat.
Substructures
- an element called "char", instance of RNAChar (1..unbounded).
Definition source
<xs:complexType abstract="false" name="RNAFormat"> <xs:complexContent> <xs:restriction base="AbstractFormat"> <xs:sequence maxOccurs="1" minOccurs="1"> <xs:element maxOccurs="unbounded" minOccurs="1" name="char" type="RNAChar"/> </xs:sequence> </xs:restriction> </xs:complexContent> </xs:complexType>
[ Back to top ]
RNAMatrixObsRow
Description
This is a row in a matrix of RNA data containing granular observations.
Inheritance
RNAMatrixObsRow restricts AbstractObsRow.
Substructures
- an element called "dict", instance of Dict (0..unbounded).
- an element called "cell", instance of RNAObs (1..unbounded).
Definition source
<xs:complexType abstract="false" name="RNAMatrixObsRow"> <xs:complexContent> <xs:restriction base="AbstractObsRow"> <xs:sequence maxOccurs="1" minOccurs="1"> <xs:element maxOccurs="unbounded" minOccurs="0" name="dict" type="Dict"/> <xs:element maxOccurs="unbounded" minOccurs="1" name="cell" type="RNAObs"/> </xs:sequence> </xs:restriction> </xs:complexContent> </xs:complexType>
[ Back to top ]
RNAMatrixSeqRow
Description
This is a row in a matrix of RNA data containing raw sequence data.
Inheritance
RNAMatrixSeqRow restricts AbstractSeqRow.
Substructures
- an element called "dict", instance of Dict (0..unbounded).
- an element called "seq", instance of RNASeq (1..1).
Definition source
<xs:complexType abstract="false" name="RNAMatrixSeqRow"> <xs:complexContent> <xs:restriction base="AbstractSeqRow"> <xs:sequence maxOccurs="1" minOccurs="1"> <xs:element maxOccurs="unbounded" minOccurs="0" name="dict" type="Dict"/> <xs:element maxOccurs="1" minOccurs="1" name="seq" type="RNASeq"/> </xs:sequence> </xs:restriction> </xs:complexContent> </xs:complexType>
[ Back to top ]
RNAObs
Description
This is a single cell in a matrix containing a nucleotide observation.
Inheritance
RNAObs restricts AbstractObs.
Attributes
| Name | Type | Usage |
| char | xs:nonNegativeInteger | required |
| state | RNAToken | required |
Substructures
- an element called "dict", instance of Dict (0..unbounded).
Definition source
<xs:complexType abstract="false" name="RNAObs"> <xs:complexContent> <xs:restriction base="AbstractObs"> <xs:sequence maxOccurs="1" minOccurs="1"> <xs:element maxOccurs="unbounded" minOccurs="0" name="dict" type="Dict"/> </xs:sequence> <xs:attribute name="char" type="xs:nonNegativeInteger" use="required"/> <xs:attribute name="state" type="RNAToken" use="required"/> </xs:restriction> </xs:complexContent> </xs:complexType>
[ Back to top ]
RNAObsMatrix
Description
A matrix of rows with single character observations.
Inheritance
RNAObsMatrix restricts AbstractObsMatrix.
Substructures
- an element called "row", instance of RNAMatrixObsRow (1..unbounded).
Definition source
<xs:complexType abstract="false" name="RNAObsMatrix"> <xs:complexContent> <xs:restriction base="AbstractObsMatrix"> <xs:sequence maxOccurs="1" minOccurs="1"> <xs:element maxOccurs="unbounded" minOccurs="1" name="row" type="RNAMatrixObsRow"/> </xs:sequence> </xs:restriction> </xs:complexContent> </xs:complexType>
[ Back to top ]
RNASeqMatrix
Description
A matrix of rows with seq strings of type RNA.
Inheritance
RNASeqMatrix restricts AbstractSeqMatrix.
Substructures
- an element called "row", instance of RNAMatrixSeqRow (1..unbounded).
Definition source
<xs:complexType abstract="false" name="RNASeqMatrix"> <xs:complexContent> <xs:restriction base="AbstractSeqMatrix"> <xs:sequence maxOccurs="1" minOccurs="1"> <xs:element maxOccurs="unbounded" minOccurs="1" name="row" type="RNAMatrixSeqRow"/> </xs:sequence> </xs:restriction> </xs:complexContent> </xs:complexType>
[ Back to top ]
RnaCells
Description
A RNA characters block consisting of granular cells preceded by metadata.
Inheritance
RnaCells restricts AbstractCells.
Substructures
- an element called "dict", instance of Dict (0..unbounded).
- an element called "format", instance of RNAFormat (0..1).
- an element called "matrix", instance of RNAObsMatrix (1..1).
Definition source
<xs:complexType abstract="false" name="RnaCells"> <xs:complexContent> <xs:restriction base="AbstractCells"> <xs:sequence maxOccurs="1" minOccurs="1"> <xs:element maxOccurs="unbounded" minOccurs="0" name="dict" type="Dict"/> <xs:element maxOccurs="1" minOccurs="0" name="format" type="RNAFormat"/> <xs:element maxOccurs="1" minOccurs="1" name="matrix" type="RNAObsMatrix"/> </xs:sequence> </xs:restriction> </xs:complexContent> </xs:complexType>
[ Back to top ]
RnaSeqs
Description
A RNA characters block consisting of sequences preceded by metadata.
Inheritance
RnaSeqs restricts AbstractSeqs.
Substructures
- an element called "dict", instance of Dict (0..unbounded).
- an element called "format", instance of RNAFormat (0..1).
- an element called "matrix", instance of RNASeqMatrix (1..1).
Definition source
<xs:complexType abstract="false" name="RnaSeqs"> <xs:complexContent> <xs:restriction base="AbstractSeqs"> <xs:sequence maxOccurs="1" minOccurs="1"> <xs:element maxOccurs="unbounded" minOccurs="0" name="dict" type="Dict"/> <xs:element maxOccurs="1" minOccurs="0" name="format" type="RNAFormat"/> <xs:element maxOccurs="1" minOccurs="1" name="matrix" type="RNASeqMatrix"/> </xs:sequence> </xs:restriction> </xs:complexContent> </xs:complexType>
[ Back to top ]
Simple types
RNASeq
Description
This is a simple type that specifies a sequence of RNA characters, following IUPAC single character symbols for nucleotides (and ambiguities).
Inheritance
RNASeq restricts AbstractSeq.
Facets
| Type | Value |
| pattern | [ABCDGHKMNRSUVWXY\s]* |
Definition source
<xs:simpleType name="RNASeq"> <xs:restriction base="AbstractSeq"> <xs:pattern value="[ABCDGHKMNRSUVWXY\s]*"/> </xs:restriction> </xs:simpleType>
[ Back to top ]
RNAToken
Description
The RNAToken simple type is a restriction of AbstractSymbol that defines a token of a IUPAC single character nucleotide token.
Inheritance
RNAToken restricts AbstractSymbol.
Facets
| Type | Value |
| pattern | [ABCDGHKMNRSUVWXY] |
| length | 1 |
Definition source
<xs:simpleType name="RNAToken"> <xs:restriction base="AbstractSymbol"> <xs:pattern value="[ABCDGHKMNRSUVWXY]"/> <xs:length value="1"/> </xs:restriction> </xs:simpleType>
[ Back to top ]
See also
~/nexml/xsd/characters/rna.xsd includes the following other files:
~/nexml/xsd/characters/rna.xsd is included in:
This page summarizes the contents of schema file "~/nexml/xsd/characters/rna.xsd" as of revision 596. That schema file was last modified by rvos on 2008-05-20 14:48:49 -0400 (Tue, 20 May 2008), and this HTML summary page was generated on Wed Aug 20 22:25:32 2008.
inheritance tree
inclusions tree
schema source