Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

CLI for gogetdata (ggd)

Project Description
# ggd-cli

The command-line interface to GGD. Build and check recipes.

### Installation

This assumes that you have installed [anaconda](https://www.continuum.io/downloads) or at
least [conda](http://conda.pydata.org/docs/download.html)

To get the required software, use:

```
$ conda config --add channels bioconda
$ conda config --add channels conda-forge
$ conda install -y conda-build-all --channel conda-forge
$ conda install -y anaconda-client
$ pip install -r requirements.txt
$ conda install -y "gsort>=0.0.2" samtools htslib zlib
```

Finally:
```
$ pip install ggd
```

Then the `ggd` executable will be available.

## from-bash

Make a recipe from a bash script that is likely to pass the tests in ggd-recipes.

Most of the arguments are required. For example, we don't want a recipe to litter
the user-space with extra files so if the recipe downloads a `.zip`, and processes
the files inside of it, it should clean-up (`rm`) the .zip file upon completion.

```
usage: ggd from-bash [-h] --species
{Homo_sapiens,Mus_musculus,Canis_familiaris}
--genome-build GENOME_BUILD [--authors AUTHORS] --version
VERSION [--dependency DEPENDENCY]
[--extra-file EXTRA_FILE] --summary SUMMARY --keyword
KEYWORD
name script

positional arguments:
name name of recipe
script bash script that contains the commands that build the
recipe

optional arguments:
-h, --help show this help message and exit
--species {Homo_sapiens,Mus_musculus,Canis_familiaris}
species recipe is for
--genome-build GENOME_BUILD
genome-build the recipe is for
--authors AUTHORS authors of the recipe
--version VERSION version of data itself, e.g. dbsnp-127
--dependency DEPENDENCY
any software dependencies (in bioconda, conda-forge)
or data-dependency (in ggd). May be as many times as
needed.
--extra-file EXTRA_FILE
any files that the recipe creates that are not a *.gz
and *.gz.tbi pair. May be used more than once
--summary SUMMARY a comment describing the recipe
--keyword KEYWORD a keyword to associate with the recipe. may be
specified more that once.

```

## check-recipe

After you make a new recipe, likely with the `ggd from-bash`. Running `ggd check-recipe` will
run the same checks as our testing framework. It will build and install the recipe.

It may miss dependencies if you have them installed on your system, but they are not specified in
the recipe.

```
usage: ggd check-recipe /path/to/my/recipe/
```
Release History

Release History

This version
History Node

0.0.6

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ggd-0.0.6.tar.gz (6.5 kB) Copy SHA256 Checksum SHA256 Source Aug 29, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting