Skip to content

Commit 6e4db5f

Browse files
committed
Update docs with meta-recipe info
1 parent 0fadd28 commit 6e4db5f

766 files changed

Lines changed: 7203 additions & 1192 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

GGD-CLI.html

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,14 @@
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
88
<title>GGD Commands &#8212; GGD documentation</title>
9-
<link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
109
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
10+
<link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
1111
<link rel="stylesheet" type="text/css" href="_static/style.css" />
1212
<link rel="stylesheet" type="text/css" href="_static/font-awesome-4.7.0/css/font-awesome.min.css" />
1313
<script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
1414
<script src="_static/jquery.js"></script>
1515
<script src="_static/underscore.js"></script>
1616
<script src="_static/doctools.js"></script>
17-
<script src="_static/language_data.js"></script>
1817
<link rel="index" title="Index" href="genindex.html" />
1918
<link rel="search" title="Search" href="search.html" />
2019
<link rel="next" title="ggd search" href="ggd-search.html" />
@@ -68,9 +67,11 @@ <h3>Navigation</h3>
6867
<li class="toctree-l2"><a class="reference internal" href="pkg-info.html">ggd pkg-info</a></li>
6968
<li class="toctree-l2"><a class="reference internal" href="show-env.html">ggd show-env</a></li>
7069
<li class="toctree-l2"><a class="reference internal" href="make-recipe.html">ggd make-recipe</a></li>
70+
<li class="toctree-l2"><a class="reference internal" href="make-metarecipe.html">ggd make-meta-recipe</a></li>
7171
<li class="toctree-l2"><a class="reference internal" href="check-recipe.html">ggd check-recipe</a></li>
7272
</ul>
7373
</li>
74+
<li class="toctree-l1"><a class="reference internal" href="meta-recipes.html">GGD meta-recipes</a></li>
7475
<li class="toctree-l1"><a class="reference internal" href="contribute.html">Contribute</a></li>
7576
<li class="toctree-l1"><a class="reference internal" href="private_recipes.html">Private Recipes</a></li>
7677
<li class="toctree-l1"><a class="reference internal" href="recipes.html">Available Data Packages</a></li>
@@ -110,8 +111,8 @@ <h3 id="searchlabel">Quick search</h3>
110111
<p>Tabs for each tool are also available on the left tab bar.</p>
111112
<table class="docutils align-default">
112113
<colgroup>
113-
<col style="width: 42%" />
114-
<col style="width: 58%" />
114+
<col style="width: 43%" />
115+
<col style="width: 57%" />
115116
</colgroup>
116117
<thead>
117118
<tr class="row-odd"><th class="head"><p>Command</p></th>
@@ -147,7 +148,10 @@ <h3 id="searchlabel">Quick search</h3>
147148
<tr class="row-even"><td><p><a class="reference internal" href="make-recipe.html#ggd-make-recipe"><span class="std std-ref">ggd make-recipe</span></a></p></td>
148149
<td><p>Create a ggd recipe from a bash script</p></td>
149150
</tr>
150-
<tr class="row-odd"><td><p><a class="reference internal" href="check-recipe.html#ggd-check-recipe"><span class="std std-ref">ggd check-recipe</span></a></p></td>
151+
<tr class="row-odd"><td><p><a class="reference internal" href="make-metarecipe.html#ggd-make-meta-recipe"><span class="std std-ref">ggd make-meta-recipe</span></a></p></td>
152+
<td><p>Create a ggd meta-recipe from a single or group of script</p></td>
153+
</tr>
154+
<tr class="row-even"><td><p><a class="reference internal" href="check-recipe.html#ggd-check-recipe"><span class="std std-ref">ggd check-recipe</span></a></p></td>
151155
<td><p>Check/test a ggd recipe</p></td>
152156
</tr>
153157
</tbody>
@@ -201,6 +205,11 @@ <h3 id="searchlabel">Quick search</h3>
201205
<li class="toctree-l2"><a class="reference internal" href="make-recipe.html#examples">Examples</a></li>
202206
</ul>
203207
</li>
208+
<li class="toctree-l1"><a class="reference internal" href="make-metarecipe.html">ggd make-meta-recipe</a><ul>
209+
<li class="toctree-l2"><a class="reference internal" href="make-metarecipe.html#using-ggd-make-meta-recipe">Using ggd make-meta-recipe</a></li>
210+
<li class="toctree-l2"><a class="reference internal" href="make-metarecipe.html#examples">Examples</a></li>
211+
</ul>
212+
</li>
204213
<li class="toctree-l1"><a class="reference internal" href="check-recipe.html">ggd check-recipe</a><ul>
205214
<li class="toctree-l2"><a class="reference internal" href="check-recipe.html#check-recipe-is-used-to-validate-a-recipe-created-from-running-ggd-make-recipe"><cite>check-recipe</cite> is used to validate a recipe created from running <code class="code docutils literal notranslate"><span class="pre">ggd</span> <span class="pre">make-recipe</span></code></a></li>
206215
<li class="toctree-l2"><a class="reference internal" href="check-recipe.html#using-ggd-check-recipe">Using ggd check-recipe</a></li>

