comparison tree_relabeler.xml @ 0:02bc0d7d40b5 draft

planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
author nml
date Mon, 29 Apr 2019 11:18:32 -0400
parents
children 267858c28a34
comparison
equal deleted inserted replaced
-1:000000000000 0:02bc0d7d40b5
1 <tool id="tree_relabel" name="Tree Relabeler" version="1.0.0">
2 <description>Relabels the tips of a newick formatted tree.</description>
3
4 <requirements>
5 <requirement type="package" version="1.7.2">perl-bioperl</requirement>
6 <requirement type="package" version="2.49">perl-getopt-long</requirement>
7 </requirements>
8
9 <stdio>
10 <exit_code range="1" level="fatal" description="Error opening a file."/>
11 <exit_code range="2" level="fatal" description="Error with tree format."/>
12 </stdio>
13
14 <command interpreter="perl">
15 nml_tree_relabeler.pl -i $treefile -t $tabfile -o $output -d $delim
16 </command>
17
18 <inputs>
19 <param name="treefile" type="data" format="txt" label="The newick formated tree file to be relabeled:" optional="false"/>
20 <param name="tabfile" type="data" format="txt" label="The tab separated file containing the current labels and the info to be added to the labels" optional="false"/>
21 <param name="delim" type="text" label="Delimiter for new tip labels (space, _, etc)" optional="true" help="If left blank, labels of updated tips will be separated by spaces."/>
22 </inputs>
23
24 <outputs>
25 <data format="txt" name="output"/>
26 </outputs>
27
28 <tests>
29 <test>
30 <param name="treefile" value="phylogeneticTree.newick.nhx"/>
31 <param name="tabfile" value="tabs.txt"/>
32 <output name="output" file="results"/>
33 </test>
34 </tests>
35 <help>
36
37 What it does
38 ============
39
40 This tool provides a means for relabeling the tips of a newick formatted tree.
41
42 It takes a newick format tree file to modify tip labels and a tab-delimited file containing current tip labels and additional information to add to the tips in 2 or more columns.
43
44 Usage
45 =====
46
47 Header row of the tab delimited file must start with a '#'. An example is below:
48
49 - #label outbreak year location
50 - orgs1 outbreak1 year1 location1
51 - orgs2 outbreak2 year2 location2
52
53 and so on.
54
55 The information in the tab file is inserted into the tree file so the new information will appear on the tip labels.
56
57
58 Input
59 =====
60
61 Newick format tree
62
63 Tab delimted file
64
65 Desired delimiter for updated tip labels
66
67 </help>
68 </tool>