Skip to main content

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.

Full documentation is available at hydra-genetics.readthedocs.io.

Lint and Test

build mkdocs

python

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

Metadata

Release files for hydra-genetics 4.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hydra-genetics 4.2.2
File Size Uploaded Provenance Actions
hydra_genetics-4.2.2.tar.gz 3.3 MB Without provenance Details for hydra_genetics-4.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hydra-genetics 4.2.2
File Interpreter ABI Platform Actions
hydra_genetics-4.2.2-py3-none-any.whl Python 3 none any Details for hydra_genetics-4.2.2-py3-none-any.whl

Total release size: 3.5 MB

Release files / hydra_genetics-4.2.2.tar.gz

Download URL hydra_genetics-4.2.2.tar.gz
Size 3.3 MB
Tags Source
SHA-256 checksum
How to use checksums
c50900834ce4bc7e83c863af180880d5e6379f25ea6350b2468e57749bf13657
BLAKE2b-256 checksum
How to use checksums
b24553518b3d55a1bb0f81b6e0f55fc042d376314f79d624190012bd5cd0c211
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.2.2-py3-none-any.whl

Download URL hydra_genetics-4.2.2-py3-none-any.whl
Size 219.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
309fcab5e9b578ae03bff98bc13ed6b25a6336ae40153a177c0237b9d2a4b660
BLAKE2b-256 checksum
How to use checksums
f8a1891b9e470c6fff9141fb6772fa71cdc30d5301458347fe1de138305400f3
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.2.2

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.

Release history Release notifications | RSS feed

This release

4.2.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page