Skip to content

Commit

Permalink
Take advantage of new planemo shed_upload functionality.
Browse files Browse the repository at this point in the history
This new flexibility in the .shed.yml include source parsing
should mean we can now tell Planemo how to build the tar-ball
as if working from the Git repository base folder (i.e. ../../
from the tool's .shed.yml file).

i.e. I can continue to use a top level shared test-data/ and
tool-data/ folder structure.
  • Loading branch information
peterjc committed May 7, 2015
1 parent 57854a0 commit 226ce53
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 10 deletions.
10 changes: 10 additions & 0 deletions tools/venn_list/.shed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,13 @@ categories:
- Sequence Analysis
- Visualization
type: unrestricted
include:
- README.rst
- tool_dependencies.xml
- venn_list.py
- venn_list.xml
- strip_components: 2
source:
- ../../test-data/magic.pdf
- ../../test-data/venn_list.tabular
- ../../test-data/rhodopsin_proteins.fasta
24 changes: 14 additions & 10 deletions tools/venn_list/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,21 +81,25 @@ http://bitbucket.org/peterjc/galaxy-central/src/tools
Development has now moved to a dedicated GitHub repository:
https://github.com/peterjc/pico_galaxy

For making the "Galaxy Tool Shed" http://toolshed.g2.bx.psu.edu/ tarball use
the following command from the Galaxy root folder::
For pushing a release to the "Galaxy Tool Shed" http://toolshed.g2.bx.psu.edu/
use the following Planemo command (which requires you have set your Tool Shed
access details in ``~/.planemo.yml`` and that you have access rights on the Tool Shed)::

$ tar -czf venn_list.tar.gz tools/venn_list/README.rst tools/venn_list/venn_list.* tools/venn_list/tool_dependencies.xml test-data/magic.pdf test-data/venn_list.tabular test-data/rhodopsin_proteins.fasta
$ planemo shed_upload --shed_target testtoolshed --check_diff ~/repositories/pico_galaxy/tools/venn_list/
...

Check this worked::
To just build and check the tar ball, use::

$ tar -tzf venn_list.tar.gz
tools/venn_list/README.rst
tools/venn_list/venn_list.py
tools/venn_list/venn_list.xml
tools/venn_list/tool_dependencies.xml
$ planemo shed_upload --tar_only ~/repositories/pico_galaxy/tools/venn_list/
...
$ tar -tzf shed_upload.tar.gz
README.rst
test-data/magic.pdf
test-data/venn_list.tabular
test-data/rhodopsin_proteins.fasta
test-data/venn_list.tabular
tool_dependencies.xml
venn_list.py
venn_list.xml


Licence (MIT)
Expand Down

0 comments on commit 226ce53

Please sign in to comment.