NucleotideSequence.fromSeq constructor
NucleotideSequence.fromSeq(
- List<
Nucleotide> sequence, { - EnumNucleotideSequenceType type = EnumNucleotideSequenceType.dna,
- String? id,
- EnumNucleotideSequenceDirection direction = EnumNucleotideSequenceDirection.fiveToThree,
- String? description,
- Map<
String, dynamic> ? info, - 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});