Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: d1987512e0
Fetching contributors…

Cannot retrieve contributors at this time

44 lines (25 sloc) 0.956 kB

ensembl

An experimental Clojure API wrapping the excellent Java Ensembl library JEnsembl, http://jensembl.sourceforge.net/.

This is alpha software: it is incomplete and the API is subject to change.

Please drop me a line if you would like to help with this effort or have suggestions for how the API should shape up.

Usage

(use 'ensembl.core)

(def ensreg (registry :ensembldb))

(with-registry ensreg
  (list-species)
  (chromosome "human" "20")
  (gene "human" "ENSG00000153551"))

Alternatively, set the registry for your session:

(set-registry! ensreg)

(list-species)

(list-species :binomial)

(chromosome "human" "20")

(list-chromosomes "human")

(genes-on-region "human" "chr20" 1 100000)

(genes-on-region (chromoosme "human" "20" 1 100000))

License

Copyright (C) 2012 Ray Miller ray@1729.org.uk.

Distributed under the Eclipse Public License, the same as Clojure.

Jump to Line
Something went wrong with that request. Please try again.