annotate README_cut_fr.txt @ 2:d28ee835a561 draft default tip

Uploaded
author r-lannes
date Wed, 16 Dec 2015 08:46:37 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
1 ########################################
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
2
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
3 ##### french cut
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
4
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
5 ########################################
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
6 ##---------- Licence
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
7 #### FreeSoftware on GNU licence
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
8 ''' <cut_fr.py & cut_fr.xml are scripts allwing more convenient use of cut in galaxy environment>
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
9 Copyright (C) <2015> <Lannes Romain>
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
10
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
11 This program is free software: you can redistribute it and/or modify
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
12 it under the terms of the GNU General Public License as published by
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
13 the Free Software Foundation, either version 3 of the License, or
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
14 (at your option) any later version.
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
15
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
16 This program is distributed in the hope that it will be useful,
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
19 GNU General Public License for more details.
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
20
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
21 You should have received a copy of the GNU General Public License
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
22 along with this program. If not, see <http://www.gnu.org/licenses/>.'''
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
23
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
24 ##########################################
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
25 #------- program needed
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
26
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
27 need python 3
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
28 and python 3 library:
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
29 import os
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
30 import argparse
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
31 import sys
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
32
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
33 ###########################################
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
34 ########------------ Install
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
35
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
36 copy cut_fr.xml and cut_fr.py in galaxy/tools/a_directory_of_your_choice/
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
37 not directly on tools
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
38
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
39 add in
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
40 config/tool_conf.xml
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
41
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
42 <tool file="a_directory_of_your_choice/cut_fr.xml" />
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
43
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
44 in the section of your choice
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
45
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
46 ############################################
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
47
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
48 input =
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
49 -tsv
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
50 -String ( "c1,c2,c3")
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
51 -type_cut default = Exclude
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
52 -extend_print default = False
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
53
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
54 output =
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
55 input.tsv less column 1,2,3
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
56
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
57
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
58 input =
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
59 -tsv
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
60 -String ( "c1,c2,c3")
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
61 -type_cut default = ExInclude
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
62 -extend_print default = False
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
63
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
64 output =
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
65 only column 1,2,3
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
66
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
67
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
68 -extend_print default = False an option allowing the sdtout to be more consistant.
d28ee835a561 Uploaded
r-lannes
parents:
diff changeset
69