Sequence class Null safety

A model representation of a biological sequence.



desc String
Returns the sequence description.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
Returns the sequence ID.
read / write
len int
Returns the number of monomers in the sequence.
name String
Returns the sequence name.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
seq String
Returns the sequence.
type String
Returns the sequence type.


combinations({dynamic sorted = false}) List<String>
Returns every possible combination of this sequence. [...]
difference({required Sequence oSeq}) int
Returns the number of monomer differences between this sequence and oSeq.
findMotif({required String motif, dynamic overlap = true}) Map<String, dynamic>
Returns the indices of all motif matches. [...]
freq({bool norm = false, bool ignoreStopAA = false}) Map<String, double>
Returns the frequency of each monomer. [...]
info() Map<String, dynamic>
Returns information about the this sequence.
lenMinus({required String monomer}) int
Returns the length of this sequence with monomer removed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
reverse() String
Returns the reversed version of this sequence.
sharedMotif({required Sequence oSeq}) String
Returns the longest shared motif between this sequence and oSeq.
splice({required String motif}) String
Returns this sequence with all occurrences of motif removed.
toFASTA({required String path, required String filename}) Future<void>
Saves this sequence to a local file in FASTA format. [...]
toString() String
Returns a String representation of the info() function.


operator +(Sequence oSeq) String
Returns the String sequence combination between this and oSeq.
operator ==(Object other) bool
The equality operator. [...]