Giter Club home page Giter Club logo

genomic-music's Introduction

Genomic Music

Making music from a genome. The genome should be provided as raw data (i.e., TCAGATCAA...)

Prerequisites

Install Biopython by pip install biopython
Install Lilypond. The executable shell script is included in the prereq folder.
Install timidity and lame

How to use

Have a one line text file that is a lower-case DNA sequence in the genomicData folder. The file for the oxytocin receptor for H. Sapiens is included
cd to the src folder
Run python tranlation.py ../genomicData/[FileName]
Run python music.py ../genomicData/[FileName + "_translated"] [Title] [Composer] [TagLine] > ../music.ly
Run lilypond ../music.ly
Run timidity music.midi -Ow -o - | lame - -b 64 music.mp3

Open music.pdf and look at your sheet music or play music.mp3 and listen to it.

genomic-music's People

Contributors

ritwikgupta avatar

Stargazers

Kaan Keskin avatar Ibrahim Alper Koc avatar  avatar Alex Gurrola avatar  avatar Angus H. avatar  avatar Joel Roggeman avatar michael avatar Shilpa Gollapudi avatar

Watchers

James Cloos avatar  avatar Ibrahim Alper Koc avatar

Forkers

channainfo

genomic-music's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.