django-galaxy views

class galaxy.views.FilesToGalaxyDataLib(**kwargs)

Select Files to be added to Galaxy data Library

Inherit the GFileListView that view that shows current files and allows some basic filtering

form_class

alias of FilesToGalaxyDataLibraryParamForm

class galaxy.views.GalaxyInstanceCreateView(**kwargs)

Create a Galaxy instance to track in django. Note that the Galaxy needs to be accessible at the point of initialisation.

If file transfer is required to Galaxy that is not located on the same server as the Django server then the associated FTP host & post details need to be added as well, see galaxy docs

User login required

form_class

alias of GalaxyInstanceTrackingForm

form_valid(form)

If the form is valid, save the associated model.

model

alias of GalaxyInstanceTracking

class galaxy.views.GalaxyInstanceTrackingAutocomplete(**kwargs)
get_queryset()

Filter the queryset with GET[‘q’].

model_class

alias of GalaxyInstanceTracking

class galaxy.views.GalaxyInstanceTrackingDeleteView(**kwargs)
model

alias of GalaxyInstanceTracking

class galaxy.views.GalaxyInstanceTrackingUpdateView(**kwargs)
form_class

alias of GalaxyInstanceTrackingForm

model

alias of GalaxyInstanceTracking

class galaxy.views.GalaxyOperatorMixin
class galaxy.views.GalaxySummaryView(**kwargs)
get_queryset()

Return the list of items for this view.

The return value must be an iterable and may be an instance of QuerySet in which case QuerySet specific behavior will be enabled.

model

alias of GalaxyInstanceTracking

table_class

alias of GalaxyInstanceTrackingTable

class galaxy.views.GalaxySync(**kwargs)

Sync workflows from available galaxy instances for the current user.

This will add any workflows to the django database that have not already been added. And will update any that have been updated on the galaxy instance.

todo: It might be worth changing this view to a more general GalaxySync option. That syncs workflows & files

class galaxy.views.GalaxyUserCreateView(**kwargs)

Register a Galaxy user to a Galaxy instance that we have tracked.

A django user can be linked to many Galaxy instances and each Galaxy User HAS to be linked to Galaxy instance

django-user [1 — *] galaxy-users

galaxy-user [* — 1] galaxy-instances

However, a django user can’t be linked to multiple of the same galaxy instances

form_class

alias of GalaxyUserForm

form_valid(form)

If the form is valid, save the associated model.

get_form_kwargs()

Return the keyword arguments for instantiating the form.

model

alias of GalaxyUser

class galaxy.views.GalaxyUserDeleteView(**kwargs)
model

alias of GalaxyUser

class galaxy.views.GalaxyUserListView(**kwargs)
get_queryset()

Return the list of items for this view.

The return value must be an iterable and may be an instance of QuerySet in which case QuerySet specific behavior will be enabled.

model

alias of GalaxyUser

table_class

alias of GalaxyUserTable

class galaxy.views.GalaxyUserUpdateView(**kwargs)
form_class

alias of GalaxyUserForm

model

alias of GalaxyUser

class galaxy.views.GenericFilesToGalaxyHistory(**kwargs)
form_class

alias of GenericFilesToGalaxyHistoryParamForm

class galaxy.views.HistoryDataBioBlendListView(**kwargs)
class galaxy.views.HistoryDataCreateView(**kwargs)
form_class

alias of HistoryDataForm

form_valid(form)

If the form is valid, save the associated model.

get_initial()

Return the initial data to use for forms on this view.

model

alias of HistoryData

class galaxy.views.HistoryListView(**kwargs)

View and initiate a run for all registered workflows.

Workflows can also be synced here as well

form_class

alias of DeleteGalaxyHistoryForm

model

alias of History

table_class

alias of HistoryTable

class galaxy.views.TableFileSelectMixin

General class for file selection with ajax multipage

class galaxy.views.WorkflowCreateView(**kwargs)
form_class

alias of WorkflowForm

form_valid(form)

If the form is valid, save the associated model.

get_form_kwargs(**kwargs)

Return the keyword arguments for instantiating the form.

get_initial()

Return the initial data to use for forms on this view.

model

alias of Workflow

class galaxy.views.WorkflowListView(**kwargs)

View and initiate a run for all registered workflows.

Workflows can also be synced here as well

model

alias of Workflow

table_class

alias of WorkflowTable

class galaxy.views.WorkflowRunView(**kwargs)

Run a registered workflow

filter_class

alias of GFileFilter

form_class

alias of WorkflowRunForm

table_class

alias of GFileTable

class galaxy.views.WorkflowStatus(**kwargs)

View available Galaxy. If any new workflows are added to a Galaxy instance the user should sync first before they can be seen in the table.