# Bio.Nexus.StandardData module

Objects to represent NEXUS standard data type matrix coding.

exception Bio.Nexus.StandardData.NexusError

  Bases: `Exception`

  Provision for the management of Nexus exceptions.

  __firstlineno__ = 13
  __static_attributes__ = ()

class Bio.Nexus.StandardData.StandardData(data)

  Bases: `object`

  Create a StandardData iterable object.

  Each coding specifies t [type] => (std [standard], multi [multistate] or uncer [uncertain]) and d [data]

  __init__(data)

    Initialize the class.

  __len__()

    Return the length of the coding, use len(my_coding).

  __getitem__(arg)

    Pull out child by index.

  __iter__()

    Iterate over the items.

  __next__()

    Return next item.

  raw()

    Return the full coding as a python list.

  __str__()

    Return the full coding as a python string, use str(my_coding).

  __annotate_func__ = None
  __annotations_cache__ = {}
  __firstlineno__ = 17
  __static_attributes__ = ('_current_pos', '_data')

Biopython v: 1.86

Versions
  Previous
  Latest
  Develop

Biopython Project
  Homepage
  On GitHub