Name

SWISS::ACs

Description

SWISS::ACs represents the \s-1AC\s0 (accession) lines within an SWISS-PROT + TrEMBL entry as specified in the user manual http://www.expasy.org/sprot/userman.html .

The SWISS-PROT format has recently been changed to multiple \s-1AC\s0 lines. This module will read

 Ordinary AC lines
    AC   P10585;

 The old temporary format (for internal use only)
    AC   Q57333; O08291; O08202; O08292; O08203; O08293; O08204; O08294;
    **   O08205; O08295; O08206; O08296; O08207; O08297; O08208; O08298;
    **   O08213;

 and the new format.
    AC   Q57333; O08291; O08202; O08292; O08203; O08293; O08204; O08294;
    AC   O08205; O08295; O08206; O08296; O08207; O08297; O08208; O08298;
    AC   O08213;

But, SWISS::ACs will \s-1DROP\s0 funny ** comment lines that are sometimes found following an \s-1AC\s0 line:

AC Q48558; P71434; ** MERGED 2 TREMBL ENTRIES.

This module will always write the new format with multiple \s-1AC\s0 lines.

Inherits from

SWISS::ListBase.pm

Attributes

This is an array containing a list of all the accession numbers associated with this entry. The first member will be the primary accession number, and any following are the secondary accession numbers.

Methods

Standard methods

new
fromText
toText
sort

This method sorts the secondary \s-1AC\s0 numbers alphanumerically, i.e. all but the first. The primary \s-1AC\s0 number must never be sorted.