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

Uploaded Python 3

File details

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

File metadata

  • Download URL: hydra_genetics-4.0.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.7

File hashes

Hashes for hydra_genetics-4.0.0.tar.gz
Algorithm Hash digest
SHA256 5007dceff5e2f5d6e174cafbf17a0db22d4c5554d8060b61f6eaf2872df96fe0
MD5 27f95e64b1e1924de6db4281cdaf4123
BLAKE2b-256 a6ebeff1afaf6d7a4d84f63b93b6d4fb5aa377aed3e03b8231426d86dfd33557

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hydra_genetics-4.0.0-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.7

File hashes

Hashes for hydra_genetics-4.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5b002fa18fb2e3ee3139599c2a423194a61725afccde32b2abed5511c093c6d4
MD5 a0e0dff30b5230758a2b93d2bb452f25
BLAKE2b-256 5dabaec9bf0988a935c6ddd933400f564d9184d3c1dadd064c12e0e03f66b081

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