Mercurial > repos > dave > transit_resampling
comparison macros.xml @ 0:c641d7e020bf draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transit commit bb1afe7092cd4f9440d3434379a93270907bf175
| author | dave |
|---|---|
| date | Mon, 05 Nov 2018 14:26:52 -0500 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:c641d7e020bf |
|---|---|
| 1 <?xml version="1.0"?> | |
| 2 <macros> | |
| 3 <xml name="citations"> | |
| 4 <citations> | |
| 5 <citation type="doi">10.1371/journal.pcbi.1004401</citation> | |
| 6 <yield /> | |
| 7 </citations> | |
| 8 </xml> | |
| 9 <xml name="requirements"> | |
| 10 <requirements> | |
| 11 <requirement type="package" version="@VERSION@">transit</requirement> | |
| 12 <yield /> | |
| 13 </requirements> | |
| 14 </xml> | |
| 15 <token name="@VERSION@">2.3.1</token> | |
| 16 <xml name="outputs"> | |
| 17 <yield /> | |
| 18 <data name="sites" from_work_dir="transit_out.txt" format="tabular" label="${tool.name} on ${on_string}: Sites" /> | |
| 19 </xml> | |
| 20 <xml name="inputs"> | |
| 21 <param name="inputs" type="data" format="wig" multiple="true" label="Input .wig files" /> | |
| 22 <yield /> | |
| 23 <param name="annotation" type="data" format="gff3" label="Input annotation" /> | |
| 24 </xml> | |
| 25 <xml name="replicates"> | |
| 26 <param name="replicates" type="select" label="How to handle replicates"> | |
| 27 <option value="Mean">Mean</option> | |
| 28 <option value="Sum">Sum</option> | |
| 29 </param> | |
| 30 </xml> | |
| 31 <xml name="ignore_tas"> | |
| 32 <param name="nterm" argument="-iN" type="float" value="0" min="0" max="1" label="Ignore TAs occuring at given fraction of the N terminus." /> | |
| 33 <param name="cterm" argument="-iC" type="float" value="0" min="0" max="1" label="Ignore TAs occuring at given fraction of the C terminus." /> | |
| 34 </xml> | |
| 35 <xml name="standard_inputs"> | |
| 36 <expand macro="inputs" /> | |
| 37 <yield /> | |
| 38 <expand macro="ignore_tas" /> | |
| 39 </xml> | |
| 40 <token name="@LINK_INPUTS@"> | |
| 41 <![CDATA[ | |
| 42 #set $input_files = ','.join(['input_file_%d.wig' % idx for idx, _ in enumerate(str($inputs).split(','))]) | |
| 43 #for idx, filename in enumerate(str($inputs).split(',')): | |
| 44 ln -s '$filename' input_file_${idx}.wig && | |
| 45 #end for | |
| 46 ln -s '$annotation' annotation.dat && | |
| 47 ]]> | |
| 48 </token> | |
| 49 <token name="@STANDARD_OPTIONS@"> | |
| 50 -iN $nterm | |
| 51 -tC $cterm | |
| 52 </token> | |
| 53 </macros> |
