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.1.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.1-py3-none-any.whl (216.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hydra_genetics-4.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 42da67f94866abda5347dc4d8a07b1ba79019529e254e758d6d4b8cfe9ce94b5
MD5 0eb12ff42fdf40526554deae27c7b21a
BLAKE2b-256 ab9c1efd296e429780e24659c2dc27b05635983cfa3fc2c20d46f6043470064f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hydra_genetics-4.1.1-py3-none-any.whl
  • Upload date:
  • Size: 216.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 985fc01bfc1deafb58dbebde8e930f7ad8c7263fcca762847184dad16f799c24
MD5 5c80e8315a7fada92861565080b8f74f
BLAKE2b-256 761d555c1eaa63094127989dc8a414ffeabce438ca3b7aa96486c5ced91bf42b

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