NucleotideSequence.fromSeq constructor

NucleotideSequence.fromSeq(
  1. List<Nucleotide> sequence, {
  2. EnumNucleotideSequenceType type = EnumNucleotideSequenceType.dna,
  3. String? id,
  4. EnumNucleotideSequenceDirection direction = EnumNucleotideSequenceDirection.fiveToThree,
  5. String? description,
  6. Map<String, dynamic>? info,
  7. Map<String, NucleotideInfo>? nucleotideInfo,
})

Generate from sequence data.

  • sequence : The list of Nucleotide.
  • type : DNA or RNA.
  • id : This sequence id.
  • direction : sequence direction. 5'to3' or 3'to5'. This value is reversed for complemented objects.
  • description : The description of this sequence.
  • info : Other information of this sequence.
  • nucleotideInfo : Reference for information by nucleotide.

Implementation

NucleotideSequence.fromSeq(this.sequence,
    {this.type = EnumNucleotideSequenceType.dna,
    this.id,
    this.direction = EnumNucleotideSequenceDirection.fiveToThree,
    this.description,
    this.info,
    this.nucleotideInfo});