Sign inSign up

papaemmelab/toil_example

By papaemmelab

•Updated about 5 years ago

A Toil example pipeline created with cookiecutter-toil.

Image
0

354

papaemmelab/toil_example repository overview

⁠toil_example

pypi badge travis badge codecov badge docker badge docker badge code formatting

A Command Line Interface created with cookiecutter-toil⁠.

⁠Usage

This package uses docker to manage its dependencies, there are 2 ways of using it:

  1. Running the container⁠ in single machine mode without --batchSystem⁠ support:

     # using docker
     docker run -it papaemmelab/toil_example --help
    
     # using singularity
     singularity run docker://papaemmelab/toil_example --help
    
  2. Installing the python package from pypi⁠ and passing the container as a flag:

     # install package
     pip install toil_example
    
     # run with docker
     toil_example [TOIL-OPTIONS] [PIPELINE-OPTIONS]
         --docker papaemmelab/toil_example
         --volumes <local path> <container path>
         --batchSystem LSF
    
     # run with singularity
     toil_example [TOIL-OPTIONS] [PIPELINE-OPTIONS]
         --singularity docker://papaemmelab/toil_example
         --volumes <local path> <container path>
         --batchSystem LSF
    

See docker2singularity⁠ if you want to use a singularity⁠ image instead of using the docker:// prefix.

⁠Contributing

Contributions are welcome, and they are greatly appreciated, check our contributing guidelines⁠!

⁠Credits

This package was created using Cookiecutter⁠ and the papaemmelab/cookiecutter-toil⁠ project template.

Tag summary

Content type

Image

Digest

Size

101.1 MB

Last updated

about 5 years ago

docker pull papaemmelab/toil_example