DNA class
A model representation of a DNA sequence.
- Inheritance
Constructors
Properties
- desc ↔ String
-
Returns the sequence description.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String
-
Returns the sequence ID.
getter/setter pairinherited
- len → int
-
Returns the number of monomers in the sequence.
no setterinherited
- name ↔ String
-
Returns the sequence name.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seq → String
-
Returns the sequence.
no setterinherited
- type → String
-
Returns the sequence type.
no setterinherited
Methods
-
codonFreq(
{required String codon}) → int -
Returns the frequency of a specified
codon
.inherited -
combinations(
{dynamic sorted = false}) → List< String> -
Returns every possible combination of this sequence.
inherited
-
complementary(
{bool rev = false}) → String -
Returns the complementary strand to this sequence.
inherited
-
dHelixGeoLen(
) → double - Returns the length (nm) of this sequence if it were in double helical form.
-
dHelixTurns(
) → double - Returns the number of turns in this sequence if it were in double helical form.
-
difference(
{required Sequence oSeq}) → int -
Returns the number of monomer differences between this sequence and
oSeq
.inherited -
findMotif(
{required String motif, dynamic overlap = true}) → Map< String, dynamic> -
Returns the indices of all
motif
matches.inherited -
freq(
{bool norm = false, bool ignoreStopAA = false}) → Map< String, double> -
Returns the frequency of each monomer.
inherited
-
gcContent(
) → double -
Returns the percentage of Guanine and Cytosine nucleotides in this sequence.
inherited
-
info(
) → Map< String, dynamic> -
Returns information about the this sequence.
inherited
-
lenMinus(
{required String monomer}) → int -
Returns the length of this sequence with
monomer
removed.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
proteins(
{bool unique = false}) → List< String> -
Returns proteins from this sequence.
inherited
-
report(
{required String path, required String creator, required String title}) → Future< void> -
Generates and saves a DNA analysis report to
path
. -
restrictionSites(
{int minSiteLen = 4, int maxSiteLen = 8}) → Map< String, List< Map< >String, int> > - Returns the restriction sites of this sequence.
-
reverse(
) → String -
Returns the reversed version of this sequence.
inherited
-
Returns the longest shared motif between this sequence and
oSeq
.inherited -
splice(
{required String motif}) → String -
Returns this sequence with all occurrences of
motif
removed.inherited -
toFASTA(
{required String path, required String filename}) → Future< void> -
Saves this sequence to a local file in FASTA format.
inherited
-
toString(
) → String -
Returns a
String
representation of the info() function.inherited -
tranRatio(
{required DNA oSeq}) → double -
Returns the transition/transversion ratio between this sequence and
oSeq
. -
transcribe(
{int? startIdx}) → String - Returns the transcribed version of this sequence.
-
translate(
{dynamic rev = false, dynamic startIdx = 0}) → Map< String, dynamic> -
Returns the translated version of this sequence.
inherited
Operators
-
operator +(
Sequence oSeq) → String -
Returns the
String
sequence combination between this andoSeq
.inherited -
operator ==(
Object other) → bool -
The equality operator.
inherited