_sources/GGD-CLI.rst.txt

Lines changed: 39 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -13,45 +13,48 @@ description of each tool, as well as links to specific pages about each.
1313

1414
Tabs for each tool are also available on the left tab bar.
1515

16-
+-------------------------------------------------+--------------------------------------------------------------------+
17-
| Command | Description |
18-
+=================================================+====================================================================+
19-
| :ref:`ggd search <ggd-search>` | Search for a ggd data package |
20-
+-------------------------------------------------+--------------------------------------------------------------------+
21-
| :ref:`ggd predict-path <ggd-predict-path>` | Predict the file path of a data package that has not been |
22-
| | installed yet (Good for workflows like Snakemake) |
23-
+-------------------------------------------------+--------------------------------------------------------------------+
24-
| :ref:`ggd install <ggd-install>` | Install ggd data package(s) |
25-
+-------------------------------------------------+--------------------------------------------------------------------+
26-
| :ref:`ggd uninstall <ggd-uninstall>` | Uninstall a ggd data package(s) |
27-
+-------------------------------------------------+--------------------------------------------------------------------+
28-
| :ref:`ggd list <ggd-list>` | List the installed data packages (in a specific environment) |
29-
+-------------------------------------------------+--------------------------------------------------------------------+
30-
| :ref:`ggd get-files <ggd-get-files>` | get the files for an installed ggd package |
31-
+-------------------------------------------------+--------------------------------------------------------------------+
32-
| :ref:`ggd pkg-info <ggd-pkg-info>` | Show a specific ggd package's info |
33-
+-------------------------------------------------+--------------------------------------------------------------------+
34-
| :ref:`ggd show-env <ggd-show-env>` | Show the ggd specific environment variables |
35-
+-------------------------------------------------+--------------------------------------------------------------------+
36-
| :ref:`ggd make-recipe <ggd-make-recipe>` | Create a ggd recipe from a bash script |
37-
+-------------------------------------------------+--------------------------------------------------------------------+
38-
| :ref:`ggd check-recipe <ggd-check-recipe>` | Check/test a ggd recipe |
39-
+-------------------------------------------------+--------------------------------------------------------------------+
16+
+----------------------------------------------------+--------------------------------------------------------------------+
17+
| Command | Description |
18+
+====================================================+====================================================================+
19+
| :ref:`ggd search <ggd-search>` | Search for a ggd data package |
20+
+----------------------------------------------------+--------------------------------------------------------------------+
21+
| :ref:`ggd predict-path <ggd-predict-path>` | Predict the file path of a data package that has not been |
22+
| | installed yet (Good for workflows like Snakemake) |
23+
+----------------------------------------------------+--------------------------------------------------------------------+
24+
| :ref:`ggd install <ggd-install>` | Install ggd data package(s) |
25+
+----------------------------------------------------+--------------------------------------------------------------------+
26+
| :ref:`ggd uninstall <ggd-uninstall>` | Uninstall a ggd data package(s) |
27+
+----------------------------------------------------+--------------------------------------------------------------------+
28+
| :ref:`ggd list <ggd-list>` | List the installed data packages (in a specific environment) |
29+
+----------------------------------------------------+--------------------------------------------------------------------+
30+
| :ref:`ggd get-files <ggd-get-files>` | get the files for an installed ggd package |
31+
+----------------------------------------------------+--------------------------------------------------------------------+
32+
| :ref:`ggd pkg-info <ggd-pkg-info>` | Show a specific ggd package's info |
33+
+----------------------------------------------------+--------------------------------------------------------------------+
34+
| :ref:`ggd show-env <ggd-show-env>` | Show the ggd specific environment variables |
35+
+----------------------------------------------------+--------------------------------------------------------------------+
36+
| :ref:`ggd make-recipe <ggd-make-recipe>` | Create a ggd recipe from a bash script |
37+
+----------------------------------------------------+--------------------------------------------------------------------+
38+
| :ref:`ggd make-meta-recipe <ggd-make-meta-recipe>` | Create a ggd meta-recipe from a single or group of script |
39+
+----------------------------------------------------+--------------------------------------------------------------------+
40+
| :ref:`ggd check-recipe <ggd-check-recipe>` | Check/test a ggd recipe |
41+
+----------------------------------------------------+--------------------------------------------------------------------+
4042

