Mercurial > repos > nml > tree_relabeler
annotate tree_relabeler.xml @ 2:41ada87567a2 draft default tip
planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 8ad15943a8d365b3924ff7a5e53308cc56d7a6af
author | nml |
---|---|
date | Thu, 27 Jun 2019 15:03:13 -0400 |
parents | 267858c28a34 |
children |
rev | line source |
---|---|
2
41ada87567a2
planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 8ad15943a8d365b3924ff7a5e53308cc56d7a6af
nml
parents:
1
diff
changeset
|
1 <tool id="tree_relabel" name="Tree Relabeler" version="1.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> |
2
41ada87567a2
planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 8ad15943a8d365b3924ff7a5e53308cc56d7a6af
nml
parents:
1
diff
changeset
|
8 <command detect_errors="exit_code"> |
41ada87567a2
planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 8ad15943a8d365b3924ff7a5e53308cc56d7a6af
nml
parents:
1
diff
changeset
|
9 <![CDATA[ |
41ada87567a2
planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 8ad15943a8d365b3924ff7a5e53308cc56d7a6af
nml
parents:
1
diff
changeset
|
10 $__tool_directory__/nml_tree_relabeler.pl -i '$treefile' -t '$tabfile' -o '$output' -d '$delim' $replace |
41ada87567a2
planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 8ad15943a8d365b3924ff7a5e53308cc56d7a6af
nml
parents:
1
diff
changeset
|
11 ]]> |
41ada87567a2
planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 8ad15943a8d365b3924ff7a5e53308cc56d7a6af
nml
parents:
1
diff
changeset
|
12 </command> |
0
02bc0d7d40b5
planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff
changeset
|
13 <inputs> |
1
267858c28a34
planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit afb05efaf5c7808594bab3473ad6cc958523fc22
nml
parents:
0
diff
changeset
|
14 <param name="treefile" type="data" format="nhx" label="The newick formated tree file to be relabeled:" optional="false"/> |
0
02bc0d7d40b5
planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff
changeset
|
15 <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
|
16 <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."/> |
2
41ada87567a2
planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 8ad15943a8d365b3924ff7a5e53308cc56d7a6af
nml
parents:
1
diff
changeset
|
17 <param name="replace" truevalue='--replace' falsevalue='' type="boolean" label="Find and Replace current tip" help="If false, will append to current tip. If true, will replace current tip"/> |
0
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 |
02bc0d7d40b5
planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff
changeset
|
20 <outputs> |
02bc0d7d40b5
planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff
changeset
|
21 <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
|
22 </outputs> |
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 <tests> |
02bc0d7d40b5
planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff
changeset
|
25 <test> |
02bc0d7d40b5
planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff
changeset
|
26 <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
|
27 <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
|
28 <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
|
29 </test> |
2
41ada87567a2
planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 8ad15943a8d365b3924ff7a5e53308cc56d7a6af
nml
parents:
1
diff
changeset
|
30 <test> |
41ada87567a2
planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 8ad15943a8d365b3924ff7a5e53308cc56d7a6af
nml
parents:
1
diff
changeset
|
31 <param name="treefile" value="phylogeneticTree.newick.nhx"/> |
41ada87567a2
planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 8ad15943a8d365b3924ff7a5e53308cc56d7a6af
nml
parents:
1
diff
changeset
|
32 <param name="tabfile" value="replacedtabs.txt"/> |
41ada87567a2
planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 8ad15943a8d365b3924ff7a5e53308cc56d7a6af
nml
parents:
1
diff
changeset
|
33 <param name="replace" value="true"/> |
41ada87567a2
planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 8ad15943a8d365b3924ff7a5e53308cc56d7a6af
nml
parents:
1
diff
changeset
|
34 <output name="output" file="replacedresults"/> |
41ada87567a2
planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 8ad15943a8d365b3924ff7a5e53308cc56d7a6af
nml
parents:
1
diff
changeset
|
35 </test> |
0
02bc0d7d40b5
planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff
changeset
|
36 </tests> |
02bc0d7d40b5
planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff
changeset
|
37 <help> |
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 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
|
40 ============ |
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 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
|
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 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
|
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 Usage |
02bc0d7d40b5
planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff
changeset
|
47 ===== |
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 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
|
50 |
02bc0d7d40b5
planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff
changeset
|
51 - #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
|
52 - 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
|
53 - 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
|
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 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
|
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 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
|
58 |
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 Input |
02bc0d7d40b5
planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff
changeset
|
61 ===== |
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 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
|
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 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
|
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 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
|
68 |
02bc0d7d40b5
planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff
changeset
|
69 </help> |
2
41ada87567a2
planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 8ad15943a8d365b3924ff7a5e53308cc56d7a6af
nml
parents:
1
diff
changeset
|
70 <citations> |
41ada87567a2
planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 8ad15943a8d365b3924ff7a5e53308cc56d7a6af
nml
parents:
1
diff
changeset
|
71 </citations> |
0
02bc0d7d40b5
planemo upload for repository https://github.com/phac-nml/galaxy_tools/blob/master/tools/tree_relabeler commit 974af0d5e7ccfcbd47284eb85a5f593d5e48daf8
nml
parents:
diff
changeset
|
72 </tool> |