Skip to main content

IPython notebook generator for GGR CWL processing pipelines of genomic data

Project description

ggr-cwl-ipynb-gen

Jupyter notebook generator to download and execute the processing files for GGR related datasets. At this point, is not intented to cover all use cases, but to serve as a quick generator of all related files and scripts to pre-process genomic data generated at the Duke-GCB Sequencing Core in HARDAC.

Example of usage:

$ ggr_cwl_ipynb_gen \
  --root-dir /path/to/rootdir \
  --metadata examples/Hong_3979_170316B1.xlsx \
  --out /path/to/output_dir \
  --force

The information in the example metadata and configuration file should reveal what is needed to download and pre-process the samples.

For a full list of options:

$ ggr_cwl_ipynb_gen -h
usage: Generator of Jupyter notebooks to execute CWL pre-processing pipelines
       [-h] -o OUT -m METADATA [-f] [-n] [--metadata-sep SEP]
       [--project-name PROJECT_NAME]
       [--data-from {dukeds,sftp,miseq,other,local}] [-c CONF_FILE] [-u USER]
       [-e USER_DUKE_EMAIL] [-r ROOT_DIR] [-v VERSION]

optional arguments:
  -h, --help            show this help message and exit
  -o OUT, --out OUT     Jupyter notebook output file name
  -m METADATA, --metadata METADATA
                        Metadata file with samples information
  -f, --force           Force to overwrite output file
  -n, --no-upload       Avoids uploading generated data to database when
                        specified
  --metadata-sep SEP    Separator for metadata file (when different than Excel
                        spread sheet)
  --project-name PROJECT_NAME
                        Project name (by default, basename of metadata file
                        name)
  --data-from {dukeds,sftp,miseq,other,local}
                        Choices: dukeds, sftp, miseq, other, local
  -c CONF_FILE, --conf-file CONF_FILE
                        YAML configuration file (see examples)
  -u USER, --user USER  HARDAC User used in SLURM (default: ${USER})
  -e USER_DUKE_EMAIL, --user-duke-email USER_DUKE_EMAIL
                        Email(s) notified when execution is finished (default:
                        ${USER}@duke.edu)
  -r ROOT_DIR, --root-dir ROOT_DIR
                        Root directory where all subfolders and files will be
                        created (semi-required: either defined here or in
                        conf-file)
  -v VERSION, --version VERSION
                        Print version of the program and exit

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

ggr_cwl_ipynb_gen-0.5.1.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

ggr_cwl_ipynb_gen-0.5.1-py3-none-any.whl (28.3 kB view details)

Uploaded Python 3

File details

Details for the file ggr_cwl_ipynb_gen-0.5.1.tar.gz.

File metadata

  • Download URL: ggr_cwl_ipynb_gen-0.5.1.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.0

File hashes

Hashes for ggr_cwl_ipynb_gen-0.5.1.tar.gz
Algorithm Hash digest
SHA256 1de68dcd860ae85bd09e92acf2eb8732413a3e7b25b1f2172cf745113740c1b6
MD5 de9704ec2f51c6f95979e37fb6682d04
BLAKE2b-256 b781a487340c8812aefa01c5db85ee763a6e8378acc0c5edd7ab9709849cd7b6

See more details on using hashes here.

File details

Details for the file ggr_cwl_ipynb_gen-0.5.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ggr_cwl_ipynb_gen-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9881f9b3a496dec396948fe48cf80b5bd1ccc7c8000db4f5f2bbc2d6033d292b
MD5 ab541e3624cfdb39d0f8dd08b7c41540
BLAKE2b-256 9956df3a83c7953f86bb26bc66bd615acf37c4c65545c6b41a7b340074b0f979

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page