Skip to main content

Helper tools for use with hydra-genetics pipelines.

Project description

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

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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for hydra-genetics-1.0.0.tar.gz
Algorithm Hash digest
SHA256 50914599a92ef8e530bb7fbc8003a232afac28df222926192d94830c064b6867
MD5 de8fa11a7a0a15b2f9b7b237830a4347
BLAKE2b-256 1b83814161fdfe318c1144ea38fe91ff3e587962a3a7f8f64ce3843e74e58718

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