bio-chembl
ChEMBL REST Web Service API client, parser and container classes.
REST API Client
# Show a web service URI
BioChEMBL::REST::ChEMBL_URI.compound("CHEMBL1")
# GET the XML data of the ChEMBL ID CHEMBL1
api = BioChEMBL::REST.new
api.compound("CHEMBL1")
Parser and container
cpd = BioChEMBL::Compound.find("CHEMBL1")
cpd.chemblId #=> "CHEMBL1"
cpd.slimes
ba = cpd.bioactivities
assay = BioChEMBL::Assay.find("CHEMBL1217643")
assay.bioactivities[0].target
assay.bioactivities[0].parent_compound
Note: this software is under active development!
Installation
gem install bio-chembl
Usage
require 'bio-chembl'
The API doc is online. For more code examples see the test files in the source tree.
Project home page
Information on the source tree, documentation, examples, issues and how to contribute, see
http://github.com/nakao/bio-chembl
The BioRuby community is on IRC server: irc.freenode.org, channel: #bioruby.
Todo list
- BioChEMBL::Target.find_by_refesq method.
- JSON output support (parser and address).
- ChEMBL RDF support.
- Local REST API server with local ChEMBL database.
Cite
If you use this software, please cite one of
- BioRuby: bioinformatics software for the Ruby programming language
- Biogem: an effective tool-based approach for scaling up open source software development in bioinformatics
Biogems.info
This Biogem is published at #bio-chembl
Copyright
Copyright (c) 2012 Mitsuteru Nakao. See LICENSE.txt for further details.