"DNA is source code for the most complex machine in the universe." --Randall Munroe, "What If?"
Code for playing around with genome data, human or otherwise.
See my blog posts at johnj.com for many more details.
lein spec # add `-a` to automatically retest after updating code.
First, download some .2bit
genome code from e.g.
http:https://hgdownload.cse.ucsc.edu/downloads.html. Or, use
resources/sacCer3.2bit
.
Then,
lein run <filename.2bit>
See also the commented-out example expressions in src/jenome/examples.clj
.
Copyright (C) 2012-2015 John Jacobsen
Distributed under the Eclipse Public License, the same as Clojure.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
(Basically, use at your own risk.)