Warning
This document is for an old release of Galaxy. You can alternatively view this page in the latest release if it exists or view the top of the latest release's documentation.
galaxy.webapps.galaxy.controllers package¶
Galaxy web controllers.
Submodules¶
galaxy.webapps.galaxy.controllers.admin module¶
-
class
galaxy.webapps.galaxy.controllers.admin.
UserListGrid
[source]¶ Bases:
galaxy.web.framework.helpers.grids.Grid
-
class
EmailColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
class
UserNameColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
class
StatusColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
class
GroupsColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
class
RolesColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
class
ExternalColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
class
LastLoginColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
class
TimeCreatedColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
class
ActivatedColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
class
APIKeyColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
title
= 'Users'¶
-
title_id
= 'users-grid'¶
-
model_class
¶ alias of
galaxy.model.User
-
default_sort_key
= 'email'¶
-
columns
= [<galaxy.webapps.galaxy.controllers.admin.EmailColumn object>, <galaxy.webapps.galaxy.controllers.admin.UserNameColumn object>, <galaxy.webapps.galaxy.controllers.admin.GroupsColumn object>, <galaxy.webapps.galaxy.controllers.admin.RolesColumn object>, <galaxy.webapps.galaxy.controllers.admin.ExternalColumn object>, <galaxy.webapps.galaxy.controllers.admin.LastLoginColumn object>, <galaxy.webapps.galaxy.controllers.admin.StatusColumn object>, <galaxy.webapps.galaxy.controllers.admin.TimeCreatedColumn object>, <galaxy.webapps.galaxy.controllers.admin.ActivatedColumn object>, <galaxy.webapps.galaxy.controllers.admin.APIKeyColumn object>, <galaxy.web.framework.helpers.grids.DeletedColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
-
global_actions
= [<galaxy.web.framework.helpers.grids.GridAction object>]¶
-
operations
= [<galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>]¶
-
standard_filters
= [<galaxy.web.framework.helpers.grids.GridColumnFilter object>, <galaxy.web.framework.helpers.grids.GridColumnFilter object>, <galaxy.web.framework.helpers.grids.GridColumnFilter object>, <galaxy.web.framework.helpers.grids.GridColumnFilter object>]¶
-
num_rows_per_page
= 50¶
-
use_paging
= True¶
-
class
-
class
galaxy.webapps.galaxy.controllers.admin.
RoleListGrid
[source]¶ Bases:
galaxy.web.framework.helpers.grids.Grid
-
class
NameColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
class
DescriptionColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
class
TypeColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
class
StatusColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
class
GroupsColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
class
UsersColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
title
= 'Roles'¶
-
title_id
= 'roles-grid'¶
-
model_class
¶ alias of
galaxy.model.Role
-
default_sort_key
= 'name'¶
-
columns
= [<galaxy.webapps.galaxy.controllers.admin.NameColumn object>, <galaxy.webapps.galaxy.controllers.admin.DescriptionColumn object>, <galaxy.webapps.galaxy.controllers.admin.TypeColumn object>, <galaxy.webapps.galaxy.controllers.admin.GroupsColumn object>, <galaxy.webapps.galaxy.controllers.admin.UsersColumn object>, <galaxy.webapps.galaxy.controllers.admin.StatusColumn object>, <galaxy.web.framework.helpers.grids.DeletedColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
-
global_actions
= [<galaxy.web.framework.helpers.grids.GridAction object>]¶
-
operations
= [<galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>]¶
-
standard_filters
= [<galaxy.web.framework.helpers.grids.GridColumnFilter object>, <galaxy.web.framework.helpers.grids.GridColumnFilter object>, <galaxy.web.framework.helpers.grids.GridColumnFilter object>]¶
-
num_rows_per_page
= 50¶
-
use_paging
= True¶
-
class
-
class
galaxy.webapps.galaxy.controllers.admin.
GroupListGrid
[source]¶ Bases:
galaxy.web.framework.helpers.grids.Grid
-
class
NameColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
class
StatusColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
class
RolesColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
class
UsersColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
title
= 'Groups'¶
-
title_id
= 'groups-grid'¶
-
model_class
¶ alias of
galaxy.model.Group
-
default_sort_key
= 'name'¶
-
columns
= [<galaxy.webapps.galaxy.controllers.admin.NameColumn object>, <galaxy.webapps.galaxy.controllers.admin.UsersColumn object>, <galaxy.webapps.galaxy.controllers.admin.RolesColumn object>, <galaxy.webapps.galaxy.controllers.admin.StatusColumn object>, <galaxy.web.framework.helpers.grids.DeletedColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
-
global_actions
= [<galaxy.web.framework.helpers.grids.GridAction object>]¶
-
operations
= [<galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>]¶
-
standard_filters
= [<galaxy.web.framework.helpers.grids.GridColumnFilter object>, <galaxy.web.framework.helpers.grids.GridColumnFilter object>, <galaxy.web.framework.helpers.grids.GridColumnFilter object>]¶
-
num_rows_per_page
= 50¶
-
use_paging
= True¶
-
class
-
class
galaxy.webapps.galaxy.controllers.admin.
QuotaListGrid
[source]¶ Bases:
galaxy.web.framework.helpers.grids.Grid
-
class
NameColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
class
DescriptionColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
class
AmountColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
class
StatusColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
class
UsersColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
class
GroupsColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
title
= 'Quotas'¶
-
model_class
¶ alias of
galaxy.model.Quota
-
default_sort_key
= 'name'¶
-
columns
= [<galaxy.webapps.galaxy.controllers.admin.NameColumn object>, <galaxy.webapps.galaxy.controllers.admin.DescriptionColumn object>, <galaxy.webapps.galaxy.controllers.admin.AmountColumn object>, <galaxy.webapps.galaxy.controllers.admin.UsersColumn object>, <galaxy.webapps.galaxy.controllers.admin.GroupsColumn object>, <galaxy.webapps.galaxy.controllers.admin.StatusColumn object>, <galaxy.web.framework.helpers.grids.DeletedColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
-
global_actions
= [<galaxy.web.framework.helpers.grids.GridAction object>]¶
-
operations
= [<galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>]¶
-
standard_filters
= [<galaxy.web.framework.helpers.grids.GridColumnFilter object>, <galaxy.web.framework.helpers.grids.GridColumnFilter object>, <galaxy.web.framework.helpers.grids.GridColumnFilter object>]¶
-
num_rows_per_page
= 50¶
-
use_paging
= True¶
-
class
-
class
galaxy.webapps.galaxy.controllers.admin.
ToolVersionListGrid
[source]¶ Bases:
galaxy.web.framework.helpers.grids.Grid
-
class
ToolIdColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
class
ToolVersionsColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
title
= 'Tool versions'¶
-
model_class
¶
-
default_sort_key
= 'tool_id'¶
-
columns
= [<galaxy.webapps.galaxy.controllers.admin.ToolIdColumn object>, <galaxy.webapps.galaxy.controllers.admin.ToolVersionsColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
-
global_actions
= []¶
-
operations
= []¶
-
standard_filters
= []¶
-
default_filter
= {}¶
-
num_rows_per_page
= 50¶
-
use_paging
= True¶
-
class
-
class
galaxy.webapps.galaxy.controllers.admin.
AdminGalaxy
(app)[source]¶ Bases:
galaxy.web.base.controller.JSAppLauncher
,galaxy.actions.admin.AdminActions
,galaxy.web.base.controller.UsesQuotaMixin
,galaxy.web.params.QuotaParamParser
-
user_list_grid
= <galaxy.webapps.galaxy.controllers.admin.UserListGrid object>¶
-
role_list_grid
= <galaxy.webapps.galaxy.controllers.admin.RoleListGrid object>¶
-
group_list_grid
= <galaxy.webapps.galaxy.controllers.admin.GroupListGrid object>¶
-
quota_list_grid
= <galaxy.webapps.galaxy.controllers.admin.QuotaListGrid object>¶
-
tool_version_list_grid
= <galaxy.webapps.galaxy.controllers.admin.ToolVersionListGrid object>¶
-
delete_operation
= <galaxy.web.framework.helpers.grids.GridOperation object>¶
-
undelete_operation
= <galaxy.web.framework.helpers.grids.GridOperation object>¶
-
purge_operation
= <galaxy.web.framework.helpers.grids.GridOperation object>¶
-
impersonate_operation
= <galaxy.web.framework.helpers.grids.GridOperation object>¶
-
-
galaxy.webapps.galaxy.controllers.admin.
get_user
(trans, user_id)[source]¶ Get a User from the database by id.
-
galaxy.webapps.galaxy.controllers.admin.
get_role
(trans, id)[source]¶ Get a Role from the database by id.
galaxy.webapps.galaxy.controllers.admin_toolshed module¶
-
class
galaxy.webapps.galaxy.controllers.admin_toolshed.
AdminToolshed
(app)[source]¶ Bases:
galaxy.webapps.galaxy.controllers.admin.AdminGalaxy
-
installed_repository_grid
= <tool_shed.galaxy_install.grids.admin_toolshed_grids.InstalledRepositoryGrid object>¶
-
activate_repository
(trans, *args, **kwargs)[source]¶ Activate a repository that was deactivated but not uninstalled.
-
check_for_updates
(trans, *args, **kwargs)[source]¶ Send a request to the relevant tool shed to see if there are any updates.
-
deactivate_or_uninstall_repository
(trans, *args, **kwargs)[source]¶ Handle all changes when a tool shed repository is being deactivated or uninstalled. Notice that if the repository contents include a file named tool_data_table_conf.xml.sample, its entries are not removed from the defined config.shed_tool_data_table_config. This is because it becomes a bit complex to determine if other installed repositories include tools that require the same entry. For now we’ll never delete entries from config.shed_tool_data_table_config, but we may choose to do so in the future if it becomes necessary.
-
display_image_in_repository
(trans, **kwd)[source]¶ Open an image file that is contained in an installed tool shed repository or that is referenced by a URL for display. The image can be defined in either a README.rst file contained in the repository or the help section of a Galaxy tool config that is contained in the repository. The following image definitions are all supported. The former $PATH_TO_IMAGES is no longer required, and is now ignored. .. image:: https://raw.github.com/galaxy/some_image.png .. image:: $PATH_TO_IMAGES/some_image.png .. image:: /static/images/some_image.gif .. image:: some_image.jpg .. image:: /deep/some_image.png
-
generate_workflow_image
(trans, *args, **kwargs)[source]¶ Return an svg image representation of a workflow dictionary created when the workflow was exported.
-
get_tool_dependencies
(trans, *args, **kwargs)[source]¶ Send a request to the appropriate tool shed to retrieve the dictionary of tool dependencies defined for the received repository name, owner and changeset revision. The received repository_id is the encoded id of the installed tool shed repository in Galaxy. We need it so that we can derive the tool shed from which it was installed.
-
get_updated_repository_information
(trans, *args, **kwargs)[source]¶ Send a request to the appropriate tool shed to retrieve the dictionary of information required to reinstall an updated revision of an uninstalled tool shed repository.
-
import_workflow
(trans, *args, **kwargs)[source]¶ Import a workflow contained in an installed tool shed repository into Galaxy.
-
initiate_tool_dependency_installation
(trans, *args, **kwargs)[source]¶ Install specified dependencies for repository tools. The received list of tool_dependencies are the database records for those dependencies defined in the tool_dependencies.xml file (contained in the repository) that should be installed. This allows for filtering out dependencies that have not been checked for installation on the ‘Manage tool dependencies’ page for an installed tool shed repository.
-
install_latest_repository_revision
(trans, *args, **kwargs)[source]¶ Install the latest installable revision of a repository that has been previously installed.
-
install_tool_dependencies_with_update
(trans, *args, **kwargs)[source]¶ Updating an installed tool shed repository where new tool dependencies but no new repository dependencies are included in the updated revision.
-
purge_repository
(trans, *args, **kwargs)[source]¶ Purge a “white ghost” repository from the database.
-
reinstall_repository
(trans, *args, **kwargs)[source]¶ Reinstall a tool shed repository that has been previously uninstalled, making sure to handle all repository and tool dependencies of the repository.
-
reselect_tool_panel_section
(trans, *args, **kwargs)[source]¶ Select or change the tool panel section to contain the tools included in the tool shed repository being reinstalled. If there are updates available for the repository in the tool shed, the tool_dependencies and repository_dependencies associated with the updated changeset revision will have been retrieved from the tool shed and passed in the received kwd. In this case, the stored tool shed repository metadata from the Galaxy database will not be used since it is outdated.
-
reset_repository_metadata
(trans, *args, **kwargs)[source]¶ Reset all metadata on a single installed tool shed repository.
-
reset_to_install
(trans, *args, **kwargs)[source]¶ An error occurred while cloning the repository, so reset everything necessary to enable another attempt.
-
galaxy.webapps.galaxy.controllers.async module¶
Upload class
-
class
galaxy.webapps.galaxy.controllers.async.
ASync
(app)[source]¶
galaxy.webapps.galaxy.controllers.authnz module¶
OAuth 2.0 and OpenID Connect Authentication and Authorization Controller.
-
class
galaxy.webapps.galaxy.controllers.authnz.
OIDC
(app)[source]¶ Bases:
galaxy.web.base.controller.BaseUIController
-
index
(trans, *args, **kwargs)[source]¶ - GET /api/authnz/
- returns a list of third-party identities associated with the user.
Parameters: - trans (galaxy.web.framework.webapp.GalaxyWebTransaction) – Galaxy web transaction.
- kwargs – empty dict
Return type: list of dicts
Returns: a list of third-party identities associated with the user account.
-
galaxy.webapps.galaxy.controllers.biostar module¶
Controller for integration with the Biostar application
-
class
galaxy.webapps.galaxy.controllers.biostar.
BiostarController
(app)[source]¶ Bases:
galaxy.web.base.controller.BaseUIController
Provides integration with Biostar through external authentication, see: http://liondb.com/help/x/
-
biostar_redirect
(trans, payload=None, biostar_action=None)[source]¶ Generate a redirect to a Biostar site using external authentication to pass Galaxy user information and optional information about a specific tool.
-
biostar_tool_tag_redirect
(trans, tool_id=None)[source]¶ Generate a redirect to a Biostar site using tag for tool.
-
biostar_question_redirect
(trans, payload=None)[source]¶ Generate a redirect to a Biostar site using external authentication to pass Galaxy user information and information about a specific tool.
-
biostar_tool_question_redirect
(trans, tool_id=None)[source]¶ Generate a redirect to a Biostar site using external authentication to pass Galaxy user information and information about a specific tool.
-
galaxy.webapps.galaxy.controllers.data_manager module¶
galaxy.webapps.galaxy.controllers.dataset module¶
-
class
galaxy.webapps.galaxy.controllers.dataset.
HistoryDatasetAssociationListGrid
[source]¶ Bases:
galaxy.web.framework.helpers.grids.Grid
-
class
HistoryColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
class
StatusColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
title
= 'Saved Datasets'¶
-
model_class
¶
-
default_sort_key
= '-update_time'¶
-
columns
= [<galaxy.web.framework.helpers.grids.TextColumn object>, <galaxy.webapps.galaxy.controllers.dataset.HistoryColumn object>, <galaxy.web.framework.helpers.grids.IndividualTagsColumn object>, <galaxy.webapps.galaxy.controllers.dataset.StatusColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
-
operations
= [<galaxy.web.framework.helpers.grids.GridOperation object>]¶
-
standard_filters
= []¶
-
default_filter
= {'deleted': 'False', 'name': 'All', 'tags': 'All'}¶
-
use_paging
= True¶
-
num_rows_per_page
= 50¶
-
class
-
class
galaxy.webapps.galaxy.controllers.dataset.
DatasetInterface
(app)[source]¶ Bases:
galaxy.web.base.controller.BaseUIController
,galaxy.model.item_attrs.UsesAnnotations
,galaxy.model.item_attrs.UsesItemRatings
,galaxy.web.base.controller.UsesExtendedMetadataMixin
-
stored_list_grid
= <galaxy.webapps.galaxy.controllers.dataset.HistoryDatasetAssociationListGrid object>¶
-
get_metadata_file
(trans, hda_id, metadata_name)[source]¶ Allows the downloading of metadata files associated with datasets (eg. bai index for bam files)
-
transfer_status
(trans, *args, **kwargs)[source]¶ Primarily used for the S3ObjectStore - get the status of data transfer if the file is not in cache
-
display
(trans, dataset_id=None, preview=False, filename=None, to_ext=None, offset=None, ck_size=None, **kwd)[source]¶
-
get_edit
(trans, *args, **kwargs)[source]¶ Produces the input definitions available to modify dataset attributes
-
imp
(trans, dataset_id=None, **kwd)[source]¶ Import another user’s dataset via a shared URL; dataset is added to user’s current history.
-
set_accessible_async
(trans, *args, **kwargs)[source]¶ Does nothing because datasets do not have an importable/accessible attribute. This method could potentially set another attribute.
-
rate_async
(trans, *args, **kwargs)[source]¶ Rate a dataset asynchronously and return updated community data.
-
display_by_username_and_slug
(trans, username, slug, filename=None, preview=True)[source]¶ Display dataset by username and slug; because datasets do not yet have slugs, the slug is the dataset’s id.
-
display_at
(trans, dataset_id, filename=None, **kwd)[source]¶ Sets up a dataset permissions so it is viewable at an external site
-
display_application
(trans, dataset_id=None, user_id=None, app_name=None, link_name=None, app_action=None, action_param=None, action_param_extra=None, **kwds)[source]¶ Access to external display applications
-
galaxy.webapps.galaxy.controllers.error module¶
galaxy.webapps.galaxy.controllers.forms module¶
-
class
galaxy.webapps.galaxy.controllers.forms.
FormsGrid
[source]¶ Bases:
galaxy.web.framework.helpers.grids.Grid
-
class
NameColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
class
DescriptionColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
class
TypeColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
class
StatusColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
title
= 'Forms'¶
-
model_class
¶ alias of
galaxy.model.FormDefinitionCurrent
-
default_sort_key
= '-update_time'¶
-
num_rows_per_page
= 50¶
-
use_paging
= True¶
-
default_filter
= {'deleted': 'False'}¶
-
columns
= [<galaxy.webapps.galaxy.controllers.forms.NameColumn object>, <galaxy.webapps.galaxy.controllers.forms.DescriptionColumn object>, <galaxy.webapps.galaxy.controllers.forms.TypeColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.webapps.galaxy.controllers.forms.StatusColumn object>, <galaxy.web.framework.helpers.grids.DeletedColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
-
operations
= [<galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>]¶
-
global_actions
= [<galaxy.web.framework.helpers.grids.GridAction object>]¶
-
class
-
class
galaxy.webapps.galaxy.controllers.forms.
Forms
(app)[source]¶ Bases:
galaxy.web.base.controller.BaseUIController
-
forms_grid
= <galaxy.webapps.galaxy.controllers.forms.FormsGrid object>¶
-
galaxy.webapps.galaxy.controllers.history module¶
-
class
galaxy.webapps.galaxy.controllers.history.
NameColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
class
galaxy.webapps.galaxy.controllers.history.
HistoryListGrid
[source]¶ Bases:
galaxy.web.framework.helpers.grids.Grid
-
class
ItemCountColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
class
HistoryListNameColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
class
DeletedColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
title
= 'Saved Histories'¶
-
model_class
¶ alias of
galaxy.model.History
-
default_sort_key
= '-update_time'¶
-
columns
= [<galaxy.webapps.galaxy.controllers.history.HistoryListNameColumn object>, <galaxy.webapps.galaxy.controllers.history.ItemCountColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.IndividualTagsColumn object>, <galaxy.web.framework.helpers.grids.SharingStatusColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.webapps.galaxy.controllers.history.DeletedColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
-
operations
= [<galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>]¶
-
standard_filters
= [<galaxy.web.framework.helpers.grids.GridColumnFilter object>, <galaxy.web.framework.helpers.grids.GridColumnFilter object>, <galaxy.web.framework.helpers.grids.GridColumnFilter object>]¶
-
default_filter
= {'deleted': 'False', 'name': 'All', 'sharing': 'All', 'tags': 'All'}¶
-
num_rows_per_page
= 15¶
-
use_paging
= True¶
-
info_text
= 'Histories that have been deleted for more than a time period specified by the Galaxy administrator(s) may be permanently deleted.'¶
-
class
Bases:
galaxy.web.framework.helpers.grids.Grid
alias of
galaxy.model.History
-
class
galaxy.webapps.galaxy.controllers.history.
HistoryAllPublishedGrid
[source]¶ Bases:
galaxy.web.framework.helpers.grids.Grid
-
class
NameURLColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶ Bases:
galaxy.web.framework.helpers.grids.PublicURLColumn
,galaxy.webapps.galaxy.controllers.history.NameColumn
-
title
= 'Published Histories'¶
-
model_class
¶ alias of
galaxy.model.History
-
default_sort_key
= 'update_time'¶
-
default_filter
= {'public_url': 'All', 'tags': 'All', 'username': 'All'}¶
-
use_paging
= True¶
-
num_rows_per_page
= 50¶
-
columns
= [<galaxy.webapps.galaxy.controllers.history.NameURLColumn object>, <galaxy.web.framework.helpers.grids.OwnerAnnotationColumn object>, <galaxy.web.framework.helpers.grids.OwnerColumn object>, <galaxy.web.framework.helpers.grids.CommunityRatingColumn object>, <galaxy.web.framework.helpers.grids.CommunityTagsColumn object>, <galaxy.web.framework.helpers.grids.ReverseSortColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
-
operations
= []¶
-
class
-
class
galaxy.webapps.galaxy.controllers.history.
HistoryController
(app)[source]¶ Bases:
galaxy.web.base.controller.BaseUIController
,galaxy.web.base.controller.SharableMixin
,galaxy.model.item_attrs.UsesAnnotations
,galaxy.model.item_attrs.UsesItemRatings
,galaxy.web.base.controller.ExportsHistoryMixin
,galaxy.web.base.controller.ImportsHistoryMixin
-
stored_list_grid
= <galaxy.webapps.galaxy.controllers.history.HistoryListGrid object>¶
-
published_list_grid
= <galaxy.webapps.galaxy.controllers.history.HistoryAllPublishedGrid object>¶
List histories shared with current user by others
-
as_xml
(trans, id=None, show_deleted=None, show_hidden=None)[source]¶ Return a history in xml format.
-
display_structured
(trans, *args, **kwargs)[source]¶ Display a history as a nested structure showing the jobs and workflow invocations that created each dataset (if any).
-
view
(trans, *args, **kwargs)[source]¶ View a history. If a history is importable, then it is viewable by any user.
-
display_by_username_and_slug
(trans, username, slug)[source]¶ Display history based on a username and slug.
THIS METHOD IS A TEMPORARY ADDITION. It’ll allow us to fix the regression in history-wide actions, and will be removed in the first release after 17.01
-
delete
(trans, id, purge=False)[source]¶ Delete the history – this does not require a logged in user.
-
resume_paused_jobs
(trans, current=False, ids=None)[source]¶ Resume paused jobs the active history – this does not require a logged in user.
-
rate_async
(trans, *args, **kwargs)[source]¶ Rate a history asynchronously and return updated community data.
-
export_archive
(trans, id=None, gzip=True, include_hidden=False, include_deleted=False, preview=False)[source]¶ Export a history to an archive.
-
switch_to_history
(trans, *args, **kwargs)[source]¶ Change the current user’s current history to one with hist_id.
-
set_as_current
(trans, *args, **kwargs)[source]¶ Change the current user’s current history to one with id.
-
galaxy.webapps.galaxy.controllers.interactive_environments module¶
API check for whether the current session’s interactive environment launch is ready
galaxy.webapps.galaxy.controllers.library module¶
galaxy.webapps.galaxy.controllers.page module¶
-
class
galaxy.webapps.galaxy.controllers.page.
PageListGrid
[source]¶ Bases:
galaxy.web.framework.helpers.grids.Grid
-
class
URLColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
use_panels
= True¶
-
title
= 'Pages'¶
-
model_class
¶ alias of
galaxy.model.Page
-
default_filter
= {'published': 'All', 'sharing': 'All', 'tags': 'All', 'title': 'All'}¶
-
default_sort_key
= '-update_time'¶
-
columns
= [<galaxy.web.framework.helpers.grids.TextColumn object>, <galaxy.webapps.galaxy.controllers.page.URLColumn object>, <galaxy.web.framework.helpers.grids.OwnerAnnotationColumn object>, <galaxy.web.framework.helpers.grids.IndividualTagsColumn object>, <galaxy.web.framework.helpers.grids.SharingStatusColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
-
global_actions
= [<galaxy.web.framework.helpers.grids.GridAction object>]¶
-
operations
= [<galaxy.web.framework.helpers.grids.DisplayByUsernameAndSlugGridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>]¶
-
class
-
class
galaxy.webapps.galaxy.controllers.page.
PageAllPublishedGrid
[source]¶ Bases:
galaxy.web.framework.helpers.grids.Grid
-
use_panels
= True¶
-
title
= 'Published Pages'¶
-
model_class
¶ alias of
galaxy.model.Page
-
default_sort_key
= 'update_time'¶
-
default_filter
= {'title': 'All', 'username': 'All'}¶
-
columns
= [<galaxy.web.framework.helpers.grids.PublicURLColumn object>, <galaxy.web.framework.helpers.grids.OwnerAnnotationColumn object>, <galaxy.web.framework.helpers.grids.OwnerColumn object>, <galaxy.web.framework.helpers.grids.CommunityRatingColumn object>, <galaxy.web.framework.helpers.grids.CommunityTagsColumn object>, <galaxy.web.framework.helpers.grids.ReverseSortColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
-
-
class
galaxy.webapps.galaxy.controllers.page.
ItemSelectionGrid
[source]¶ Bases:
galaxy.web.framework.helpers.grids.Grid
Base class for pages’ item selection grids.
-
class
NameColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
show_item_checkboxes
= True¶
-
default_filter
= {'deleted': 'False', 'sharing': 'All'}¶
-
default_sort_key
= '-update_time'¶
-
use_paging
= True¶
-
num_rows_per_page
= 10¶
-
class
-
class
galaxy.webapps.galaxy.controllers.page.
HistorySelectionGrid
[source]¶ Bases:
galaxy.webapps.galaxy.controllers.page.ItemSelectionGrid
Grid for selecting histories.
-
title
= 'Saved Histories'¶
-
model_class
¶ alias of
galaxy.model.History
-
columns
= [<galaxy.webapps.galaxy.controllers.page.NameColumn object>, <galaxy.web.framework.helpers.grids.IndividualTagsColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.DeletedColumn object>, <galaxy.web.framework.helpers.grids.SharingStatusColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
-
-
class
galaxy.webapps.galaxy.controllers.page.
HistoryDatasetAssociationSelectionGrid
[source]¶ Bases:
galaxy.webapps.galaxy.controllers.page.ItemSelectionGrid
Grid for selecting HDAs.
-
title
= 'Saved Datasets'¶
-
model_class
¶
-
columns
= [<galaxy.webapps.galaxy.controllers.page.NameColumn object>, <galaxy.web.framework.helpers.grids.IndividualTagsColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.DeletedColumn object>, <galaxy.web.framework.helpers.grids.SharingStatusColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
-
-
class
galaxy.webapps.galaxy.controllers.page.
WorkflowSelectionGrid
[source]¶ Bases:
galaxy.webapps.galaxy.controllers.page.ItemSelectionGrid
Grid for selecting workflows.
-
title
= 'Saved Workflows'¶
-
model_class
¶ alias of
galaxy.model.StoredWorkflow
-
columns
= [<galaxy.webapps.galaxy.controllers.page.NameColumn object>, <galaxy.web.framework.helpers.grids.IndividualTagsColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.DeletedColumn object>, <galaxy.web.framework.helpers.grids.SharingStatusColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
-
-
class
galaxy.webapps.galaxy.controllers.page.
PageSelectionGrid
[source]¶ Bases:
galaxy.webapps.galaxy.controllers.page.ItemSelectionGrid
Grid for selecting pages.
-
title
= 'Saved Pages'¶
-
model_class
¶ alias of
galaxy.model.Page
-
columns
= [<galaxy.web.framework.helpers.grids.TextColumn object>, <galaxy.web.framework.helpers.grids.IndividualTagsColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.DeletedColumn object>, <galaxy.web.framework.helpers.grids.SharingStatusColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
-
-
class
galaxy.webapps.galaxy.controllers.page.
VisualizationSelectionGrid
[source]¶ Bases:
galaxy.webapps.galaxy.controllers.page.ItemSelectionGrid
Grid for selecting visualizations.
-
title
= 'Saved Visualizations'¶
-
model_class
¶ alias of
galaxy.model.Visualization
-
columns
= [<galaxy.web.framework.helpers.grids.TextColumn object>, <galaxy.web.framework.helpers.grids.TextColumn object>, <galaxy.web.framework.helpers.grids.IndividualTagsColumn object>, <galaxy.web.framework.helpers.grids.SharingStatusColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
-
-
class
galaxy.webapps.galaxy.controllers.page.
PageController
(app)[source]¶ Bases:
galaxy.web.base.controller.BaseUIController
,galaxy.web.base.controller.SharableMixin
,galaxy.web.base.controller.UsesStoredWorkflowMixin
,galaxy.web.base.controller.UsesVisualizationMixin
,galaxy.model.item_attrs.UsesItemRatings
Handle sharing with an individual user.
-
display_by_username_and_slug
(trans, username, slug)[source]¶ Display page based on a username and slug.
-
rate_async
(trans, *args, **kwargs)[source]¶ Rate a page asynchronously and return updated community data.
-
list_histories_for_selection
(trans, *args, **kwargs)[source]¶ Returns HTML that enables a user to select one or more histories.
-
list_workflows_for_selection
(trans, *args, **kwargs)[source]¶ Returns HTML that enables a user to select one or more workflows.
-
list_visualizations_for_selection
(trans, *args, **kwargs)[source]¶ Returns HTML that enables a user to select one or more visualizations.
-
list_pages_for_selection
(trans, *args, **kwargs)[source]¶ Returns HTML that enables a user to select one or more pages.
-
list_datasets_for_selection
(trans, *args, **kwargs)[source]¶ Returns HTML that enables a user to select one or more datasets.
galaxy.webapps.galaxy.controllers.root module¶
Contains the main interface in the Universe class
-
class
galaxy.webapps.galaxy.controllers.root.
RootController
(app)[source]¶ Bases:
galaxy.web.base.controller.JSAppLauncher
,galaxy.model.item_attrs.UsesAnnotations
Controller class that maps to the url root of Galaxy (i.e. ‘/’).
-
default
(trans, target1=None, target2=None, **kwd)[source]¶ Called on any url that does not match a controller method.
-
index
(trans, tool_id=None, workflow_id=None, history_id=None, m_c=None, m_a=None, **kwd)[source]¶ Root and entry point for client-side web app.
Parameters: - tool_id (str or None) – load center panel with given tool if not None
- workflow_id (encoded id or None) – load center panel with given workflow if not None
- history_id (encoded id or None) – switch current history to given history if not None
- m_c (str or None) – controller name (e.g. ‘user’)
- m_a (str or None) – controller method/action (e.g. ‘dbkeys’)
If m_c and m_a are present, the center panel will be loaded using the controller and action as a url: (e.g. ‘user/dbkeys’).
-
tool_search
(trans, *args, **kwargs)[source]¶ Searches the tool database and returns data for any tool whose text matches the query.
Data are returned in JSON format.
-
display
(trans, id=None, hid=None, tofile=None, toext='.txt', encoded_id=None, **kwd)[source]¶ Returns data directly into the browser.
Sets the mime-type according to the extension.
Used by the twill tool test driver - used anywhere else? Would like to drop hid argument and path if unneeded now. Likewise, would like to drop encoded_id=XXX and use assume id is encoded (likely id wouldn’t be coming in encoded if this is used anywhere else though.)
-
display_as
(trans, id=None, display_app=None, **kwd)[source]¶ Returns a file in a format that can successfully be displayed in display_app.
-
history_new
(trans, name=None)[source]¶ Create a new history with the given name and refresh the history panel.
-
history_add_to
(trans, history_id=None, file_data=None, name='Data Added to History', info=None, ext='txt', dbkey='?', copy_access_from=None, **kwd)[source]¶ Adds a POSTed file to a History.
-
galaxy.webapps.galaxy.controllers.tag module¶
Tags Controller: handles tagging/untagging of entities and provides autocomplete support.
-
class
galaxy.webapps.galaxy.controllers.tag.
TagsController
(app)[source]¶ Bases:
galaxy.web.base.controller.BaseUIController
,galaxy.web.base.controller.UsesTagsMixin
galaxy.webapps.galaxy.controllers.tool_runner module¶
Controller handles external tool related requests
-
class
galaxy.webapps.galaxy.controllers.tool_runner.
ToolRunner
(app)[source]¶ Bases:
galaxy.web.base.controller.BaseUIController
-
rerun
(trans, id=None, job_id=None, **kwd)[source]¶ Given a HistoryDatasetAssociation id, find the job and that created the dataset, extract the parameters, and display the appropriate tool form with parameters already filled in.
-
data_source_redirect
(trans, tool_id=None)[source]¶ Redirects a user accessing a Data Source tool to its target action link. This method will subvert mix-mode content blocking in several browsers when accessing non-https data_source tools from an https galaxy server.
Tested as working on Safari 7.0 and FireFox 26 Subverting did not work on Chrome 31
-
galaxy.webapps.galaxy.controllers.user module¶
Contains the user interface in the Universe class
-
class
galaxy.webapps.galaxy.controllers.user.
UserOpenIDGrid
[source]¶ Bases:
galaxy.web.framework.helpers.grids.Grid
-
title
= 'OpenIDs linked to your account'¶
-
model_class
¶ alias of
galaxy.model.UserOpenID
-
default_filter
= {'openid': 'All'}¶
-
default_sort_key
= '-create_time'¶
-
columns
= [<galaxy.web.framework.helpers.grids.TextColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>]¶
-
global_actions
= [<galaxy.web.framework.helpers.grids.GridAction object>]¶
-
operations
= [<galaxy.web.framework.helpers.grids.GridOperation object>]¶
-
-
class
galaxy.webapps.galaxy.controllers.user.
User
(app)[source]¶ Bases:
galaxy.web.base.controller.BaseUIController
,galaxy.web.base.controller.UsesFormDefinitionsMixin
,galaxy.web.base.controller.CreatesUsersMixin
,galaxy.web.base.controller.CreatesApiKeysMixin
-
user_openid_grid
= <galaxy.webapps.galaxy.controllers.user.UserOpenIDGrid object>¶
-
installed_len_files
= None¶
-
proceed_login
(trans, user, redirect)[source]¶ Function processes user login. It is called in case all the login requirements are valid.
-
resend_verification
(trans)[source]¶ Exposed function for use outside of the class. E.g. when user click on the resend link in the masthead.
-
resend_verification_email
(trans, email, username)[source]¶ Function resends the verification email in case user wants to log in with an inactive account or he clicks the resend link.
-
is_outside_grace_period
(trans, create_time)[source]¶ Function checks whether the user is outside the config-defined grace period for inactive accounts.
-
send_verification_email
(trans, email, username)[source]¶ Send the verification email containing the activation link to the user’s email.
-
get_activation_token
(trans, email)[source]¶ Check for the activation token. Create new activation token and store it in the database if no token found.
-
activate
(trans, **kwd)[source]¶ Check whether token fits the user and then activate the user’s account.
-
reset_password
(trans, email=None, **kwd)[source]¶ Reset the user’s password. Send an email with token that allows a password change.
-
get_most_recently_used_tool_async
(trans, *args, **kwargs)[source]¶ Returns information about the most recently used tool.
-
set_user_pref_async
(trans, pref_name, pref_value)[source]¶ Set a user preference asynchronously. If user is not logged in, do nothing.
-
galaxy.webapps.galaxy.controllers.userskeys module¶
Contains the user interface in the Universe class
-
class
galaxy.webapps.galaxy.controllers.userskeys.
User
(app)[source]¶ Bases:
galaxy.web.base.controller.BaseUIController
,galaxy.web.base.controller.UsesFormDefinitionsMixin
galaxy.webapps.galaxy.controllers.visualization module¶
-
class
galaxy.webapps.galaxy.controllers.visualization.
HistoryDatasetsSelectionGrid
[source]¶ Bases:
galaxy.web.framework.helpers.grids.Grid
-
class
DbKeyColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
class
HistoryColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
available_tracks
= None¶
-
title
= 'Add Datasets'¶
-
model_class
¶
-
default_filter
= {'deleted': 'False', 'shared': 'All'}¶
-
default_sort_key
= '-hid'¶
-
columns
= [<galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.TextColumn object>, <galaxy.web.framework.helpers.grids.TextColumn object>, <galaxy.web.framework.helpers.grids.TextColumn object>, <galaxy.webapps.galaxy.controllers.visualization.HistoryColumn object>, <galaxy.webapps.galaxy.controllers.visualization.DbKeyColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
-
class
-
class
galaxy.webapps.galaxy.controllers.visualization.
LibraryDatasetsSelectionGrid
[source]¶ Bases:
galaxy.web.framework.helpers.grids.Grid
-
available_tracks
= None¶
-
title
= 'Add Datasets'¶
-
model_class
¶
-
default_filter
= {'deleted': 'False'}¶
-
default_sort_key
= '-id'¶
-
columns
= [<galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.TextColumn object>, <galaxy.web.framework.helpers.grids.TextColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
-
-
class
galaxy.webapps.galaxy.controllers.visualization.
TracksterSelectionGrid
[source]¶ Bases:
galaxy.web.framework.helpers.grids.Grid
-
title
= 'Insert into visualization'¶
-
model_class
¶ alias of
galaxy.model.Visualization
-
default_sort_key
= '-update_time'¶
-
use_paging
= False¶
-
show_item_checkboxes
= True¶
-
columns
= [<galaxy.web.framework.helpers.grids.TextColumn object>, <galaxy.web.framework.helpers.grids.TextColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>]¶
-
-
class
galaxy.webapps.galaxy.controllers.visualization.
VisualizationListGrid
[source]¶ Bases:
galaxy.web.framework.helpers.grids.Grid
-
title
= 'Saved Visualizations'¶
-
model_class
¶ alias of
galaxy.model.Visualization
-
default_sort_key
= '-update_time'¶
-
default_filter
= {'deleted': 'False', 'sharing': 'All', 'tags': 'All', 'title': 'All'}¶
-
columns
= [<galaxy.web.framework.helpers.grids.TextColumn object>, <galaxy.web.framework.helpers.grids.TextColumn object>, <galaxy.web.framework.helpers.grids.TextColumn object>, <galaxy.web.framework.helpers.grids.IndividualTagsColumn object>, <galaxy.web.framework.helpers.grids.SharingStatusColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
-
operations
= [<galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>]¶
-
-
class
galaxy.webapps.galaxy.controllers.visualization.
VisualizationAllPublishedGrid
[source]¶ Bases:
galaxy.web.framework.helpers.grids.Grid
-
use_panels
= True¶
-
title
= 'Published Visualizations'¶
-
model_class
¶ alias of
galaxy.model.Visualization
-
default_sort_key
= 'update_time'¶
-
default_filter
= {'title': 'All', 'username': 'All'}¶
-
columns
= [<galaxy.web.framework.helpers.grids.PublicURLColumn object>, <galaxy.web.framework.helpers.grids.OwnerAnnotationColumn object>, <galaxy.web.framework.helpers.grids.OwnerColumn object>, <galaxy.web.framework.helpers.grids.CommunityRatingColumn object>, <galaxy.web.framework.helpers.grids.CommunityTagsColumn object>, <galaxy.web.framework.helpers.grids.ReverseSortColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
-
-
class
galaxy.webapps.galaxy.controllers.visualization.
VisualizationController
(app)[source]¶ Bases:
galaxy.web.base.controller.BaseUIController
,galaxy.web.base.controller.SharableMixin
,galaxy.web.base.controller.UsesVisualizationMixin
,galaxy.model.item_attrs.UsesAnnotations
,galaxy.model.item_attrs.UsesItemRatings
-
list_libraries
(trans, *args, **kwargs)[source]¶ List all libraries that can be used for selecting datasets.
-
list_history_datasets
(trans, *args, **kwargs)[source]¶ List a history’s datasets that can be added to a visualization.
-
list_library_datasets
(trans, *args, **kwargs)[source]¶ List a library’s datasets that can be added to a visualization.
-
set_accessible_async
(trans, *args, **kwargs)[source]¶ Set visualization’s importable attribute and slug.
-
rate_async
(trans, *args, **kwargs)[source]¶ Rate a visualization asynchronously and return updated community data.
Handle sharing a visualization with a particular user.
-
display_by_username_and_slug
(trans, username, slug)[source]¶ Display visualization based on a username and slug.
-
save
(trans, *args, **kwargs)[source]¶ Save a visualization; if visualization does not have an ID, a new visualization is created. Returns JSON of visualization.
-
render
(trans, *args, **kwargs)[source]¶ Render the appropriate visualization template, parsing the kwargs into appropriate variables and resources (such as ORM models) based on this visualizations param data in visualizations_conf.xml.
URL: /visualization/show/{visualization_name}
-
trackster
(trans, *args, **kwargs)[source]¶ Display browser for the visualization denoted by id and add the datasets listed in dataset_ids.
-
circster
(trans, id=None, hda_ldda=None, dataset_id=None, dbkey=None)[source]¶ Display a circster visualization.
-
galaxy.webapps.galaxy.controllers.workflow module¶
-
class
galaxy.webapps.galaxy.controllers.workflow.
StoredWorkflowListGrid
[source]¶ Bases:
galaxy.web.framework.helpers.grids.Grid
-
class
StepsColumn
(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
-
use_panels
= True¶
-
title
= 'Saved Workflows'¶
-
model_class
¶ alias of
galaxy.model.StoredWorkflow
-
default_filter
= {'name': 'All', 'tags': 'All'}¶
-
default_sort_key
= '-update_time'¶
-
columns
= [<galaxy.web.framework.helpers.grids.TextColumn object>, <galaxy.web.framework.helpers.grids.IndividualTagsColumn object>, <galaxy.webapps.galaxy.controllers.workflow.StepsColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
-
operations
= [<galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>]¶
-
class
-
class
galaxy.webapps.galaxy.controllers.workflow.
StoredWorkflowAllPublishedGrid
[source]¶ Bases:
galaxy.web.framework.helpers.grids.Grid
-
title
= 'Published Workflows'¶
-
model_class
¶ alias of
galaxy.model.StoredWorkflow
-
default_sort_key
= 'update_time'¶
-
default_filter
= {'public_url': 'All', 'tags': 'All', 'username': 'All'}¶
-
columns
= [<galaxy.web.framework.helpers.grids.PublicURLColumn object>, <galaxy.web.framework.helpers.grids.OwnerAnnotationColumn object>, <galaxy.web.framework.helpers.grids.OwnerColumn object>, <galaxy.web.framework.helpers.grids.CommunityRatingColumn object>, <galaxy.web.framework.helpers.grids.CommunityTagsColumn object>, <galaxy.web.framework.helpers.grids.ReverseSortColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
-
operations
= [<galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>]¶
-
num_rows_per_page
= 50¶
-
use_paging
= True¶
-
-
class
galaxy.webapps.galaxy.controllers.workflow.
SingleTagContentsParser
(target_tag)[source]¶ Bases:
HTMLParser.HTMLParser
-
class
galaxy.webapps.galaxy.controllers.workflow.
WorkflowController
(app)[source]¶ Bases:
galaxy.web.base.controller.BaseUIController
,galaxy.web.base.controller.SharableMixin
,galaxy.web.base.controller.UsesStoredWorkflowMixin
,galaxy.model.item_attrs.UsesItemRatings
-
stored_list_grid
= <galaxy.webapps.galaxy.controllers.workflow.StoredWorkflowListGrid object>¶
-
published_list_grid
= <galaxy.webapps.galaxy.controllers.workflow.StoredWorkflowAllPublishedGrid object>¶
-
display_by_username_and_slug
(trans, username, slug, format='html')[source]¶ Display workflow based on a username and slug. Format can be html, json, or json-download.
-
set_public_username
(trans, *args, **kwargs)[source]¶ Set user’s public username and delegate to sharing()
-
rate_async
(trans, *args, **kwargs)[source]¶ Rate a workflow asynchronously and return updated community data.
-
save_workflow_as
(trans, *args, **kwargs)[source]¶ Creates a new workflow based on Save As command. It is a new workflow, but is created with workflow_data already present.
-
editor
(trans, *args, **kwargs)[source]¶ Render the main workflow editor interface. The canvas is embedded as an iframe (necessary for scrolling to work properly), which is rendered by editor_canvas.
-
load_workflow
(trans, *args, **kwargs)[source]¶ Get the latest Workflow for the StoredWorkflow identified by id and encode it as a json string that can be read by the workflow editor web interface.
-
for_direct_import
(trans, *args, **kwargs)[source]¶ Get the latest Workflow for the StoredWorkflow identified by id and encode it as a json string that can be imported back into Galaxy
This has slightly different information than the above. In particular, it does not attempt to decode forms and build UIs, it just stores the raw state.
-
export_to_file
(trans, *args, **kwargs)[source]¶ Get the latest Workflow for the StoredWorkflow identified by id and encode it as a json string that can be imported back into Galaxy
This has slightly different information than the above. In particular, it does not attempt to decode forms and build UIs, it just stores the raw state.
-
import_workflow
(trans, *args, **kwargs)[source]¶ Import a workflow through 3rd party services, e.g. myExperiment.
-