django-galaxy views

class galaxy.views.FilesToGalaxyDataLib(**kwargs)[source]

Select Files to be added to Galaxy data Library

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

class galaxy.views.GalaxyInstanceCreateView(**kwargs)[source]

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 galaxy.forms.GalaxyInstanceTrackingForm

model

alias of galaxy.models.GalaxyInstanceTracking

class galaxy.views.GalaxyInstanceTrackingDeleteView(**kwargs)[source]
model

alias of galaxy.models.GalaxyInstanceTracking

class galaxy.views.GalaxyInstanceTrackingUpdateView(**kwargs)[source]
form_class

alias of galaxy.forms.GalaxyInstanceTrackingForm

model

alias of galaxy.models.GalaxyInstanceTracking

class galaxy.views.GalaxySummaryView(**kwargs)[source]
model

alias of galaxy.models.GalaxyInstanceTracking

class galaxy.views.GalaxySync(**kwargs)[source]

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)[source]

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 galaxy.forms.GalaxyUserForm

form_valid(form)[source]

If the form is valid, save the associated model.

get_form_kwargs()[source]

Returns the keyword arguments for instantiating the form.

get_initial()[source]

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

model

alias of galaxy.models.GalaxyUser

class galaxy.views.GalaxyUserDeleteView(**kwargs)[source]
model

alias of galaxy.models.GalaxyUser

class galaxy.views.GalaxyUserListView(**kwargs)[source]
model

alias of galaxy.models.GalaxyUser

class galaxy.views.GalaxyUserUpdateView(**kwargs)[source]
form_class

alias of galaxy.forms.GalaxyUserForm

model

alias of galaxy.models.GalaxyUser

class galaxy.views.GenericFilesToGalaxyHistory(**kwargs)[source]
class galaxy.views.HistoryDataBioBlendListView(**kwargs)[source]
class galaxy.views.HistoryDataCreateView(**kwargs)[source]
form_valid(form)[source]

If the form is valid, save the associated model.

get_initial()[source]

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

model

alias of galaxy.models.HistoryData

class galaxy.views.HistoryListView(**kwargs)[source]

View and initiate a run for all registered workflows.

Workflows can also be synced here as well

model

alias of galaxy.models.History

class galaxy.views.TableFileSelectMixin[source]

General class for file selection with ajax multipage

class galaxy.views.WorkflowCreateView(**kwargs)[source]
form_valid(form)[source]

If the form is valid, save the associated model.

get_form_kwargs(**kwargs)[source]

Returns the keyword arguments for instantiating the form.

get_initial()[source]

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

model

alias of galaxy.models.Workflow

class galaxy.views.WorkflowListView(**kwargs)[source]

View and initiate a run for all registered workflows.

Workflows can also be synced here as well

model

alias of galaxy.models.Workflow

class galaxy.views.WorkflowRunView(**kwargs)[source]

Run a registered workflow

filter_class

alias of gfiles.filter.GFileFilter

table_class

alias of gfiles.tables.GFileTable

class galaxy.views.WorkflowStatus(**kwargs)[source]

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.