DynamicServics + quip
1.5K
DynamicServices is a suit of web-services to run containerized algorithms on large bio-medical image data. It can used to run the algorithm on a region of interest (ROI) tile or on the whole image.
DynamicServices pulls an image ROI from an image server based on JSON orders. The following describes the workflow and underground architecture assumptions.
yum install curl-develyum install jsoncpp-devel or use http://ask.xmodulo.com/fix-fatal-error-jsoncpp.htmlhttps://github.com/hmartiro/redoxmkdir objmakeRefer to sample_config.json
DynamicServices requires following tools installed and setup
config.json update annotations.server and annotations.redis to IP address of Loader container.api_key_file as the API key of Bindaas(from Data container)config.json updated orders.kue and orders.redis with host and port of kue and redis./Configuration/api/config.php set ordering service as this Kue.To run use:
LD_LIBRARY_PATH=/usr/local/lib64/ ./dynamicservices config.json
To deploy using nohup:
LD_LIBRARY_PATH=/usr/local/lib64/ nohup ./dynamicservices config.json > dynamicservices.log &
To deploy inside an algorithm docker container. Take alogorithm image as base and use the given Dockerfile to build a new image with DynamicServices installed inside it. The given Dockerfile uses sbubmi/test_segmentation:latest as the base image.
docker build -t dynamic_services_segmentation .configs)config.json & api_key.json inside configsdocker run --net="host" -itd -v <path_to_configs>:/tmp/DynamicServices/configs dynamic_services_segmentation"api_key_file" should have the complete path inside the docker container.tail -f configs/dynamicservices.logAs soon as DynamicServices gets a notification about a new job on orders' Redis, it fetces the order from Kue for that job id. The order json is used to extract the case_id, subject_id and ROI information along with other algorithm parameters. DynamicServices then fetches the ROI using an image service and runs the algorithm on the tile with all the paramaters. The resultant zip file is then posted to the annotations server.
Content type
Image
Digest
Size
532.4 MB
Last updated
over 9 years ago
docker pull camicroscope/quip_dynamic