Skip to main content

pyppl_require

Requirement manager for PyPPL.

Installation

It requires pyppl_annotate.

pip install pyppl_require

Usage

> pyppl require
Description:
  Process requirement manager

Usage:
  pyppl require <--pipe AUTO> [OPTIONS]

Required options:
  -p, --pipe <AUTO>     - The pipeline script.

Optional options:
  --install <AUTO>      - Install the requirements.
                          You can specify a directory (default: $HOME/bin) to install the \
                          requirements.
                          Default: None
  -h, -H, --help        - Show help message and exit.

To allow your processes to be analyzed, you have to put a section in annotate using toml format:

pXXX.config.annotate = """
@requires:
  [bedtools]
  validate: "bedtools --version"
  install: "conda install -c bioconda bedtools"
  # other annotations
"""

If you want define those commands using process properties and aggrs:

pXXX.config.annotate = """
@requires:
  [bedtools]
  validate: "{{args.bedtools}} --version"
  install: "conda install -c bioconda bedtools"
  # other annotations
"""

Install to a specify directory:

pXXX.config.annotate = """
@requires:
  [bedtools]
  validate: "{{args.bedtools}} --version"
  install: "conda install -c bioconda bedtools; ln -s $(which bedtools) {{bindir}}/bedtools"
  # other annotations
"""

{{bindir}} will be the directory passed to the command line.

pyppl require --pipe <your pipeline> --install </path/to/bin>

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyppl_require-0.0.3.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyppl_require-0.0.3-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file pyppl_require-0.0.3.tar.gz.

File metadata

  • Download URL: pyppl_require-0.0.3.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.0 CPython/3.7.1 Linux/4.15.0-1028-gcp

File hashes

Hashes for pyppl_require-0.0.3.tar.gz
Algorithm Hash digest
SHA256 21a2d83657ccde3e2c868fe2a6918b2217f69dae25a339049ebb9a90adc8a5af
MD5 dc7c7f21f1dde54e9209495204b9e3c4
BLAKE2b-256 f5a8d47acb65e293d18a6efbec783f417b0c6b28b316d95955b95c159a425ce1

See more details on using hashes here.

File details

Details for the file pyppl_require-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: pyppl_require-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.0 CPython/3.7.1 Linux/4.15.0-1028-gcp

File hashes

Hashes for pyppl_require-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 04355f62f312fe72beacfc21051e61a3ac0794418aae0efda10d0e428545c4ac
MD5 1a6f5d6f02f66c0d8d881dc4dc46a905
BLAKE2b-256 304107ddb9ff1bca4421a9033886631ca4ee141058312d393ac1d9ce12514519

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.5

2 files

0.0.4

2 files

This release

0.0.3 This release

2 files

0.0.2

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page