blend4php
v0.1
A PHP API for interacting with Galaxy
|
Public Member Functions | |
__construct (GalaxyInstance $galaxy) | |
buildForRerun ($params) | |
inputs ($params) | |
outputs ($params) | |
show ($params) | |
index ($params) | |
create () | |
search ($params) | |
GalaxyJobs::__construct | ( | GalaxyInstance | $galaxy | ) |
The Jobs constructor.
GalaxyInstance | $galaxy | A GalaxyInstance object. |
GalaxyJobs::buildForRerun | ( | $params | ) |
Retreive a tool input template populated with this job's information.
Corresponds to the Galaxy Api/path at: GET /api/jobs/{encoded_job_id}/build_for_rerun This function is suitable for rerunning or rendering parameters of the job.
$params | An associative array containing the input parameters for this function. The following parameters are available: |
GalaxyJobs::create | ( | ) |
This function is not implemented by its python counterpart
NOTE: Creating/submitting a job is actually run under tools.py in the Galaxy api
GalaxyJobs::index | ( | $params | ) |
Retreive a list of jobs for current user.
Corresponds to the Galaxy Api method/path: GET /api/jobs
$params | An associative array containing the input parameters for this function. The following parameters are available: |
GalaxyJobs::inputs | ( | $params | ) |
Retreive the input datasets created from the specified job.
Corresponds to the Galaxy Api/path at: GET/api/jobs/{encoded_job_id}/inputs
$params | An associative array containing the input parameters for this function. The following parameters are available: |
GalaxyJobs::outputs | ( | $params | ) |
Retreive the output datasets created from the specified job.
Corresponds to the Galaxy Api/path at: GET/api/jobs/{encoded_job_id}/inputs.
$params | An associative array containing the input parameters for this function. The following parameters are available: |
GalaxyJobs::search | ( | $params | ) |
Search for previously created jobs.
Corresponds to the Galaxy api/path at: POST /api/jobs/search
This method is designed to scan the list of previously run jobs and find records of jobs that had the exact some input parameters and datasets. This can be used to minimize, the amount of repeated work, and simplyrecycle the old results.
$params | An associative array containing the input parameters for this function. The following parameters are available: |
GalaxyJobs::show | ( | $params | ) |
Retreive information about a specific job
Corresponds to the Galaxy API function/path: GET /api/jobs/{job_id}
$params | An associative array containing the input parameters for this function. The following parameters are available: |