1.7 KiB
author | date | post_meta | tags | title | type | url | |||||
---|---|---|---|---|---|---|---|---|---|---|---|
James | 2015-11-01 19:50:52+00:00 |
|
|
SAPIENTA Web Service and CLI | posts | /2015/11/01/sapienta-web-service-and-cli/ |
Hoorah! After a number of weeks I’ve finally managed to get SAPIENTA running inside docker containers on our EBI cloud instance. You can try it out at http://sapienta.papro.org.uk/.
The project was previously running via a number of very precarious scripts that had a habit of stopping and not coming back up. Hopefully the new docker environment should be a lot more stable.
Another improvement I’ve made is to create a websocket interface for calling the service and a Python-based commandline client. If you’re interested I’m using socket.io and the relevent python libraries (server and client). This means that anyone who needs to can now request annotations in large batches. I’m planning on using socket.io to interface Partridge with SAPIENTA since they are hosted on separate servers and this approach avoids any complicated firewall issues.
This is also very good news for some of the data scientists who have wanted to use SAPIENTA but haven’t wanted (or been able) to take on the 2-3 hour installation process that the full blown server and pipeline require (and that’s on a good day). The websocket CLI is a very simple python script with a low number of dependencies so it should be up and running in 5 minutes or your money back.
To get your hands on this tool – see this bitbucket.