galaxy.model.dataset_collections.types package

class galaxy.model.dataset_collections.types.DatasetCollectionType[source]

Bases: object

abstract generate_elements(dataset_instances)[source]

Generate DatasetCollectionElements with corresponding to the supplied dataset instances or throw exception if this is not a valid collection of the specified type.

class galaxy.model.dataset_collections.types.BaseDatasetCollectionType[source]

Bases: DatasetCollectionType

Submodules

galaxy.model.dataset_collections.types.list module

class galaxy.model.dataset_collections.types.list.ListDatasetCollectionType[source]

Bases: BaseDatasetCollectionType

A flat list of named elements.

collection_type = 'list'
generate_elements(elements)[source]

Generate DatasetCollectionElements with corresponding to the supplied dataset instances or throw exception if this is not a valid collection of the specified type.

galaxy.model.dataset_collections.types.paired module

class galaxy.model.dataset_collections.types.paired.PairedDatasetCollectionType[source]

Bases: BaseDatasetCollectionType

Paired (left/right) datasets.

collection_type = 'paired'
generate_elements(elements)[source]

Generate DatasetCollectionElements with corresponding to the supplied dataset instances or throw exception if this is not a valid collection of the specified type.

prototype_elements()[source]