planemo.engine package
Submodules
planemo.engine.cwltool module
Module contianing the CwlToolEngine implementation of Engine.
- class planemo.engine.cwltool.CwlToolEngine(ctx, **kwds)[source]
Bases:
BaseEngineAn
Engineimplementation backed by cwltool.More information on cwltool can be found at https://github.com/common-workflow-language/cwltool.
- handled_runnable_types: List[RunnableType] = [RunnableType.cwl_tool, RunnableType.cwl_workflow]
planemo.engine.factory module
Module contains factory method for building class:Engine objects.
- planemo.engine.factory.build_engine(ctx, **kwds)[source]
Build an engine from the supplied planemo configuration.
- planemo.engine.factory.engine_context(ctx, **kwds) Generator[BaseEngine, None, None][source]
A
contextlib.contextmanager()engine builder for use withwithstatements.
planemo.engine.galaxy module
Module contianing the GalaxyEngine implementation of Engine.
- class planemo.engine.galaxy.DockerizedManagedGalaxyEngine(ctx, **kwds)[source]
Bases:
LocalManagedGalaxyEngineAn
Engineimplementation 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:
GalaxyEngineAn
Engineimplementation backed by an external Galaxy instance.- ensure_runnables_served(runnables)[source]
Use a context manager and describe Galaxy instance with runnables being served.
- rerun(ctx: PlanemoCliContext, rerunnable: Rerunnable, use_cache: bool = True, **kwds) GalaxyBaseRunResponse[source]
- class planemo.engine.galaxy.LocalManagedGalaxyEngine(ctx, **kwds)[source]
Bases:
GalaxyEngineAn
Engineimplementation backed by a managed Galaxy.More information on Galaxy can be found at http://galaxyproject.org/.
- class planemo.engine.galaxy.LocalManagedGalaxyEngineWithSingularityDB(ctx, **kwds)[source]
Bases:
LocalManagedGalaxyEngine
planemo.engine.interface module
Module contianing the Engine abstraction.
- class planemo.engine.interface.BaseEngine(ctx, **kwds)[source]
Bases:
EngineBase class providing context and keywords for Engine implementations.
- handled_runnable_types: List[RunnableType] = []
planemo.engine.test module
planemo.engine.toil module
Module contianing the ToilEngine implementation of Engine.
- class planemo.engine.toil.ToilEngine(ctx, **kwds)[source]
Bases:
BaseEngineAn
Engineimplementation backed by Toil.More information on toil can be found at https://github.com/BD2KGenomics/toil.
- handled_runnable_types: List[RunnableType] = [RunnableType.cwl_tool, RunnableType.cwl_workflow]
Module contents
Module describing planemo.interface.Engine abstraction and implementations.
The main entrypoint is the contextmanager engine_context().
- planemo.engine.engine_context(ctx, **kwds) Generator[BaseEngine, None, None][source]
A
contextlib.contextmanager()engine builder for use withwithstatements.