tutorial_staging

Module Contents

Classes

HelloWorld

Class represents a unit of work in toil.

Attributes

jobstore

class tutorial_staging.HelloWorld(id)

Bases: toil.job.Job

digraph inheritance28d9d5f069 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "HelloWorld" [URL="#tutorial_staging.HelloWorld",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "Job" -> "HelloWorld" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Job" [URL="../toil/job/index.html#toil.job.Job",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Class represents a unit of work in toil."]; }

Class represents a unit of work in toil.

run(fileStore)

Override this function to perform work and dynamically create successor jobs.

Parameters:

fileStore – Used to create local and globally sharable temporary files and to send log messages to the leader process.

Returns:

The return value of the function can be passed to other jobs by means of toil.job.Job.rv().

tutorial_staging.jobstore: str