SWISS::OXs


Name

SWISS::OXs

Back to Top


Description

SWISS::OXs represents the OX lines within an SWISS-PROT + TrEMBL entry as specified in the user manual http://www.expasy.org/sprot/userman.html . The OXs object is a container object which holds a list of SWISS::OX objects for each currently permitted taxonomic resource.

Back to Top


Inherits from

SWISS::BaseClass.pm

Back to Top


Attributes

NCBI_TaxID
  A ListBase object which holds a list of tax ids.

Standard methods

new
fromText
toText

Back to Top


Example

  $taxid = new SWISS::OX;
  $taxid->text('1234');
  $entry->OXs->NCBI_TaxID()->add($taxid);

  foreach my $taxid ($entry->OXs->NCBI_TaxID()->elements()) {
    print $taxid->text, "\n";
  }

Back to Top

 SWISS::OXs