---
name: "SWISS::SQs"
section: "3pm"
platform: "linux"
package: "libswiss-perl"
version: "1.80-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SWISS::SQs"
---

# SWISS::SQs(3pm)

## NAME

SWISS::SQs.pm

## DESCRIPTION

**SWISS::SQs** represents the SQ lines within an SWISS-PROT + TrEMBL entry as specified in the user manual http://www.expasy.org/sprot/userman.html .

## Inherits from

SWISS::BaseClass.pm

## Attributes

- "seq"

  The amino acid sequence in string representation.

- "length"

  The sequence length.

- "molWeight"

  The molecular weight.

- "crc"

  The CRC checksum of the sequence. This is recalculated using the `"SWISS::CRC64"` module.

## Methods

### Standard methods

- new

  - fromText

  - toText

  - update

  Should be called if the sequence has been modified.

### Specific methods

- calcMolWeight string

  Calculate the molecular weight for **string**.
