Skip to main content

Helper tools for use with hydra-genetics pipelines.

Project description

https://hydra-genetics.readthedocs.io

Hydra-genetics

Command line interface to create new modules/pipelines or adding a new rule to an existing project. Provides libraries used to make it easier for people not used to pandas to extract information from samples and units dataframes. These dataframes are generated from units.tsv and samples.tsv files which are used as input.

Lint and Test

build mkdocs

python

Functions

  • create
  • reference

Example of how to generate a new project

 virtualenv -p python3.9 venv
 source venv/bin/activate
 pip install hydra-genetics
 hydra-genetics create-module -n snv -d "Collection of callers" -a "Patrik S" -e "p.s@mail.se" -g patrik -o snv
 # Create 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 command to "samtools smk" file, 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, ex a script
 # this will create a smk file named "super_script.smk" with a rule "super_script"
 hydra-genetics create-rule -c rule3 -t samtools -m snv -a test2 -e "test@test"

 # Create input files
 hydra-genetics create-input-files -d path/dir1 -d path/dir2

 # Create singularity cache
 # all container specified in config.yaml will be fetched
 hydra-genetics singularity create-singularity-files  -o singularity_cache -c config.yaml

Project details


Download files

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

Source Distribution

hydra_genetics-4.1.0.tar.gz (3.3 MB view details)

Uploaded Source

Built Distribution

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

hydra_genetics-4.1.0-py3-none-any.whl (216.4 kB view details)

Uploaded Python 3

File details

Details for the file hydra_genetics-4.1.0.tar.gz.

File metadata

  • Download URL: hydra_genetics-4.1.0.tar.gz
  • Upload date:
  • Size: 3.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hydra_genetics-4.1.0.tar.gz
Algorithm Hash digest
SHA256 f17ca610522e06f6eb9f4e7089f5e3c15ff927c36ccb8bd7e363c0ebfc8086fa
MD5 380732cd559e15006c3dd91b6873be91
BLAKE2b-256 f00cb2804cbbfec7284f2586d3b961e5ab2741763eb3cdc86cee1d9b0dcc2d18

See more details on using hashes here.

File details

Details for the file hydra_genetics-4.1.0-py3-none-any.whl.

File metadata

  • Download URL: hydra_genetics-4.1.0-py3-none-any.whl
  • Upload date:
  • Size: 216.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hydra_genetics-4.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 73e4ebf285a8d5d006a7ec54db4db374edcdf9b2918275cc2d64444a143073e8
MD5 f7c71704d67b0153e7275352f25c0224
BLAKE2b-256 54c148371ffcf2194ea21409749067f695d5606438c1f9739b24dc935c041913

See more details on using hashes here.

Supported by

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