annotate macros.xml @ 3:b12ff7a3ee41 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit bd061799ebd49ada1a666d0815720c18291728da"
author iuc
date Wed, 16 Oct 2019 04:33:13 -0400
parents c1751dfb4d94
children 2aea122fbd25
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
1 <?xml version="1.0"?>
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
2 <macros>
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
3 <xml name="citations">
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
4 <citations>
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
5 <citation type="doi">10.1371/journal.pcbi.1004401</citation>
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
6 <yield />
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
7 </citations>
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
8 </xml>
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
9 <xml name="requirements">
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
10 <requirements>
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
11 <requirement type="package" version="@VERSION@">transit</requirement>
2
c1751dfb4d94 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit f63413d629e4de3c69984b3a96ad8ccfe0d47ada"
iuc
parents: 1
diff changeset
12 <requirement type="package" version="3.7">python</requirement>
0
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
13 <yield />
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
14 </requirements>
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
15 </xml>
2
c1751dfb4d94 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit f63413d629e4de3c69984b3a96ad8ccfe0d47ada"
iuc
parents: 1
diff changeset
16 <token name="@VERSION@">3.0.1</token>
0
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
17 <xml name="outputs">
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
18 <yield />
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
19 <data name="sites" from_work_dir="transit_out.txt" format="tabular" label="${tool.name} on ${on_string} Sites" />
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
20 </xml>
3
b12ff7a3ee41 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit bd061799ebd49ada1a666d0815720c18291728da"
iuc
parents: 2
diff changeset
21 <xml name="handle_replicates">
b12ff7a3ee41 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit bd061799ebd49ada1a666d0815720c18291728da"
iuc
parents: 2
diff changeset
22 <param name="handle_replicates" type="select" label="How to handle replicates" value="Mean">
b12ff7a3ee41 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit bd061799ebd49ada1a666d0815720c18291728da"
iuc
parents: 2
diff changeset
23 <option value="Sum">Sum</option>
0
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
24 <option value="Mean">Mean</option>
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
25 </param>
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
26 </xml>
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
27 <xml name="inputs">
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
28 <conditional name="mode">
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
29 <param name="replicates" type="select" label="Operation mode" help="If set to 'Batch', transit will run and produce one output for each input file. If set to 'Replicates', transit will run once on all the input files.">
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
30 <option value="Batch">Batch</option>
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
31 <option value="Replicates">Replicates</option>
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
32 </param>
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
33 <when value="Batch">
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
34 <param name="inputs" type="data" format="wig,tabular" multiple="false" label="Input .wig files" />
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
35 </when>
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
36 <when value="Replicates">
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
37 <param name="inputs" type="data" format="wig,tabular" multiple="true" label="Input .wig files" />
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
38 </when>
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
39 </conditional>
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
40 <yield />
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
41 <param name="annotation" type="data" format="gff3,tabular" label="Input annotation" />
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
42 </xml>
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
43 <xml name="ignore_tas">
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
44 <param name="nterm" argument="-iN" type="float" value="0" min="0" max="1" label="Ignore TAs occuring at given fraction of the N terminus." />
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
45 <param name="cterm" argument="-iC" type="float" value="0" min="0" max="1" label="Ignore TAs occuring at given fraction of the C terminus." />
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
46 </xml>
2
c1751dfb4d94 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit f63413d629e4de3c69984b3a96ad8ccfe0d47ada"
iuc
parents: 1
diff changeset
47 <xml name="normal">
c1751dfb4d94 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit f63413d629e4de3c69984b3a96ad8ccfe0d47ada"
iuc
parents: 1
diff changeset
48 <param name="normalization" argument="-n" type="select" label="Normalization method" value="TTR">
c1751dfb4d94 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit f63413d629e4de3c69984b3a96ad8ccfe0d47ada"
iuc
parents: 1
diff changeset
49 <option value="TTR">TTR</option>
c1751dfb4d94 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit f63413d629e4de3c69984b3a96ad8ccfe0d47ada"
iuc
parents: 1
diff changeset
50 <option value="nonorm">No Normalization</option>
c1751dfb4d94 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit f63413d629e4de3c69984b3a96ad8ccfe0d47ada"
iuc
parents: 1
diff changeset
51 <option value="nzmean">Non-Zero Mean</option>
c1751dfb4d94 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit f63413d629e4de3c69984b3a96ad8ccfe0d47ada"
iuc
parents: 1
diff changeset
52 <option value="totreads">Total read counts</option>
c1751dfb4d94 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit f63413d629e4de3c69984b3a96ad8ccfe0d47ada"
iuc
parents: 1
diff changeset
53 <option value="zinfnb">Zero inflated Negative Binomial model</option>
c1751dfb4d94 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit f63413d629e4de3c69984b3a96ad8ccfe0d47ada"
iuc
parents: 1
diff changeset
54 <option value="quantile">Quantile Normalization</option>
c1751dfb4d94 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit f63413d629e4de3c69984b3a96ad8ccfe0d47ada"
iuc
parents: 1
diff changeset
55 <option value="betageom">Beta-Geometric Correction</option>
c1751dfb4d94 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit f63413d629e4de3c69984b3a96ad8ccfe0d47ada"
iuc
parents: 1
diff changeset
56 </param>
c1751dfb4d94 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit f63413d629e4de3c69984b3a96ad8ccfe0d47ada"
iuc
parents: 1
diff changeset
57 </xml>
0
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
58 <xml name="standard_inputs">
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
59 <expand macro="inputs" />
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
60 <yield />
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
61 <expand macro="ignore_tas" />
2
c1751dfb4d94 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit f63413d629e4de3c69984b3a96ad8ccfe0d47ada"
iuc
parents: 1
diff changeset
62 <expand macro="normal" />
0
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
63 </xml>
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
64 <token name="@LINK_INPUTS@">
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
65 <![CDATA[
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
66 #if str($mode.replicates) == 'Batch':
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
67 #set $input_files = $mode.inputs
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
68 #else:
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
69 #set $input_files = ','.join(['input_file_%d.wig' % idx for idx, _ in enumerate(str($mode.inputs).split(','))])
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
70 #for idx, filename in enumerate(str($mode.inputs).split(',')):
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
71 ln -s '$filename' input_file_${idx}.wig &&
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
72 #end for
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
73 #end if
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
74 ln -s '$annotation' annotation.dat &&
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
75 ]]>
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
76 </token>
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
77 <token name="@STANDARD_OPTIONS@">
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
78 -iN $nterm
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
79 -tC $cterm
2
c1751dfb4d94 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit f63413d629e4de3c69984b3a96ad8ccfe0d47ada"
iuc
parents: 1
diff changeset
80 -n $normalization
3
b12ff7a3ee41 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit bd061799ebd49ada1a666d0815720c18291728da"
iuc
parents: 2
diff changeset
81 -r $handle_replicates
0
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
82 </token>
99810cf51f2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 73c6b2baf9dda26c6809a4f36582f7cbdb161ea1
iuc
parents:
diff changeset
83 </macros>