Skip to content
DNA to MIDI encoder
Ruby
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
cas9.gbk
dna_to_midi.rb
midifile.rb
rubisco.gbk
seq.ape
seq.fa
test.mid
test.rb

README.md

genova

Experimental DNA to MIDI encoder writen in my very primitive ruby

Warning

Hang in there, I'm just getting started with this git stuff so probably everything might be a bit of a mess.

Dependencies

Ruby 1.9

Bioruby (gem install bio)

Midifile by Pete Goodeve (http://www.goodeveca.net/midifile_rb/). It only works if you have it in the directory

Timidity (http://timidity.sourceforge.net)

A DNA sequence in fasta format or genbank/ape format (with extensions so that the script can recognize it)

Usage

ruby dna_to_midi.rb seq.fa or seq.ape

timidity out.mid

#License The MIT License (MIT) - Copyright (c) 2015 bpollakw

You can’t perform that action at this time.