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

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-1.12.0.tar.gz (216.5 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-1.12.0-py3-none-any.whl (233.7 kB view details)

Uploaded Python 3

File details

Details for the file hydra-genetics-1.12.0.tar.gz.

File metadata

  • Download URL: hydra-genetics-1.12.0.tar.gz
  • Upload date:
  • Size: 216.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for hydra-genetics-1.12.0.tar.gz
Algorithm Hash digest
SHA256 b8117828c6f4070fec121872065abe7b62c5c632b1a6977a8825978cc3a07522
MD5 1dece76f481cbb186533e745f431d470
BLAKE2b-256 e9a17ea32abd7538d09c7e10ebf78989485039c027de579cda3bf5ffbd4057cf

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for hydra_genetics-1.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bfb9729bbf2fb5bf46d4000c45259712635649bef42951500e5d58fa3dc03f84
MD5 08638ef1a44fd7830c325e422465c0fc
BLAKE2b-256 e84a350b9a76ca375670de3d38099efdd60a75d1d2811a6cb0f634e97f903b32

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