AminoAcidSequence.fromSeq constructor

AminoAcidSequence.fromSeq(
  1. List<AminoAcid> sequence, {
  2. String? id,
  3. EnumAminoAcidSequenceDirection direction = EnumAminoAcidSequenceDirection.nToC,
  4. String? description,
  5. Map<String, dynamic>? info,
  6. Map<String, AminoAcidInfo>? aminoAcidInfo,
})

Generate from sequence data.

  • sequence : The list of AminoAcid.
  • 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.

Implementation

AminoAcidSequence.fromSeq(this.sequence,
    {this.id,
    this.direction = EnumAminoAcidSequenceDirection.nToC,
    this.description,
    this.info,
    this.aminoAcidInfo});