changeset 2:edacc4bcd3cb draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_build_kraken2_database/ commit 1c0a28222ac235e77b2a792c1ebca027a746c220"
author iuc
date Sun, 22 Dec 2019 11:57:46 -0500
parents 6ba1ec5f86fc
children 19b6a2f0dbe2
files data_manager/kraken2_build_database.py data_manager/kraken2_build_database.xml test-data/kraken2_custom_data_manager.json
diffstat 3 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/data_manager/kraken2_build_database.py	Sat Aug 03 05:31:12 2019 -0400
+++ b/data_manager/kraken2_build_database.py	Sun Dec 22 11:57:46 2019 -0500
@@ -354,7 +354,7 @@
     else:
         sys.exit("Invalid database type")
 
-    open(args.data_manager_json, 'w').write(json.dumps(data_manager_output))
+    open(args.data_manager_json, 'w').write(json.dumps(data_manager_output, sort_keys=True))
 
 
 if __name__ == "__main__":
--- a/data_manager/kraken2_build_database.xml	Sat Aug 03 05:31:12 2019 -0400
+++ b/data_manager/kraken2_build_database.xml	Sun Dec 22 11:57:46 2019 -0500
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<tool id="kraken2_build_database" name="Kraken2" tool_type="manage_data" version="2.0.8_beta+galaxy1">
+<tool id="kraken2_build_database" name="Kraken2" tool_type="manage_data" version="2.0.8_beta+galaxy2" profile="18.09">
     <macros>
         <xml name="common_params">
             <param name="kmer_len" type="integer" value="35" label="K-mer length in BP" />
@@ -11,6 +11,7 @@
     <description>database builder</description>
     <requirements>
         <requirement type="package" version="2.0.8_beta">kraken2</requirement>
+        <requirement type="package" version="3.7">python</requirement>
     </requirements>
     <version_command>kraken2 -version | head -n 1 | awk '{print $NF}'</version_command>
     <command detect_errors="exit_code">
--- a/test-data/kraken2_custom_data_manager.json	Sat Aug 03 05:31:12 2019 -0400
+++ b/test-data/kraken2_custom_data_manager.json	Sun Dec 22 11:57:46 2019 -0500
@@ -1,1 +1,1 @@
-{"data_tables": {"kraken2_databases": [{"path": "database", "name": "database", "value": "database"}]}}
\ No newline at end of file
+{"data_tables": {"kraken2_databases": [{"name": "database", "path": "database", "value": "database"}]}}
\ No newline at end of file