blend4php
v0.1
A PHP API for interacting with Galaxy
|
Public Member Functions | |
__construct (GalaxyInstance $galaxy) | |
create ($params) | |
index ($params=array()) | |
show ($params) | |
archiveDownload ($params) | |
archiveExport ($params) | |
deleteHistory ($params) | |
undelete ($params) | |
citations ($params) | |
published () | |
sharedWithMe () | |
GalaxyHistories::__construct | ( | GalaxyInstance | $galaxy | ) |
The Histories constructor.
GalaxyInstance | $galaxy | A GalaxyInstance object. |
GalaxyHistories::archiveDownload | ( | $params | ) |
Download a given history with indicated history id.
Corresponds to the Galaxy API method and path:
PUT /api/histories/{id}/exports' and: GET /api/histories/{id}/exports/{jeha_id}
$params | An associative array containing the input parameters for this function. The following parameters are available: |
GalaxyHistories::archiveExport | ( | $params | ) |
Start Job to create history export for corresponding history.
Corresponds to the Galaxy API method and path: PUT /api/histories/{id}/exports:
$params | An associative array containing the input parameters for this function. The following parameters are available: |
GalaxyHistories::citations | ( | $params | ) |
Retreive information of the citations of a specified history.
Corresponds to the Galaxy API method and path: GET /api/histories/{encoded_history_id}/citations
$params | An associative array containing the input parameters for this function. The following parameters are available: |
GalaxyHistories::create | ( | $params | ) |
Create a new History component in Galaxy.
Corresponds to the Galaxy API method and path: POST /api/histories:
Creates a new history in a galaxy instance Note the option to pass 'keys' and 'views' is currently not supported
$params | An associative array containing the input parameters for this function. The following parameters are available: |
GalaxyHistories::deleteHistory | ( | $params | ) |
Delete a specified history.
Corresponds to the Galaxy API method and path: DELETE /api/histories/{encoded_history_id}
$params | An associative array containing the input parameters for this function. The following parameters are available: |
GalaxyHistories::index | ( | $params = array() | ) |
Displays a collection of history components in Galaxy.
GET /api/histories and GET /api/histories/deleted
This function combines the list of active and deleted histories and therefore, corresponds to both of the Galaxy API methods and paths:
$params | An associative array containing the input parameters for this function. The following parameters are available: |
GalaxyHistories::published | ( | ) |
Retreive all histories that have been published.
Corresponds to the Galaxy API method and path: GET /api/histories/published:
GalaxyHistories::sharedWithMe | ( | ) |
Retreive all histories that are shared with the current user.
Corresponds to the Galaxy API method and path: GET /api/histories/shared_with_me:
GalaxyHistories::show | ( | $params | ) |
Retreive detailed information about a particular history component.
Corresponds to the Galaxy API method and path: POST /api/histories/{encoded_history_id}:
$params | An associative array containing the input parameters for this function. The following parameters are available: |
GalaxyHistories::undelete | ( | $params | ) |
Undelete a specified history.
Corresponds to the Galaxy API method and path: POST /api/histories/deleted/{encoded_history_id}
$params | An associative array containing the input parameters for this function. The following parameters are available: |