A python service to query the UniprotKB database through a JSON api.
This is a UniprotKB server to deploy into an intranet.
If you want to deploy this service on any GNU/Linux or OSX system you just need to execute:
$ pip install uniprotkbserver
If you want to improve this library, you should download the [github repository](https://github.com/ecolell/uniprotkbserver) and execute:
$ make deploy
On Ubuntu Desktop there are some other libraries not installed by default (zlibc curl libssl0.9.8 libbz2-dev libxslt-dev libxml-dev) which may need to be installed to use these library. Use the next command to automate the installation of the additional C libraries:
$ make ubuntu deploy
Also, you need to have the wget and awk packages installed.
To test all the project you should use the command:
$ make test
If you want to help us or report an issue join to us through the [Github issue tracker](https://github.com/ecolell/uniprotkbserver/issues).
To run the server you need to execute:
$ python -m uniprotkb
Before the start, the server it is going to update (when it is outdated) to the last version of the file uniprot_sprot.dat.gz (approximately 507MB), so be patient it can take a while.
You can make requests to [http://localhost:5002](http://localhost:5002), like: