# HG changeset patch # User iuc # Date 1491342545 14400 # Node ID 6f0294046f4185eca2fd3f96f5ee7496de470f74 # Parent 1de1817a8a577fdbb390ce9b7febe2069a42afbf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_build_kraken_database/ commit 8652f36a3a3838dca989426961561e81432acf4f diff -r 1de1817a8a57 -r 6f0294046f41 data_manager/kraken_database_builder.xml --- a/data_manager/kraken_database_builder.xml Tue Jun 14 15:52:00 2016 -0400 +++ b/data_manager/kraken_database_builder.xml Tue Apr 04 17:49:05 2017 -0400 @@ -1,49 +1,47 @@ - + database builder kraken - jellyfish - KRAKEN_SCRIPT_PATH - - - kraken -version | awk '{print $NF}' - + - - + + - - - + + + - + + + 10.1186/gb-2014-15-3-r46 diff -r 1de1817a8a57 -r 6f0294046f41 data_manager/make_json.py --- a/data_manager/make_json.py Tue Jun 14 15:52:00 2016 -0400 +++ b/data_manager/make_json.py Tue Apr 04 17:49:05 2017 -0400 @@ -1,13 +1,8 @@ +import argparse import json -import argparse import os import shutil -parser = argparse.ArgumentParser(description='Create data manager json.') -parser.add_argument('--db', dest='database', action='store', help='Database name') -parser.add_argument('--out', dest='output', action='store', help='JSON filename') - -args = parser.parse_args() def main(args): data_manager_entry = {} @@ -23,6 +18,10 @@ shutil.move(os.path.join(output_path, filename), target_directory) file(args.output, 'w').write(json.dumps(data_manager_json)) + if __name__ == '__main__': + parser = argparse.ArgumentParser(description='Create data manager json.') + parser.add_argument('--db', dest='database', action='store', help='Database name') + parser.add_argument('--out', dest='output', action='store', help='JSON filename') + args = parser.parse_args() main(args) - diff -r 1de1817a8a57 -r 6f0294046f41 tool_dependencies.xml --- a/tool_dependencies.xml Tue Jun 14 15:52:00 2016 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ - - - - $REPOSITORY_INSTALL_DIR - - - - - - - -