4143

4244

4345
Command links:
4446

4547
.. toctree::
46-
:maxdepth: 2
47-
48-
ggd-search
49-
install
50-
predict-path
51-
uninstall
52-
list
53-
list-file
54-
pkg-info
55-
show-env
56-
make-recipe
57-
check-recipe
48+
:maxdepth: 2
49+
50+
ggd-search
51+
install
52+
predict-path
53+
uninstall
54+
list
55+
list-file
56+
pkg-info
57+
show-env
58+
make-recipe
59+
make-metarecipe
60+
check-recipe

_sources/check-recipe.rst.txt

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ check-recipe arguments:
3737
| | local package installed) set this flag "-- |
3838
| | dont_uninstall" |
3939
+-----------------------+----------------------------------------------------------------------------------+
40+
| ``--id``, | If checking a meta-recipe the associated meta-recipe id needs to be supplied. |
41+
| ``(meta-recipe ID)`` | (Example: for a geo meta-recipe use something like --id GSE123) NOTE: GGD does |
42+
| | not try to correct the ID. Please provide the correct case sensitive ID. |
43+
+-----------------------+----------------------------------------------------------------------------------+
4044
| ``recipe_path`` | **Required** Path to recipe directory (can also be path to the .bz2) |
4145
+-----------------------+----------------------------------------------------------------------------------+
4246

@@ -61,12 +65,21 @@ Optional arguments:
6165
The default functionality for `check-recipe` is to uninstall that file once the tests have finished. If you would like
6266
to keep the local data package installed add :code:`-du` to your `check-recipe` command.
6367

68+
* *id:* The :code:`--id` parameter is used to designate the ID to use when checking a meta-recipe. This ID is required in order
69+
to check the meta-recipe. The ID represents a unique identifier that the meta-recipe can used to download data from the
70+
database the meta-recipe is created for. The ID entered is based on an ID that can be used by the specific meta-recipe being
71+
checked. NOTE: GGD does not try to fix IDs. They must be entered correctly including being
72+
case sensitive with proper alphanumeric order.
6473

6574
The only required argument is the :code:`recipe_path` and refers to the directory you would like ``ggd check-recipe``
6675
to check. When using :ref:`ggd make-recipe <ggd-make-recipe>` to create a ggd recipe, make-recipe will
6776
create a new directory with four new files. The recipe_path should be the path to the new directory created
6877
from using `ggd make-recipe`.
6978

79+
.. note::
80+
81+
The :code:`--id` parameter is required if checking a meta-recipe
82+
7083
Running :code:`ggd check-recipe <recipe-path>` will build, install, and test and validate the recipe to ensure the recipe works correctly.
7184

