blend-lib

BioCloudCentral.org, CloudMan, and Galaxy API library
Download

blend-lib Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Price:
  • FREE
  • Publisher Name:
  • Enis Afgan
  • Publisher web site:
  • http://blend.readthedocs.org/

blend-lib Tags


blend-lib Description

Blend is a Python library for interacting with BioCloudCentral.org, CloudMan, and Galaxy's API. Conceptually, it makes it possible to script and automate the process of cloud infrastrucutre provisioning and scaling, as well as running of analyses within Galaxy. In reality, it makes it possible to do things like this:- Create a CloudMan compute cluster, via an API and directly from your local machine:from blend.cloudman.launch import CloudManLaunchcml = CloudManLaunch('< your cloud access key >', '< your cloud secret key')cml.launch('Blend CloudMan', 'ami-< ID >', 'm1.small', 'password')cml.get_status()- Manipulate your CloudMan instance and react to the current needs:from blend.cloudman import CloudMancm = CloudMan("instance IP", "password")cm.initialize(type="Galaxy")cm.add_nodes(3)cluster_status = cm.get_status()cm.remove_nodes(2)- Interact with Galaxy via a straighforward API:from blend.galaxy import GalaxyInstancegi = GalaxyInstance('< Galaxy IP >', key='your API key')libs = gi.libraries.get_libraries()gi.workflows.show_workflow('workflow ID')gi.workflows.run_workflow('workflow ID', input_dataset_map)Product's homepage


blend-lib Related Software