Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dd-decaf/process-engine
Tool for performing long-running computations based on Resolwe
https://github.com/dd-decaf/process-engine
Last synced: 6 days ago
JSON representation
Tool for performing long-running computations based on Resolwe
- Host: GitHub
- URL: https://github.com/dd-decaf/process-engine
- Owner: DD-DeCaF
- Created: 2017-12-13T16:14:46.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-12T11:58:57.000Z (almost 7 years ago)
- Last Synced: 2024-11-09T14:25:54.118Z (2 months ago)
- Language: Python
- Homepage:
- Size: 24.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Tool for performing long-running computations
TODO: dockerize everything so it can be deployed on Docker Cloud
## Current local setup
Install the dependencies in virtualenv, remember to activate it in all the terminal windows
```
$ docker-compose up
```
In another terminal window
```
$ ./manage.py migrate
$ ./manage.py createsuperuser --username admin --email [email protected]
$ ./manage.py register
$ ./manage.py runserver
```
In another terminal window
```
$ ./manage.py runobservers
```
In another terminal window
```
$ ./manage.py runlistener
```
In another terminal window
```
$ celery -A modeling worker --queues=ordinary,hipri --loglevel=info
```To run the process with `reSDK`
```
pip install resdk
```
In Python shell
```python
In [1]: import resIn [2]: res = resdk.Resolwe(url='http://localhost:8000', username='admin', password='...')
In [3]: paths1 = res.run('pathways-predictor', input={'model': 'e_coli_core', 'product': 'ethanol', 'n_pathways': 1})
In [4]: paths1.update()
In [5]: paths1.status
Out[5]: 'PR'In [6]: paths1.update()
In [7]: paths1.status
Out[7]: 'OK'
```
You can see the results of the local runs in `data/data` directories