blend4php
v0.1
A PHP API for interacting with Galaxy
|
Public Member Functions | |
__construct (GalaxyInstance $galaxy) | |
index ($params) | |
show ($params) | |
diagnostics ($params) | |
reload ($params) | |
build ($params) | |
citations ($params) | |
download ($params) | |
create ($params) | |
GalaxyTools::__construct | ( | GalaxyInstance | $galaxy | ) |
The Tools constructor.
GalaxyInstance | $galaxy | A GalaxyInstance object. |
GalaxyTools::build | ( | $params | ) |
Returns a tool model that includes its parameters. Returns a tool model including dynamic parameters and updated values.
Corresponds to the Galaxy API/path GET /api/tools/{tool_id}/build
$params | An associative array containing the input parameters for this function. The following parameters are available: |
GalaxyTools::citations | ( | $params | ) |
Retreive the citations for a given tool.
Corresponds to the Galaxy Api/path GET /api/tools/{tool_id}/citations
$params | An associative array containing the input parameters for this function. The following parameters are available: |
GalaxyTools::create | ( | $params | ) |
Executes a tool using specified inputs.
Corresponds to the Galaxy API/path at POST /api/tools
$params | An associative array containing the input parameters for this function. The following parameters are available: |
input_dataset_ids: Optional. An array of dataset id's where the tool should grab its inputs from. Please see the datasets class to obtain id's. Each element of the array is itself an associative array with a key of 'id' containing the dataset ID and an optional 'src' key if the src is anything other than 'hda'.
GalaxyTools::diagnostics | ( | $params | ) |
Return diagnostic information about a tool.
Corresponds to the Galaxy API/path at GET /api/tools/{tool_id}/diagnostics
$params | An associative array containing the input parameters for this function. The following parameters are available: |
GalaxyTools::download | ( | $params | ) |
Download a specified tool.
Corresponds to the Galaxy Api/Path at: GET /api/tools/{tool_id}/download
$params | An associative array containing the input parameters for this function. The following parameters are available: |
GalaxyTools::index | ( | $params | ) |
Retreive a list of tools defined by the parameters.
Corresponds to the Galaxy API/path: GET /api/tools:
$params | An associative array containing the input parameters for this function. The following parameters are available: |
GalaxyTools::reload | ( | $params | ) |
Reload specified tool.
Corresponds to the Galaxy Api/path GET /api/tools/{tool_id}/reload
$params | An associative array containing the input parameters for this function. The following parameters are available: |
GalaxyTools::show | ( | $params | ) |
Retreives detailed informaiton of a specific tool.
Corresponds to the Galaxy API/path GET /api/tools/{tool_id}
$params | An associative array containing the input parameters for this function. The following parameters are available: |