annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
1 <tool id="tree_relabel" name="Tree Relabeler" version="1.0.0">
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
2 <description>Relabels the tips of a newick formatted tree.</description>
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
3
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
4 <requirements>
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
5 <requirement type="package" version="1.7.2">perl-bioperl</requirement>
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
6 <requirement type="package" version="2.49">perl-getopt-long</requirement>
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
7 </requirements>
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
8
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
9 <stdio>
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
10 <exit_code range="1" level="fatal" description="Error opening a file."/>
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
11 <exit_code range="2" level="fatal" description="Error with tree format."/>
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
12 </stdio>
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
13
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
14 <command interpreter="perl">
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
15 nml_tree_relabeler.pl -i $treefile -t $tabfile -o $output -d $delim
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
16 </command>
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
17
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
18 <inputs>
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
19 <param name="treefile" type="data" format="txt" label="The newick formated tree file to be relabeled:" optional="false"/>
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
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"/>
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
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."/>
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
22 </inputs>
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
23
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
24 <outputs>
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
25 <data format="txt" name="output"/>
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
26 </outputs>
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
27
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
28 <tests>
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
29 <test>
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
30 <param name="treefile" value="phylogeneticTree.newick.nhx"/>
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
31 <param name="tabfile" value="tabs.txt"/>
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
32 <output name="output" file="results"/>
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
33 </test>
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
34 </tests>
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
35 <help>
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
36
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
37 What it does
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
38 ============
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
39
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
40 This tool provides a means for relabeling the tips of a newick formatted tree.
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
41
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
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.
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
43
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
44 Usage
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
45 =====
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
46
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
47 Header row of the tab delimited file must start with a '#'. An example is below:
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
48
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
49 - #label outbreak year location
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
50 - orgs1 outbreak1 year1 location1
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
51 - orgs2 outbreak2 year2 location2
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
52
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
53 and so on.
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
54
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
55 The information in the tab file is inserted into the tree file so the new information will appear on the tip labels.
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
56
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
57
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
58 Input
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
59 =====
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
60
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
61 Newick format tree
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
62
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
63 Tab delimted file
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
64
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
65 Desired delimiter for updated tip labels
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
66
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
67 </help>
02bc0d7d40b5 planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff changeset
68 </tool>