planemo.engine package¶
Submodules¶
planemo.engine.cwltool module¶
Module contianing the CwlToolEngine
implementation of Engine
.
-
class
planemo.engine.cwltool.
CwlToolEngine
(ctx, **kwds)[source]¶ Bases:
planemo.engine.interface.BaseEngine
An
Engine
implementation backed by cwltool.More information on cwltool can be found at https://github.com/common-workflow-language/cwltool.
-
handled_runnable_types
= [<RunnableType.cwl_tool: 4>, <RunnableType.cwl_workflow: 5>]¶
-
planemo.engine.factory module¶
Module contains factory method for building class:Engine objects.
-
planemo.engine.factory.
is_galaxy_engine
(**kwds)[source]¶ Return True iff the engine configured is
GalaxyEngine
.
-
planemo.engine.factory.
build_engine
(ctx, **kwds)[source]¶ Build an engine from the supplied planemo configuration.
planemo.engine.galaxy module¶
Module contianing the GalaxyEngine
implementation of Engine
.
-
class
planemo.engine.galaxy.
DockerizedManagedGalaxyEngine
(ctx, **kwds)[source]¶ Bases:
planemo.engine.galaxy.LocalManagedGalaxyEngine
An
Engine
implementation backed by Galaxy running in Docker.More information on Galaxy can be found at http://galaxyproject.org/.
-
class
planemo.engine.galaxy.
ExternalGalaxyEngine
(ctx, **kwds)[source]¶ Bases:
planemo.engine.galaxy.GalaxyEngine
An
Engine
implementation backed by an external Galaxy instance.
-
class
planemo.engine.galaxy.
LocalManagedGalaxyEngine
(ctx, **kwds)[source]¶ Bases:
planemo.engine.galaxy.GalaxyEngine
An
Engine
implementation backed by a managed Galaxy.More information on Galaxy can be found at http://galaxyproject.org/.
planemo.engine.interface module¶
Module contianing the Engine
abstraction.
-
class
planemo.engine.interface.
Engine
[source]¶ Bases:
object
Abstract description of an external process for running tools or workflows.
-
class
planemo.engine.interface.
BaseEngine
(ctx, **kwds)[source]¶ Bases:
planemo.engine.interface.Engine
Base class providing context and keywords for Engine implementations.
-
handled_runnable_types
= []¶
-
planemo.engine.test module¶
planemo.engine.toil module¶
Module contianing the ToilEngine
implementation of Engine
.
-
class
planemo.engine.toil.
ToilEngine
(ctx, **kwds)[source]¶ Bases:
planemo.engine.interface.BaseEngine
An
Engine
implementation backed by Toil.More information on toil can be found at https://github.com/BD2KGenomics/toil.
-
handled_runnable_types
= [<RunnableType.cwl_tool: 4>, <RunnableType.cwl_workflow: 5>]¶
-
Module contents¶
Module describing planemo.interface.Engine
abstraction and implementations.
The main entrypoint is the contextmanager
engine_context()
.