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>
Release files for pyppl-require 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyppl_require-0.0.3.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyppl_require-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.5 kB
Release files / pyppl_require-0.0.3.tar.gz
| Download URL | pyppl_require-0.0.3.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
21a2d83657ccde3e2c868fe2a6918b2217f69dae25a339049ebb9a90adc8a5af
|
|
BLAKE2b-256 checksum How to use checksums |
f5a8d47acb65e293d18a6efbec783f417b0c6b28b316d95955b95c159a425ce1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.0 CPython/3.7.1 Linux/4.15.0-1028-gcp
|
Release files / pyppl_require-0.0.3-py3-none-any.whl
| Download URL | pyppl_require-0.0.3-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
04355f62f312fe72beacfc21051e61a3ac0794418aae0efda10d0e428545c4ac
|
|
BLAKE2b-256 checksum How to use checksums |
304107ddb9ff1bca4421a9033886631ca4ee141058312d393ac1d9ce12514519
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.0 CPython/3.7.1 Linux/4.15.0-1028-gcp
|