annotate bootstrap.xml @ 8:35f9b833e12b draft default tip

planemo upload commit 2774930eebe258ecd56c8f1c5ddabf5092282ab9
author bcclaywell
date Mon, 12 Oct 2015 16:09:02 -0400
parents 3c50a937d7c1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
1 <tool id="PHYLO_bootstrap" name="Prepare data" version="1.1.0">
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
2 <description>for analysis</description>
6
3c50a937d7c1 Uploaded
bcclaywell
parents: 0
diff changeset
3 <macros>
3c50a937d7c1 Uploaded
bcclaywell
parents: 0
diff changeset
4 <import>macros.xml</import>
3c50a937d7c1 Uploaded
bcclaywell
parents: 0
diff changeset
5 </macros>
0
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
6 <requirements>
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
7 <requirement type="package">yapp_env</requirement>
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
8 </requirements>
6
3c50a937d7c1 Uploaded
bcclaywell
parents: 0
diff changeset
9 <stdio>
3c50a937d7c1 Uploaded
bcclaywell
parents: 0
diff changeset
10 <expand macro="basic_errors"/>
3c50a937d7c1 Uploaded
bcclaywell
parents: 0
diff changeset
11 </stdio>
0
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
12 <version_command>echo "bootstrap script 1.1.0"</version_command>
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
13 <command interpreter="bash">
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
14 bootstrap-wrapper.sh $config
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
15 </command>
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
16 <inputs>
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
17 <param name="plate_id" type="integer" value="1" label="Plate number"/>
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
18 <conditional name="run_type">
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
19 <param name="run_type_select" type="select" label="Run type">
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
20 <option value="junior">Junior</option>
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
21 <option value="senior">Senior</option>
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
22 </param>
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
23 <when value="junior"></when>
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
24 <when value="senior">
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
25 <param name="zone_id" type="integer" value="1" label="Zone number"/>
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
26 </when>
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
27 </conditional>
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
28 <param name="sample_info" type="data" format="csv" label="Sample information"/>
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
29 </inputs>
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
30 <outputs>
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
31 <data format="csv" name="barcodes" label="Specimen-to-barcode map"/>
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
32 <data format="csv" name="labels" label="Specimen-to-label map"/>
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
33 <data format="csv" name="metadata" label="Metadata template"/>
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
34 </outputs>
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
35 <configfiles>
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
36 <configfile name="config">
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
37 PLATE_ID="${plate_id}"
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
38 #if $run_type.run_type_select == "senior"
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
39 JUNIOR=""
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
40 ZONE_ID="${run_type.zone_id}"
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
41 #else
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
42 JUNIOR="--junior"
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
43 ZONE_ID="1"
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
44 #end if
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
45 SAMPLE_INFO="${sample_info}"
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
46
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
47 BARCODES="${barcodes}"
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
48 LABELS="${labels}"
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
49 METADATA="${metadata}"
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
50 </configfile>
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
51 </configfiles>
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
52 <!-- The contents of the help tag is parsed as reStructuredText. Please see
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
53 help-template.rst for examples of commonly-used sections in other Galaxy
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
54 tools. -->
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
55 <help>
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
56
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
57 .. class:: infomark
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
58
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
59 **What it does**
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
60
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
61 This tool parses sample information and creates a mapping of samples to
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
62 barcodes. The sample information file must contain the columns ``sampleid``,
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
63 ``barcode``, and ``reverse``, and can optionally contain a ``zone`` column
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
64 also.
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
65
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
66 </help>
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
67 </tool>