BioRuby
Using BioRugy
=============
1. download Ruby
2. gem install bio
3. c:\>bioruby
#check input NA dnauence
dna = Bio::Sequence::NA.new("atgc atgc atgc atgc aaaa tttt")
dna5 = dna * 5
dna1000 = dna * 1000
dna1000.subseq(5671, 5673)
# show complement
dna.complement
dna.complement.reverse
# show translation
dna.translate
dna.translate.codes
dna.translate.names
dna.translate.composition
dna.translate.molecular_weight
# show gc percentage
dna.gc_percent
# show composition
dna.composition
# Restriction Enzyme
dna2 = Bio::Sequence::NA.new("atgc atgc atga attc attg attc")
cuts = dna2.cut_with_enzymes("EcoRI")
cuts.primary