annotate data_manager/salmon_index_builder.py @ 0:7d4fd734b078 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
author iuc
date Wed, 24 Jul 2019 07:17:00 -0400
parents
children 6437fc47878f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
1 #!/usr/bin/env python
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
2 # Based heavily on the kallisto data manager wrapper script by iuc
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
3 from __future__ import print_function
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
4
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
5 import argparse
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
6 import json
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
7 import os
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
8 import subprocess
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
9 import sys
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
10
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
11 DEFAULT_DATA_TABLE_NAME = "salmon_indexes_versioned"
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
12
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
13
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
14 def get_id_name(params, dbkey, fasta_description=None):
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
15 # TODO: ensure sequence_id is unique and does not already appear in location file
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
16 sequence_id = params['param_dict']['sequence_id']
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
17 if not sequence_id:
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
18 sequence_id = dbkey
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
19
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
20 sequence_name = params['param_dict']['sequence_name']
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
21 if not sequence_name:
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
22 sequence_name = fasta_description
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
23 if not sequence_name:
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
24 sequence_name = dbkey
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
25 return sequence_id, sequence_name
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
26
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
27
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
28 def build_salmon_index(data_manager_dict, options, params, sequence_id, sequence_name):
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
29 data_table_name = options.data_table_name or DEFAULT_DATA_TABLE_NAME
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
30 target_directory = params['output_data' ][0]['extra_files_path']
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
31 if not os.path.exists(target_directory):
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
32 os.mkdir(target_directory)
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
33 args = ['salmon', 'index']
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
34 if options.kmer_size != '':
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
35 args.append('-k')
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
36 args.append(options.kmer_size)
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
37 args.extend(['-t', options.fasta_filename, '-i', target_directory])
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
38 return_code = subprocess.call(args=args, shell=False)
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
39 if return_code:
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
40 print("Error building index.", file=sys.stderr)
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
41 sys.exit(return_code)
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
42 data_table_entry = dict(value=sequence_id, dbkey=options.fasta_dbkey, name=sequence_name, path=sequence_id, version=options.index_version)
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
43 _add_data_table_entry(data_manager_dict, data_table_name, data_table_entry)
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
44
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
45
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
46 def _add_data_table_entry(data_manager_dict, data_table_name, data_table_entry):
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
47 data_manager_dict['data_tables'] = data_manager_dict.get('data_tables', {})
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
48 data_manager_dict['data_tables'][data_table_name] = data_manager_dict['data_tables'].get(data_table_name, [])
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
49 data_manager_dict['data_tables'][data_table_name].append(data_table_entry)
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
50 return data_manager_dict
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
51
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
52
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
53 def main():
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
54 # Parse Command Line
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
55 parser = argparse.ArgumentParser()
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
56 parser.add_argument('--output', dest='output', action='store', type=str, default=None)
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
57 parser.add_argument('--fasta_filename', dest='fasta_filename', action='store', type=str, default=None)
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
58 parser.add_argument('--fasta_dbkey', dest='fasta_dbkey', action='store', type=str, default=None)
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
59 parser.add_argument('--fasta_description', dest='fasta_description', action='store', type=str, default=None)
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
60 parser.add_argument('--data_table_name', dest='data_table_name', action='store', type=str, default='salmon_indexes')
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
61 parser.add_argument('-v', '--index_version', dest='index_version', action='store', type=str, help='Use IndexVersion attribute from header.json')
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
62 parser.add_argument('-k', '--kmer_size', dest='kmer_size', action='store', type=str, help='kmer_size')
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
63 options = parser.parse_args()
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
64
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
65 filename = options.output
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
66
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
67 with open(filename) as fh:
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
68 params = json.load(fh)
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
69 data_manager_dict = {}
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
70
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
71 if options.fasta_dbkey in [None, '', '?']:
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
72 raise Exception('"%s" is not a valid dbkey. You must specify a valid dbkey.' % options.fasta_dbkey)
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
73
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
74 sequence_id, sequence_name = get_id_name(params, dbkey=options.fasta_dbkey, fasta_description=options.fasta_description)
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
75 # build the index
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
76 build_salmon_index(data_manager_dict, options, params, sequence_id, sequence_name)
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
77
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
78 # save info to json file
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
79 with open(filename, 'w') as out:
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
80 json.dump(data_manager_dict, out, sort_keys=True)
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
81
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
82
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
83 if __name__ == "__main__":
7d4fd734b078 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 473215c1fea036954d18a7ce339f914f7cf0655b
iuc
parents:
diff changeset
84 main()