annotate README.rst @ 7:61d8060bf2ed draft

planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
author nathandunn
date Mon, 22 Aug 2016 12:41:24 -0400
parents 4be31c7908af
children 15016fee2bc4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
850bb90bd667 planemo upload commit b529f45bf9fecbac1457a65b6b81e3b95200fced
nathandunn
parents:
diff changeset
1
850bb90bd667 planemo upload commit b529f45bf9fecbac1457a65b6b81e3b95200fced
nathandunn
parents:
diff changeset
2
2
3107c58d5c85 planemo upload commit 24de1c1405f1f79859f764da60ba068f2dc88cc6
nathandunn
parents: 1
diff changeset
3 This project wraps the Gene Ontology SOLR services (GOLR) exposed by the `Monarch initiative <https://monarchinitiative.org>`_
0
850bb90bd667 planemo upload commit b529f45bf9fecbac1457a65b6b81e3b95200fced
nathandunn
parents:
diff changeset
4
2
3107c58d5c85 planemo upload commit 24de1c1405f1f79859f764da60ba068f2dc88cc6
nathandunn
parents: 1
diff changeset
5 .. image:: https://zenodo.org/badge/doi/10.5281/zenodo.56412.svg
3107c58d5c85 planemo upload commit 24de1c1405f1f79859f764da60ba068f2dc88cc6
nathandunn
parents: 1
diff changeset
6 :target: http://dx.doi.org/10.5281/zenodo.56412
0
850bb90bd667 planemo upload commit b529f45bf9fecbac1457a65b6b81e3b95200fced
nathandunn
parents:
diff changeset
7
4
4be31c7908af planemo upload commit 9608f0096fcafb3202cde18a424264ad66130a21
nathandunn
parents: 2
diff changeset
8 .. .. image:: demo.png
0
850bb90bd667 planemo upload commit b529f45bf9fecbac1457a65b6b81e3b95200fced
nathandunn
parents:
diff changeset
9
4
4be31c7908af planemo upload commit 9608f0096fcafb3202cde18a424264ad66130a21
nathandunn
parents: 2
diff changeset
10 .. .. image:: arguments.png
0
850bb90bd667 planemo upload commit b529f45bf9fecbac1457a65b6b81e3b95200fced
nathandunn
parents:
diff changeset
11
2
3107c58d5c85 planemo upload commit 24de1c1405f1f79859f764da60ba068f2dc88cc6
nathandunn
parents: 1
diff changeset
12
7
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
13 # To Update
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
14
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
15 planemo test
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
16
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
17 If one of them fails, then we have to make sure that the different tests are just data being updated, but not an error:
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
18
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
19
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
20 should be non-zero.
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
21
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
22 For each xml test do:
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
23
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
24 planemo test monarch-phenotypes-for-disease.xml --update_test_data
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
25
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
26 which will update the test data
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
27
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
28 If the test data is non-empty:
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
29
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
30 git status | grep modified | cut -c14-1000 | xargs wc -l
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
31
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
32 then commit.
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
33
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
34
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
35 # Send to the Toolset
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
36
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
37 Using this reference for publishing: http://planemo.readthedocs.io/en/latest/publishing.html
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
38
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
39 planemo shed_lint --tools
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
40
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
41 planemo shed_diff --shed_target toolshed
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
42
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
43 planemo shed_update --check_diff --shed_target toolshed
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
44
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
45 planemo shed_test --shed_target toolshed
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
46
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
47
61d8060bf2ed planemo upload commit cc498cdcd54060998f80018b8f2dc92345adc414
nathandunn
parents: 4
diff changeset
48