diff cut_fr.xml @ 1:59bd6cbbeb92 draft

Uploaded
author r-lannes
date Wed, 16 Dec 2015 08:46:07 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cut_fr.xml	Wed Dec 16 08:46:07 2015 -0500
@@ -0,0 +1,55 @@
+<!--  <cut_fr.xml is script allwoing more convenient use of cut in galaxy environment>
+  Copyright (C) <2015>  <Lannes Romain>
+
+   This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.''' -->
+<tool id="cut_fr" name="cut_francais" version="1.0">
+   <description> keep or remove selected column </description>
+   <command interpreter="python3"> cut_fr.py
+      --c $column
+      --i $datasets
+      --type_cut $choice
+      --extend_print $extend_print
+      --o $output
+
+   </command>
+   <inputs>
+      <param name = "column" type = "text" format = "txt" value = "c1" label = "column(s)" />
+      <param name = "datasets" type = "data" format = "txt" value = "a tsv file" label = "dataset" />
+      <param name = "choice" type = "select" display = "radio" label = "choose cut type :" >
+                 <option value = "exclude" > Exclude </option>
+                 <option value = "include" > Include </option>
+      </param>
+      <param name = "extend_print" type ="select" label = "extended print">
+                <option value = "False" > False </option>
+                <option value = "True" > True </option>
+      </param>
+   </inputs>
+
+   <outputs>
+       <data name = "output" label="${tool.name} on ${datasets.name}" format = "tabular"/>
+
+   </outputs>
+   <help>
+ <![CDATA[ 
+	return a datasets with only or less specified column
+
+	To select only selected column choose option Include.
+
+	To remove selected column choose option Exclude.
+
+	extended print add print in strdout like input paramter, command launch by the system.
+
+  ]]> </help>
+
+</tool>