hydra-genetics
A command-line tool that helps you create modules and pipelines, or add rules to an existing project. It can also generate the samples.tsv and units.tsv input files from FASTQ or BAM files with the create-input-files command. Their expected format is defined by the units and samples schemas.
Installation
# using virtualenv and pip
virtualenv -p python3.9 venv
source venv/bin/activate
pip install hydra-genetics
# using pixi
pixi init
pixi add --pypi hydra-genetics
pixi add --pypi "setuptools<81" # needed for all imports to work
Examples
# Create a new module
hydra-genetics create-pipeline -n snv -d "Collection of callers" -a "Patrik S" -e "p.s@mail.se" -g patrik -o snv
# Create a new smk file named "samtools.smk" with rule "samtools_rule2"
hydra-genetics create-rule -c rule2 -t samtools -m snv -a test2 -e "test@test"
# Add a rule to the existing "samtools.smk" file, the rule name will be "samtools_rule3"
hydra-genetics create-rule -c rule3 -t samtools -m snv -a test2 -e "test@test"
# -t/--tool can be skipped for a single-command tool, e.g. a script
# this will create a smk file named "super_script.smk" with a rule "super_script"
hydra-genetics create-rule -c super_script -m snv -a test2 -e "test@test"
# Create input files
hydra-genetics create-input-files -d path/dir1 -d path/dir2 -p Illumina
# Create singularity cache
# all containers specified in config.yaml will be included
hydra-genetics prepare-environment create-singularity-files -o singularity_cache -c config.yaml
# Download reference files listed in a validation file, then check them against the pipeline config
hydra-genetics references download -v config/references/references.yaml -o design_and_ref_files
hydra-genetics references validate -c config.yaml -v config/references/references.yaml -p design_and_ref_files
Metadata
Release files for hydra-genetics 4.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hydra_genetics-4.3.1.tar.gz | 3.3 MB | Without provenance | Details for hydra_genetics-4.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hydra_genetics-4.3.1-py3-none-any.whl | Python 3 | none | any | Details for hydra_genetics-4.3.1-py3-none-any.whl |
Total release size: 3.6 MB
Release files / hydra_genetics-4.3.1.tar.gz
| Download URL | hydra_genetics-4.3.1.tar.gz |
|---|---|
| Size | 3.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
56d012af2a4d56da98336e905755f7b5b09dd45944703f95e87bddae20f16f41
|
|
BLAKE2b-256 checksum How to use checksums |
62a3c4984db4ed11a36c6d5fbdfb0d9e56d766ce4ab14491b6aadb7c40dfba17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / hydra_genetics-4.3.1-py3-none-any.whl
| Download URL | hydra_genetics-4.3.1-py3-none-any.whl |
|---|---|
| Size | 225.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d7dab7ad20a8922ccd95620ae3ae48d1bb16978d103116c62c79a9fe201a3b7d
|
|
BLAKE2b-256 checksum How to use checksums |
2c4d41c61d97b9f8abdd1b41cb3d1bc4166ff17950a1eb3fb0c44bb716157857
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for hydra-genetics 4.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.