AminoAcidSequence class

Constructors

AminoAcidSequence(NucleotideSequence seq, {String? id, String? description, Map<String, dynamic>? info, Map<String, AminoAcidInfo>? aminoAcidInfo})
  • seq : The mRNA sequence.
  • id : This sequence id.
  • direction : sequence direction. 5'to3' or 3'to5' for mRNA sequence. This value is reversed for complemented objects.
  • description : The description of this sequence.
  • info : Other information of this sequence.
  • aminoAcidInfo : Reference for information by AminoAcid.
  • AminoAcidSequence.fromSeq(List<AminoAcid> sequence, {String? id, EnumAminoAcidSequenceDirection direction = EnumAminoAcidSequenceDirection.nToC, String? description, Map<String, dynamic>? info, Map<String, AminoAcidInfo>? aminoAcidInfo})
    Generate from sequence data.
    AminoAcidSequence.fromStr(String seq, {String? id, EnumAminoAcidSequenceDirection direction = EnumAminoAcidSequenceDirection.nToC, String? description, Map<String, dynamic>? info, Map<String, AminoAcidInfo>? aminoAcidInfo})
    Generate from string data.

    Properties

    aminoAcidInfo Map<String, AminoAcidInfo>?
    getter/setter pair
    description String?
    getter/setter pair
    direction EnumAminoAcidSequenceDirection
    getter/setter pair
    hashCode int
    The hash code for this object.
    no setterinherited
    id String?
    getter/setter pair
    info Map<String, dynamic>?
    getter/setter pair
    runtimeType Type
    A representation of the runtime type of the object.
    no setterinherited
    sequence List<AminoAcid>
    getter/setter pair

    Methods

    add(AminoAcidSequence seq, {bool useDirection = true}) → void
    (en) Combines this AminoAcidSequence with another AminoAcidSequence.
    deepCopy() AminoAcidSequence
    deep copy.
    length() int
    Return sequence length.
    noSuchMethod(Invocation invocation) → dynamic
    Invoked when a nonexistent method or property is accessed.
    inherited
    reverse() → void
    (en) Reverses the order of bases in this Sequence.
    reversed() AminoAcidSequence
    (en) Gets a new reversed Sequence.
    subSeq(int startIndex, [int? endIndex]) AminoAcidSequence
    (en) Get a partial sequence. Data other than sequence are copied.
    subSeqNonInfo(int startIndex, [int? endIndex]) AminoAcidSequence
    (en) Get a partial sequence. Data other than sequence are not copied. Use this when speed is a priority. return info and aminoAcidInfo will be null.
    toDict() Map<String, dynamic>
    to map.
    toStr() String
    (en) Returns text written in single letter(uppercase letter) notation. Direction is not considered.
    toString() String
    A string representation of this object.
    inherited

    Operators

    operator +(AminoAcidSequence seq) AminoAcidSequence
    operator ==(Object other) bool
    The equality operator.
    inherited

    Static Methods

    fromDict(Map<String, dynamic> src) AminoAcidSequence
    resume map.

    Constants

    className → const String
    version → const String