Mercurial > repos > iuc > merquryfk_asmplot
comparison macros.xml @ 0:f04eea616f79 draft
planemo upload for repository https://github.com/thegenemyers/MERQURY.FK commit a3bca7925574e058336e55d80e8390e95af770a7
| author | iuc |
|---|---|
| date | Tue, 25 Feb 2025 13:34:37 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:f04eea616f79 |
|---|---|
| 1 <macros> | |
| 2 <token name="@VERSION@">1.1.1</token> | |
| 3 <token name="@VERSION_SUFFIX@">0</token> | |
| 4 <token name="@PLOTS@"> | |
| 5 -w${width} | |
| 6 -h${height} | |
| 7 </token> | |
| 8 <token name="@MEASURE@"> | |
| 9 #if $measure.measurement == "relative": | |
| 10 -x${max_x} | |
| 11 -y${max_y} | |
| 12 #else: | |
| 13 -X${max_x} | |
| 14 -Y${max_y} | |
| 15 #end if | |
| 16 </token> | |
| 17 <token name="@GRAPHS@"> | |
| 18 #for $graph in $graphs: | |
| 19 $graph | |
| 20 #end for | |
| 21 </token> | |
| 22 <xml name="requirements"> | |
| 23 <requirements> | |
| 24 <requirement type="package" version="@VERSION@">merquryfk</requirement> | |
| 25 </requirements> | |
| 26 </xml> | |
| 27 <xml name="sizes"> | |
| 28 <conditional name="measure"> | |
| 29 <param name="measurement" type="select" label="How would you like to set max value?"> | |
| 30 <option value="absolute">Absolute terms</option> | |
| 31 <option value="relative">Relative to peak</option> | |
| 32 </param> | |
| 33 <when value="absolute"> | |
| 34 <param name="max_x" type="integer" min="0" label="Max X value" optional="true" value="2"/> | |
| 35 <param name="max_y" type="integer" min="0" label="Max Y value" optional="true" value="1"/> | |
| 36 </when> | |
| 37 <when value="relative"> | |
| 38 <param name="max_x" type="float" min="0" label="Max X multiplier" optional="true" value="2.1" help="Sets max value as assigned multiple of count 'peak' away from origin"/> | |
| 39 <param name="max_y" type="float" min="0" label="Max Y multiplier" optional="true" value="1.1" help="Sets max value as assigned multiple of count 'peak' away from origin"/> | |
| 40 </when> | |
| 41 </conditional> | |
| 42 </xml> | |
| 43 <xml name="plots"> | |
| 44 <param name="width" label="Width of plots" type="float" optional="true" value="6.0" min="0"/> | |
| 45 <param name="height" label="Height of plots" type="float" optional="true" value="4.5" min="0"/> | |
| 46 </xml> | |
| 47 <xml name="graphs"> | |
| 48 <param name="graphs" label="What graphs would you like to generate?" type="select" multiple="true" help="If none are selected, all will be generated"> | |
| 49 <option value="-l">Line plot</option> | |
| 50 <option value="-f">Fill plot</option> | |
| 51 <option value="-s">Stack plot</option> | |
| 52 <option value="-z">K-mer counts unique to assembly</option> | |
| 53 </param> | |
| 54 </xml> | |
| 55 <xml name="graphs2"> | |
| 56 <param name="graphs" label="What graphs would you like to generate?" type="select" multiple="true" help="If none are selected, all will be generated"> | |
| 57 <option value="-l">Line plot</option> | |
| 58 <option value="-f">Fill plot</option> | |
| 59 <option value="-s">Stack plot</option> | |
| 60 </param> | |
| 61 </xml> | |
| 62 <xml name="pdf"> | |
| 63 <param argument="-pdf" type="boolean" label="PDF Output" truevalue="-pdf" falsevalue="" help="Output in pdf format if true, png if false"/> | |
| 64 </xml> | |
| 65 <xml name="description"> | |
| 66 <description>part of MERQURY.FK</description> | |
| 67 </xml> | |
| 68 <xml name="citation"> | |
| 69 <citations> | |
| 70 <citation type="bibtex"> | |
| 71 @misc{githubMERQURY.FK. | |
| 72 author = {Eugene Myers}, | |
| 73 year = {2023}, | |
| 74 title = {MERQURY.FK}, | |
| 75 publisher = {GitHub}, | |
| 76 journal = {GitHub repository}, | |
| 77 url = {https://github.com/thegenemyers/MERQURY.FK}, | |
| 78 } | |
| 79 </citation> | |
| 80 </citations> | |
| 81 </xml> | |
| 82 </macros> |
