|
1
|
1 # Elastic Galaxy Tools
|
|
|
2
|
|
|
3 * [What are Elastic Galaxy Tools](#what-are-elastic-galaxy-tools?)
|
|
|
4 * [How to use Elastic Galaxy Tools](#how-to-use-elastic-galaxy-tools?)
|
|
|
5 * [How to develop an Elastic Galaxy Tool](#how-to-develop-an-elastic-galaxy-tool?)
|
|
|
6 + [Publish a Galaxy Tool](#publish-a-galaxy-tool)
|
|
|
7
|
|
|
8
|
|
|
9
|
|
|
10
|
|
|
11 ## What are Elastic Galaxy Tools?
|
|
|
12
|
|
|
13 **Elastic Galaxy tools** is a type of Galaxy tools that have elastic user interfaces. Users can adjust the
|
|
|
14 number of input fields a tool can have, just like using a command line tool. When using a command line tool,
|
|
|
15 users can choose which (non-required) options to use. I hope Galaxy users can do the same thing, but without
|
|
|
16 actually writing any command line scripts.
|
|
|
17
|
|
|
18
|
|
|
19 ## How to use Elastic Galaxy Tools?
|
|
|
20
|
|
|
21 Although any (Elastic) Galaxy tool is a wrapper of a command line tool which enables performing data analysis
|
|
|
22 through web interfaces without actually writing any command line script, understanding how to read command line
|
|
|
23 manuals will help you use Elastic Galaxy tools.
|
|
|
24
|
|
|
25 Running a command line tool is very simple. You start with the tool name, then you specify options (also called flags)
|
|
|
26 that the tool can recognize. The tool manual should tell you which options the tool can recognize. An option may or may
|
|
|
27 not have a value followed. Some options are required and some are optional. You have to use all required options to
|
|
|
28 successfully run a command line tool. However, you can use as many optional options as you want in a call of a command
|
|
|
29 line tool.
|
|
|
30
|
|
|
31 ## How to develop an Elastic Galaxy Tool?
|
|
|
32
|
|
|
33 ### Publish a Galaxy tool
|
|
|
34
|
|
|
35 We can use the tool **planemo** to easily publish our Galaxy tools to Tool Shed or test Tool Shed.
|
|
|
36 More details can be found **[here](http://planemo.readthedocs.io/en/latest/publishing.html)**.
|
|
|
37
|
|
|
38 * Publish to test Tool Shed
|
|
|
39
|
|
|
40 ```bash
|
|
|
41 planemo shed_create --shed_target testtoolshed
|
|
|
42 ```
|
|
|
43
|
|
|
44 * Update tool repository in test Tool Shed
|
|
|
45
|
|
|
46 ```bash
|
|
|
47 planemo shed_update --check_diff --shed_target testtoolshed
|
|
|
48 ```
|
|
|
49
|
|
|
50 * Publish to Tool Shed
|
|
|
51
|
|
|
52 ```bash
|
|
|
53 planemo shed_create --shed_target toolshed
|
|
|
54 ```
|
|
|
55
|
|
|
56 * Update tool repository in Tool Shed
|
|
|
57
|
|
|
58 ```bash
|
|
|
59 planemo shed_update --check_diff --shed_target toolshed
|
|
|
60 ```
|
|
|
61
|
|
|
62
|
|
|
63
|