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-2.0.0.tar.gz (229.7 kB view details)

Uploaded Source

Built Distribution

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

hydra_genetics-2.0.0-py3-none-any.whl (247.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hydra_genetics-2.0.0.tar.gz
  • Upload date:
  • Size: 229.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for hydra_genetics-2.0.0.tar.gz
Algorithm Hash digest
SHA256 8887e316ae65028a773c45a8345810005d72d47a1fa731a4d6f6b9ffa9e6ac53
MD5 9b88c24f8d98e26a52b4430d61326735
BLAKE2b-256 361e5a7f6110c3ff91c81eedb146122b77cbe0e7745237723bca08c3c9139191

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hydra_genetics-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 247.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for hydra_genetics-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4a306d9da9c5efe33ebea57fd588a1d24cd340b4f7044a1436bc13dd802dbbe2
MD5 8c902e6a60021a73d106e62760a62384
BLAKE2b-256 b5f6bf9679f9eee24c7c862aafe5f00e90c9b26f3bd6543f3af1776fef25ebab

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