diff emboss_infoseq.xml @ 11:0e2484b6829b draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/emboss_5 commit b583bbeb8fc90cd4b1e987a56982e7cf4aed1a68
author iuc
date Mon, 30 Jan 2017 13:27:40 -0500
parents 9b98d3d903c6
children 27c43fb015f0
line wrap: on
line diff
--- a/emboss_infoseq.xml	Fri Aug 12 19:17:10 2016 -0400
+++ b/emboss_infoseq.xml	Mon Jan 30 13:27:40 2017 -0500
@@ -1,84 +1,67 @@
-<tool id="EMBOSS: infoseq46" name="infoseq" version="5.0.0">
+<tool id="EMBOSS: infoseq46" name="infoseq" version="5.0.0">
   <!-- info contains file information always -->
-  <description>Displays some simple information about sequences</description>
-  <requirements><requirement type="package" version="5.0.0">emboss</requirement></requirements>
-  <command>infoseq -sequence $input1 -outfile $out_file1 -html $html_out1 -heading $heading -usa $usa -name $disname -accession $accession -gi $gi -version $version -type $type -length $length -pgc
-  $pgc -description $description -auto</command>
-  <inputs>
-    <param format="data" name="input1" type="data">
-      <label>Sequences</label>
-    </param>
-    <param name="html_out1" type="select">
-      <label>Format output as an HTML table</label>
-      <option value="no">No</option>
-      <option value="yes">Yes</option>
-    </param>
-    <param name="heading" type="select">
-      <label>Display column headings</label>
-      <option value="yes">Yes</option>
-      <option value="no">No</option>
-    </param>
-    <param name="usa" type="select">
-      <label>Display the USA of the sequence</label>
-      <option value="yes">Yes</option>
-      <option value="no">No</option>
-    </param>
-    <param name="disname" type="select">
-      <label>Display 'name' column</label>
-      <option value="yes">Yes</option>
-      <option value="no">No</option>
-    </param>
-    <param name="accession" type="select">
-      <label>Display 'accession' column</label>
-      <option value="yes">Yes</option>
-      <option value="no">No</option>
-    </param>
-    <param name="gi" type="select">
-      <label>Display 'GI' column</label>
-      <option value="no">No</option>
-      <option value="yes">Yes</option>
-    </param>
-    <param name="version" type="select">
-      <label>Display 'version' column</label>
-      <option value="no">No</option>
-      <option value="yes">Yes</option>
-    </param>
-    <param name="type" type="select">
-      <label>Display 'type' column</label>
-      <option value="yes">Yes</option>
-      <option value="no">No</option>
-    </param>
-    <param name="length" type="select">
-      <label>Display 'length' column</label>
-      <option value="yes">Yes</option>
-      <option value="no">No</option>
-    </param>
-    <param name="pgc" type="select">
-      <label>Display 'percent GC content' column</label>
-      <option value="yes">Yes</option>
-      <option value="no">No</option>
-    </param>
-    <param name="description" type="select">
-      <label>Display 'description' column</label>
-      <option value="yes">Yes</option>
-      <option value="no">No</option>
-    </param>
-  </inputs>
-  <outputs>
-    <data format="txt" name="out_file1" />
-  </outputs>
-  <code file="emboss_format_corrector.py" />
+  <description>Displays some simple information about sequences</description>
+  <macros>
+    <import>macros.xml</import>
+  </macros>
+  <expand macro="requirements" />
+  <code file="emboss_format_corrector.py" />
+  <command>infoseq -sequence '$input1' -outfile '$out_file1' -html $html_out1 -heading $heading -usa $usa -name $disname -accession $accession -gi $gi -version $version -type $type -length $length -pgc
+  $pgc -description $description -auto</command>
+  <inputs>
+    <param name="input1" type="data" format="data" label="Sequences" />
+    <param name="html_out1" type="select" label="Format output as an HTML table">
+      <option value="no">No</option>
+      <option value="yes">Yes</option>
+    </param>
+    <param name="heading" type="select" label="Display column headings">
+      <option value="yes">Yes</option>
+      <option value="no">No</option>
+    </param>
+    <param name="usa" type="select" label="Display the USA of the sequence">
+      <option value="yes">Yes</option>
+      <option value="no">No</option>
+    </param>
+    <param name="disname" type="select" label="Display 'name' column">
+      <option value="yes">Yes</option>
+      <option value="no">No</option>
+    </param>
+    <param name="accession" type="select" label="Display 'accession' column">
+      <option value="yes">Yes</option>
+      <option value="no">No</option>
+    </param>
+    <param name="gi" type="select" label="Display 'GI' column">
+      <option value="no">No</option>
+      <option value="yes">Yes</option>
+    </param>
+    <param name="version" type="select" label="Display 'version' column">
+      <option value="no">No</option>
+      <option value="yes">Yes</option>
+    </param>
+    <param name="type" type="select" label="Display 'type' column">
+      <option value="yes">Yes</option>
+      <option value="no">No</option>
+    </param>
+    <param name="length" type="select" label="Display 'length' column">
+      <option value="yes">Yes</option>
+      <option value="no">No</option>
+    </param>
+    <param name="pgc" type="select" label="Display 'percent GC content' column">
+      <option value="yes">Yes</option>
+      <option value="no">No</option>
+    </param>
+    <param name="description" type="select" label="Display 'description' column">
+      <option value="yes">Yes</option>
+      <option value="no">No</option>
+    </param>
+  </inputs>
+  <outputs>
+    <data name="out_file1" format="txt" />
+  </outputs>
   <help>
     You can view the original documentation here_.
-    
-    .. _here: http://emboss.sourceforge.net/apps/release/5.0/emboss/apps/infoseq.html
-
-------
-
-**Citation**
 
-For the underlying tool, please cite `Rice P, Longden I, Bleasby A. EMBOSS: the European Molecular Biology Open Software Suite. Trends Genet. 2000 Jun;16(6):276-7. &lt;http://www.ncbi.nlm.nih.gov/pubmed/10827456&gt;`_
-
-If you use this tool in Galaxy, please cite `Blankenberg D, Taylor J, Schenck I, He J, Zhang Y, Ghent M, Veeraraghavan N, Albert I, Miller W, Makova KD, Hardison RC, Nekrutenko A. A framework for collaborative analysis of ENCODE data: making large-scale analyses biologist-friendly. Genome Res. 2007 Jun;17(6):960-4. &lt;http://www.ncbi.nlm.nih.gov/pubmed/17568012&gt;`_
+    .. _here: http://galaxy-iuc.github.io/emboss-5.0-docs/infoseq.html
   </help>
-</tool>
\ No newline at end of file
+  <expand macro="citations" />
+</tool>