Mercurial > repos > iuc > transit_resampling
annotate macros.xml @ 4:7288ac4e8583 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit b8111d3ebede6ee71b18fbbabc708cdeab340912-dirty
| author | dave |
|---|---|
| date | Wed, 03 Apr 2019 14:43:41 -0400 |
| parents | 173bf0f6ca1e |
| children | 3fcb70c1ca78 |
| rev | line source |
|---|---|
|
0
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
2 <macros> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
3 <xml name="citations"> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
4 <citations> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
5 <citation type="doi">10.1371/journal.pcbi.1004401</citation> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
6 <yield /> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
7 </citations> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
8 </xml> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
9 <xml name="requirements"> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
10 <requirements> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
11 <requirement type="package" version="@VERSION@">transit</requirement> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
12 <yield /> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
13 </requirements> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
14 </xml> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
15 <token name="@VERSION@">2.3.1</token> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
16 <xml name="outputs"> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
17 <yield /> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
18 <data name="sites" from_work_dir="transit_out.txt" format="tabular" label="${tool.name} on ${on_string} Sites" /> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
19 </xml> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
20 <xml name="replicates"> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
21 <param name="replicates" type="select" label="How to handle replicates"> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
22 <option value="Mean">Mean</option> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
23 <option value="Sum">Sum</option> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
24 </param> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
25 </xml> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
26 <xml name="inputs"> |
|
4
7288ac4e8583
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit b8111d3ebede6ee71b18fbbabc708cdeab340912-dirty
dave
parents:
2
diff
changeset
|
27 <conditional name="mode"> |
|
7288ac4e8583
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit b8111d3ebede6ee71b18fbbabc708cdeab340912-dirty
dave
parents:
2
diff
changeset
|
28 <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."> |
|
7288ac4e8583
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit b8111d3ebede6ee71b18fbbabc708cdeab340912-dirty
dave
parents:
2
diff
changeset
|
29 <option value="Batch">Batch</option> |
|
7288ac4e8583
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit b8111d3ebede6ee71b18fbbabc708cdeab340912-dirty
dave
parents:
2
diff
changeset
|
30 <option value="Replicates">Replicates</option> |
|
7288ac4e8583
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit b8111d3ebede6ee71b18fbbabc708cdeab340912-dirty
dave
parents:
2
diff
changeset
|
31 </param> |
|
7288ac4e8583
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit b8111d3ebede6ee71b18fbbabc708cdeab340912-dirty
dave
parents:
2
diff
changeset
|
32 <when value="Batch"> |
|
7288ac4e8583
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit b8111d3ebede6ee71b18fbbabc708cdeab340912-dirty
dave
parents:
2
diff
changeset
|
33 <param name="inputs" type="data" format="wig,tabular" multiple="false" label="Input .wig files" /> |
|
7288ac4e8583
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit b8111d3ebede6ee71b18fbbabc708cdeab340912-dirty
dave
parents:
2
diff
changeset
|
34 </when> |
|
7288ac4e8583
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit b8111d3ebede6ee71b18fbbabc708cdeab340912-dirty
dave
parents:
2
diff
changeset
|
35 <when value="Replicates"> |
|
7288ac4e8583
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit b8111d3ebede6ee71b18fbbabc708cdeab340912-dirty
dave
parents:
2
diff
changeset
|
36 <param name="inputs" type="data" format="wig,tabular" multiple="true" label="Input .wig files" /> |
|
7288ac4e8583
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit b8111d3ebede6ee71b18fbbabc708cdeab340912-dirty
dave
parents:
2
diff
changeset
|
37 </when> |
|
7288ac4e8583
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit b8111d3ebede6ee71b18fbbabc708cdeab340912-dirty
dave
parents:
2
diff
changeset
|
38 </conditional> |
|
0
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
39 <yield /> |
|
2
173bf0f6ca1e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0-dirty
iuc
parents:
1
diff
changeset
|
40 <param name="annotation" type="data" format="gff3,tabular" label="Input annotation" /> |
|
0
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
41 </xml> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
42 <xml name="ignore_tas"> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
43 <param name="nterm" argument="-iN" type="float" value="0" min="0" max="1" label="Ignore TAs occuring at given fraction of the N terminus." /> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
44 <param name="cterm" argument="-iC" type="float" value="0" min="0" max="1" label="Ignore TAs occuring at given fraction of the C terminus." /> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
45 </xml> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
46 <xml name="standard_inputs"> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
47 <expand macro="inputs" /> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
48 <yield /> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
49 <expand macro="ignore_tas" /> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
50 </xml> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
51 <token name="@LINK_INPUTS@"> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
52 <![CDATA[ |
|
4
7288ac4e8583
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit b8111d3ebede6ee71b18fbbabc708cdeab340912-dirty
dave
parents:
2
diff
changeset
|
53 #if str($mode.replicates) == 'Batch': |
|
7288ac4e8583
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit b8111d3ebede6ee71b18fbbabc708cdeab340912-dirty
dave
parents:
2
diff
changeset
|
54 #set $input_files = $mode.inputs |
|
7288ac4e8583
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit b8111d3ebede6ee71b18fbbabc708cdeab340912-dirty
dave
parents:
2
diff
changeset
|
55 #else: |
|
7288ac4e8583
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit b8111d3ebede6ee71b18fbbabc708cdeab340912-dirty
dave
parents:
2
diff
changeset
|
56 #set $input_files = ','.join(['input_file_%d.wig' % idx for idx, _ in enumerate(str($mode.inputs).split(','))]) |
|
7288ac4e8583
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit b8111d3ebede6ee71b18fbbabc708cdeab340912-dirty
dave
parents:
2
diff
changeset
|
57 #for idx, filename in enumerate(str($mode.inputs).split(',')): |
|
7288ac4e8583
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit b8111d3ebede6ee71b18fbbabc708cdeab340912-dirty
dave
parents:
2
diff
changeset
|
58 ln -s '$filename' input_file_${idx}.wig && |
|
7288ac4e8583
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit b8111d3ebede6ee71b18fbbabc708cdeab340912-dirty
dave
parents:
2
diff
changeset
|
59 #end for |
|
7288ac4e8583
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit b8111d3ebede6ee71b18fbbabc708cdeab340912-dirty
dave
parents:
2
diff
changeset
|
60 #end if |
|
0
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
61 ln -s '$annotation' annotation.dat && |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
62 ]]> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
63 </token> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
64 <token name="@STANDARD_OPTIONS@"> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
65 -iN $nterm |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
66 -tC $cterm |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
67 </token> |
|
8ccb1b841efb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit/ commit 9ffba16c072c7dafe4ef0b70cd2ef166fbe903d0
iuc
parents:
diff
changeset
|
68 </macros> |
