annotate query_tabular.py @ 23:5bb148ee644a draft default tip

Deleted selected files
author jjohnson
date Mon, 17 Jul 2017 15:22:38 -0400
parents bed5018e7ae3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
1 #!/usr/bin/env python
20
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
2
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
3 from __future__ import print_function
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
4
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
5 import json
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
6 import optparse
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
7 import os.path
0
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
8 import sys
20
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
9
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
10 from load_db import create_table
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
11
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
12 from query_db import describe_tables, get_connection, run_query
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
13
0
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
14
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
15 """
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
16 JSON config:
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
17 { tables : [
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
18 { file_path : '/home/galaxy/dataset_101.dat',
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
19 table_name : 't1',
20
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
20 column_names : ['c1','c2','c3'],
5
19ae309ec53c planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 29288f94a382686e263623cf6ddcd235ed5f2310-dirty
jjohnson
parents: 4
diff changeset
21 pkey_autoincr : 'id'
0
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
22 comment_lines : 1
5
19ae309ec53c planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 29288f94a382686e263623cf6ddcd235ed5f2310-dirty
jjohnson
parents: 4
diff changeset
23 unique: ['c1'],
20
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
24 index: ['c2', 'c3']
0
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
25 },
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
26 { file_path : '/home/galaxy/dataset_102.dat',
3
3e3b3c883bec planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 60d1a49c09f87c1c1ec6fecbe54aa226bdc695a7-dirty
jjohnson
parents: 0
diff changeset
27 table_name : 'gff',
6
03842a4f71c6 Uploaded
jjohnson
parents: 5
diff changeset
28 column_names : ['seqname',,'date','start','end']
3
3e3b3c883bec planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 60d1a49c09f87c1c1ec6fecbe54aa226bdc695a7-dirty
jjohnson
parents: 0
diff changeset
29 comment_lines : 1
3e3b3c883bec planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 60d1a49c09f87c1c1ec6fecbe54aa226bdc695a7-dirty
jjohnson
parents: 0
diff changeset
30 load_named_columns : True
20
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
31 filters : [{'filter': 'regex', 'pattern': '#peptide',
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
32 'action': 'exclude_match'},
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
33 {'filter': 'replace', 'column': 3,
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
34 'replace': 'gi[|]', 'pattern': ''}]
0
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
35 },
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
36 { file_path : '/home/galaxy/dataset_103.dat',
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
37 table_name : 'test',
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
38 column_names : ['c1', 'c2', 'c3']
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
39 }
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
40 ]
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
41 }
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
42 """
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
43
6
03842a4f71c6 Uploaded
jjohnson
parents: 5
diff changeset
44
0
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
45 def __main__():
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
46 # Parse Command Line
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
47 parser = optparse.OptionParser()
20
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
48 parser.add_option('-s', '--sqlitedb', dest='sqlitedb', default=None,
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
49 help='The SQLite Database')
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
50 parser.add_option('-j', '--jsonfile', dest='jsonfile', default=None,
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
51 help='JSON dict of table specifications')
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
52 parser.add_option('-q', '--query', dest='query', default=None,
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
53 help='SQL query')
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
54 parser.add_option('-Q', '--query_file', dest='query_file', default=None,
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
55 help='SQL query file')
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
56 parser.add_option('-n', '--no_header', dest='no_header', default=False,
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
57 action='store_true',
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
58 help='Include a column headers line')
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
59 parser.add_option('-o', '--output', dest='output', default=None,
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
60 help='Output file for query results')
0
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
61 (options, args) = parser.parse_args()
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
62
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
63 # determine output destination
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
64 if options.output is not None:
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
65 try:
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
66 outputPath = os.path.abspath(options.output)
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
67 outputFile = open(outputPath, 'w')
20
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
68 except Exception as e:
22
bed5018e7ae3 Uploaded
jjohnson
parents: 20
diff changeset
69 exit('Error: %s' % (e))
0
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
70 else:
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
71 outputFile = sys.stdout
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
72
20
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
73 def _create_table(ti, table):
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
74 path = table['file_path']
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
75 table_name =\
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
76 table['table_name'] if 'table_name' in table else 't%d' % (ti + 1)
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
77 comment_lines =\
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
78 table['comment_lines'] if 'comment_lines' in table else 0
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
79 comment_char =\
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
80 table['comment_char'] if 'comment_char' in table else None
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
81 column_names =\
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
82 table['column_names'] if 'column_names' in table else None
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
83 if column_names:
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
84 load_named_columns =\
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
85 table['load_named_columns']\
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
86 if 'load_named_columns' in table else False
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
87 else:
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
88 load_named_columns = False
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
89 unique_indexes = table['unique'] if 'unique' in table else []
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
90 indexes = table['index'] if 'index' in table else []
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
91 filters = table['filters'] if 'filters' in table else None
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
92 pkey_autoincr = \
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
93 table['pkey_autoincr'] if 'pkey_autoincr' in table else None
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
94 create_table(get_connection(options.sqlitedb), path, table_name,
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
95 pkey_autoincr=pkey_autoincr,
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
96 column_names=column_names,
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
97 skip=comment_lines,
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
98 comment_char=comment_char,
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
99 load_named_columns=load_named_columns,
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
100 filters=filters,
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
101 unique_indexes=unique_indexes,
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
102 indexes=indexes)
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
103
0
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
104 if options.jsonfile:
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
105 try:
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
106 fh = open(options.jsonfile)
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
107 tdef = json.load(fh)
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
108 if 'tables' in tdef:
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
109 for ti, table in enumerate(tdef['tables']):
20
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
110 _create_table(ti, table)
22
bed5018e7ae3 Uploaded
jjohnson
parents: 20
diff changeset
111 except Exception as e:
bed5018e7ae3 Uploaded
jjohnson
parents: 20
diff changeset
112 exit('Error: %s' % (e))
0
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
113
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
114 query = None
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
115 if (options.query_file is not None):
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
116 with open(options.query_file, 'r') as fh:
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
117 query = ''
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
118 for line in fh:
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
119 query += line
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
120 elif (options.query is not None):
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
121 query = options.query
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
122
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
123 if (query is None):
20
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
124 try:
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
125 describe_tables(get_connection(options.sqlitedb), outputFile)
22
bed5018e7ae3 Uploaded
jjohnson
parents: 20
diff changeset
126 except Exception as e:
bed5018e7ae3 Uploaded
jjohnson
parents: 20
diff changeset
127 exit('Error: %s' % (e))
20
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
128 else:
0
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
129 try:
20
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
130 run_query(get_connection(options.sqlitedb), query, outputFile,
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
131 no_header=options.no_header)
22
bed5018e7ae3 Uploaded
jjohnson
parents: 20
diff changeset
132 except Exception as e:
bed5018e7ae3 Uploaded
jjohnson
parents: 20
diff changeset
133 exit('Error: %s' % (e))
20
ab27c4bd14b9 Uploaded
jjohnson
parents: 18
diff changeset
134
0
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
135
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
136 if __name__ == "__main__":
926c62f7fa09 planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/query_tabular commit 9ae87502ea7c3da33ecc453872c4eb2f41ecea4a-dirty
jjohnson
parents:
diff changeset
137 __main__()