Bioclipse-OpenTox demo
Upcoming SlideShare
Loading in...5
×
 

Bioclipse-OpenTox demo

on

  • 3,398 views

Last week I demoed Bioclipse-OpenTox, and the scripting in Bioclipse in particular, and the semantic web foundations of Bioclipse-OpenTox.

Last week I demoed Bioclipse-OpenTox, and the scripting in Bioclipse in particular, and the semantic web foundations of Bioclipse-OpenTox.

Statistics

Views

Total Views
3,398
Views on SlideShare
2,041
Embed Views
1,357

Actions

Likes
0
Downloads
4
Comments
0

45 Embeds 1,357

http://planetrdf.com 581
http://chem-bla-ics.blogspot.com 203
http://pele.farmbio.uu.se 184
http://cloud.feedly.com 83
http://chem-bla-ics.blogspot.nl 64
http://chem-bla-ics.blogspot.de 32
http://chem-bla-ics.blogspot.co.uk 31
http://newsblur.com 25
http://chem-bla-ics.blogspot.se 14
http://chem-bla-ics.blogspot.ca 12
http://130.238.45.240 12
http://chem-bla-ics.blogspot.com.es 9
http://www.infominder.com 9
http://chem-bla-ics.blogspot.it 9
http://chem-bla-ics.blogspot.sg 9
http://chem-bla-ics.blogspot.in 8
http://www.newsblur.com 7
http://www.feedspot.com 7
http://nrnb.org 6
http://chem-bla-ics.blogspot.fr 5
http://chem-bla-ics.blogspot.com.br 4
http://chem-bla-ics.blogspot.tw 4
http://chem-bla-ics.blogspot.com.au 4
http://chem-bla-ics.blogspot.fi 4
http://chem-bla-ics.blogspot.ru 4
http://chem-bla-ics.blogspot.ch 3
http://reader.eruditorum.fr 2
http://feeds.feedburner.com 2
http://chem-bla-ics.blogspot.kr 2
http://chem-bla-ics.blogspot.mx 2
http://chem-bla-ics.blogspot.jp 2
http://chem-bla-ics.blogspot.ie 1
http://xianguo.com 1
http://chem-bla-ics.blogspot.dk 1
http://chem-bla-ics.blogspot.co.nz 1
http://chem-bla-ics.blogspot.cz 1
http://www.mefeedia.com 1
http://rdface.aksw.org 1
http://localhost 1
http://silverreader.com 1
http://chem-bla-ics.blogspot.com.ar 1
http://www.linkedin.com 1
http://reader.opperman.net 1
http://127.0.0.1 1
http://reader.byagowi.com 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Bioclipse-OpenTox demo Bioclipse-OpenTox demo Presentation Transcript

  • Using standards to gain interoperability: Bioclipse-OpenTox scripting Egon Willighagen BiGCaT - Maastricht University 17 May 2012Department of Bioinformatics - BiGCaT 1
  • Managers: the vital organs of Bioclipse Some theory ● Make sure that things happen ● They provide all domain-related functionality ● All Bioclipse GUI is using managers in the background ● Takes care of threading (background processes) ● They are plugged into the system ● Bioclipse dynamically discovers managers when booted ● Extend the JavaScript Console (also Groovy) Spjuth, O., Alvarsson, J., Berg, A., Eklund, M., Kuhn, S., Mäsak, C., Torrance, G., Wagener, J., Willighagen, E. L., Steinbeck, C., Wikberg, J. E., Dec. 2009. Bioclipse 2: A scriptable integration platform for the life sciences. BMC Bioinformatics 10 (1), 397+.Department of Bioinformatics - BiGCaT 2
  • Many managers... Core bioclipse: latex, ui, bioclipse, xml, js, balloon, cdk, rdf, inchi, cml, moltable, jcp, jcpprops Additional libraries: bridgedb, metfrag, metware, joelib, oscar, opsin, r, pellet, specmol, spectrum, bibtex, owl, ds, qsar, ambit, structuredb Online services: cir, opentox, google, gist, myexperiment, sadi, pubchem, pubmed, nmrshiftdb, twitter … and more.Department of Bioinformatics - BiGCaT 3
  • JavaScript ConsoleDepartment of Bioinformatics - BiGCaT 4
  • TAB TAB • Discover manager in the JavaScript console with: 1) TAB TAB (auto-completion) 2) manDepartment of Bioinformatics - BiGCaT 5
  • man <manager> • Discover what functionality a manager hasDepartment of Bioinformatics - BiGCaT 6
  • Ctrl-N → JavaScript editor • Ctrl-N → JavaScript Wizard → Editor → Save As …Department of Bioinformatics - BiGCaT 7
  • Running JavaScripts in the Editor • JavaScript Editor → Run → ActionDepartment of Bioinformatics - BiGCaT 8
  • Managers can be combined ... var alkanesIUPACNames = ["methane", "ethane", "propane", "butane"]; var alkanes = cdk.createMoleculeList() for (var i=0; i<alkanesIUPACNames.length; i++) { js.say("Adding: " + alkanesIUPACNames[i]); alkanes.add( opsin.parseIUPACName(alkanesIUPACNames[i]) ); } var filename = "/OpenTox/alkanes.sdf"; cdk.saveSDFile(filename, alkanes); ui.open(filename);Department of Bioinformatics - BiGCaT 9
  • OpenTox: downloading data sets var service = "http://apps.ideaconsult.net:8080/ambit2/"; var datasets = opentox.listDataSets(service); for (set=0; set<5; set++) { var dataset = datasets.get(set); js.say("Downloading set: " + dataset); ui.open( opentox.downloadDataSetAsMDLSDfile( service, dataset, "/OpenTox/ambit/" + set + ".sdf" ) ) }Department of Bioinformatics - BiGCaT 10
  • OpenTox: download-ed data setsDepartment of Bioinformatics - BiGCaT 11
  • OpenTox: authentication opentox.getToken(); // return a null // log in on the OpenTox network opentox.login("user", "password") opentox.getToken(); // returns the active token // log out again opentox.logout() opentox.getToken(); // return againDepartment of Bioinformatics - BiGCaT 12
  • OpenTox: XLogP calculation molecules = cdk.createMoleculeList(); molecules.add(cdk.fromSMILES("COC")); molecules.add(cdk.fromSMILES("CNC")); js.say(opentox.calculateDescriptor(service, descriptor, molecules)); js.say(opentox.calculateDescriptor( service, descriptor, cdk.fromSMILES("CCC") ));Department of Bioinformatics - BiGCaT 13
  • OpenTox: running models models = opentox.listModels(ontologyService); model = models.get(3); // third model js.say( opentox.predictWithModel( service, model, molecules ) );Department of Bioinformatics - BiGCaT 14
  • Under the hood... Internally, the opentox manager uses RDF and SPARQL for a lot of communication with the OpenTox network. For this, it uses the rdf manager. For example, directly to the ontology server: 1. rdf.sparqlRemote(String url, String SPARQL) Or to a REST service: 1. rdf.createInMemoryStore() 2. rdf.importFromStream(IRDFStore store, InputStream stream, String format) 3. rdf.sparql(IRDFStore store, String query)Department of Bioinformatics - BiGCaT 15
  • Where to get more scripts ...Department of Bioinformatics - BiGCaT 16
  • Future ... • Continued development • Computation without downloading data (pass by reference) • More ontology development for further standardization Pointers ● Bug tracker: http://bugs.bioclipse.net/ ● Feature requests: http://wishes.bioclipse.net/Department of Bioinformatics - BiGCaT 17
  • OpenTox: public, private, local!• AMBIT2 (IdeaConsult Ltd., Nina) http://apps.ideaconsult.net:8080/ambit2/• localhost:8080• ambitserverDepartment of Bioinformatics - BiGCaT 18
  • Delivering Bioclipse plugins...Department of Bioinformatics - BiGCaT 19