- or download this
CT => ["A", 0.7, "G", 1],
GA => ["T", 0.8, "C", 1],
GC => ["A", 0.2, "T", 1],
GT => ["A", 1],
- or download this
AAA => 0.0335,
CCC => 0.0158,
...
TTT => 0.0350,
GCG => 0.0030,
...
- or download this
package Markov::Ndimensional;
...
return $howmany;
}
1;
- or download this
#!/usr/bin/env perl
...
return "Usage : $0 <options>\n";
}
1;
- or download this
#!/usr/bin/env perl
...
return "Usage : $0 <options>\n";
}
1;
- or download this
#!/usr/bin/env perl
...
return "Usage : $0 <options>\n";
}
1;
- or download this
$ wget ftp://ftp.ncbi.nih.gov/genomes/Homo_sapiens/CHR_20/hs_ref_GRCh3
+8.p12_chr20.fa.gz # warning ~100MB
# this will build the 3-dim probability distribution of the input DNA
+seq and serialise it to the state file
...
# now work with some text, e.g http://www.gutenberg.org/files/84/84-0.
+txt (easy on the gutenberg servers!!!)
$ analyse_text.pl --input-corpus ShelleyFrankenstein.txt --ngram-lengt
+h 2 --output-state shelley.state
$ predict_text.pl --input-state shelley.state