# HG changeset patch # User r-lannes # Date 1450273597 18000 # Node ID d28ee835a561654e0a1c636599f616add00f06ea # Parent 59bd6cbbeb928f23667a6e6d91b000a4c74bbfdf Uploaded diff -r 59bd6cbbeb92 -r d28ee835a561 README_cut_fr.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/README_cut_fr.txt Wed Dec 16 08:46:37 2015 -0500 @@ -0,0 +1,69 @@ +######################################## + +##### french cut + +######################################## +##---------- Licence +#### FreeSoftware on GNU licence + ''' + Copyright (C) <2015> + + 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 .''' + +########################################## +#------- program needed + +need python 3 +and python 3 library: + import os + import argparse + import sys + +########################################### +########------------ Install + +copy cut_fr.xml and cut_fr.py in galaxy/tools/a_directory_of_your_choice/ +not directly on tools + +add in +config/tool_conf.xml + + + +in the section of your choice + +############################################ + +input = + -tsv + -String ( "c1,c2,c3") + -type_cut default = Exclude + -extend_print default = False + +output = + input.tsv less column 1,2,3 + + +input = + -tsv + -String ( "c1,c2,c3") + -type_cut default = ExInclude + -extend_print default = False + +output = + only column 1,2,3 + + +-extend_print default = False an option allowing the sdtout to be more consistant. +