7285
Example
@@ -127,8 +140,8 @@ Example
127140
Importing conda-verify failed. Please be sure to test your packages. conda install conda-verify to make this message go away.
128141
WARNING:conda_build.build:Importing conda-verify failed. Please be sure to test your packages. conda install conda-verify to make this message go away.
129142
WARNING conda_build.build:bundle_conda(1030): Importing conda-verify failed. Please be sure to test your packages. conda install conda-verify to make this message go away.
130-
INFO:conda_build.variants:Adding in variants from /scratch/local/u1138933/tmpn3m0b150/info/recipe/conda_build_config.yaml
131-
INFO conda_build.variants:_combine_spec_dictionaries(189): Adding in variants from /scratch/local/u1138933/tmpn3m0b150/info/recipe/conda_build_config.yaml
143+
INFO:conda_build.variants:Adding in variants from /scratch/tmpn3m0b150/info/recipe/conda_build_config.yaml
144+
INFO conda_build.variants:_combine_spec_dictionaries(189): Adding in variants from /scratch/local/tmpn3m0b150/info/recipe/conda_build_config.yaml
132145
Collecting package metadata (current_repodata.json): ...working... Unable to retrieve repodata (response: 404) for https://conda.anaconda.org/ggd-genomics/linux-64/current_repodata.json
133146

134147
done
@@ -202,7 +215,7 @@ Example
202215

203216
:ggd:uninstall: Removing hg19-phastcons-ucsc-v1 version 1 file(s) from ggd recipe storage
204217

205-
:ggd:uninstall: Deleteing 10 items of hg19-phastcons-ucsc-v1 version 1 from your conda root
218+
:ggd:uninstall: Deleting 10 items of hg19-phastcons-ucsc-v1 version 1 from your conda root
206219

207220
:ggd:env: Removing the ggd_hg19_phastcons_ucsc_v1_dir environment variable
208221

_sources/contribute-recipe.rst.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Contributing a ggd recipe
55

66
[:ref:`Click here to return to the home page <home-page>`]
77

8+
This page is specific to creating a ggd **recipe**. For information on creating a meta-recipe see :ref:`Creating a ggd meta-recipe <contribute-meta-recipe>`
9+
810
The following steps outline how to create, check, and add a ggd data recipe.
911

1012
1. Update local forked repo

_sources/contribute.rst.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,16 @@ recipe and add it to the ggd data repository.
2929
* You will need a github account and a forked repository of ggd-recipes.
3030
* Once you have a github account and you have a forked ggd-recipes repo, you do not need to do step 1 again.
3131

32-
2. :ref:`Make a ggd recipe <contrib-recipe>`
32+
2a. :ref:`Make a ggd recipe <contrib-recipe>`
3333

3434
* The following steps will outline how to create a ggd data recipe, how to test it, and how to add it to the
3535
gogetdata/ggd-recipes repo.
3636

37+
2b. :ref:`Make a ggd meta-recipe <contribute-meta-recipe>`
38+
39+
* The following steps will outline how to create a ggd data meta-recipe, how to test it, and how to add it
40+
to the gogetdata/ggd-recipe repo.
41+
3742
3. Continuous Integration testing with Circle CI
3843

3944
* We use Circle CI to test all new recipes. Any recipe that passes will be officially added to the ggd repo
@@ -48,3 +53,4 @@ Contents:
4853

4954
github-setup
5055
contribute-recipe
56+
making-meta-recipes

_sources/index.rst.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,15 @@ more information about the CLI tools see :ref:`GGD CLI <ggd_cli_page>`.
124124
.. image:: Data_managment.png
125125

126126

127+
GGD meta-recipes
128+
----------------
129+
130+
meta-recipes are recipes that provide access to a database of data using an identifier specific to that database. This is different then a normal ggd recipe,
131+
which consists of a set of instructions for a specific data file(s) to be installed and processed. Meta-recipes are powerful tools to provide access to database
132+
with large amounts of data which would be unreasonable to create a specific ggd recipe for individual data types/identifiers.
133+
134+
For more information about meta-recipes see: :ref:`Meta-Recipes <meta-recipes>`
135+
127136
========
128137

129138
Example:
@@ -440,6 +449,7 @@ Contents:
440449
quick-start
441450
using-ggd
442451
GGD-CLI
452+
meta-recipes
443453
contribute
444454
private_recipes
445455
recipes

0 commit comments

Comments
 (0)