Mercurial > repos > r-lannes > cut_include_exclude
view cut_fr.xml @ 2:d28ee835a561 draft default tip
Uploaded
author | r-lannes |
---|---|
date | Wed, 16 Dec 2015 08:46:37 -0500 |
parents | 59bd6cbbeb92 |
children |
line wrap: on
line source
<!-- <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>