AminoAcidSequence.fromStr constructor
AminoAcidSequence.fromStr(
- String seq, {
- String? id,
- EnumAminoAcidSequenceDirection direction = EnumAminoAcidSequenceDirection.nToC,
- String? description,
- Map<
String, dynamic> ? info, - Map<
String, AminoAcidInfo> ? aminoAcidInfo,
Generate from string data.
seq
: The single-letter text for the amino acid. Only uppercase letters are allowed.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.fromStr(String seq,
{this.id,
this.direction = EnumAminoAcidSequenceDirection.nToC,
this.description,
this.info,
this.aminoAcidInfo}) {
sequence = UtilAminoAcid.convertFromStr(seq);
}