DOKK / manpages / debian 12 / libswiss-perl / SWISS::OXs.3pm.en
SWISS::OXs(3pm) User Contributed Perl Documentation SWISS::OXs(3pm)

SWISS::OXs

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.

SWISS::BaseClass.pm

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

  $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";
  }

Hey! The above document had some coding errors, which are explained below:

=back doesn't take any parameters, but you said =back =head1 Methods
2021-08-15 perl v5.32.1