changeset 14:5bb7917d691b draft

planemo upload for repository https://github.com/dfornika/galaxytools/tree/master/data_managers/data_manager_build_mob_suite_database/ commit ded3b42d8a746eac2973cc17826160e43ac11186-dirty
author dfornika
date Mon, 24 Jun 2019 14:10:30 -0400
parents ca615c36f488
children b2966fea70b0
files data_manager/mob_suite_build_database.py
diffstat 1 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/data_manager/mob_suite_build_database.py	Mon Jun 24 13:39:36 2019 -0400
+++ b/data_manager/mob_suite_build_database.py	Mon Jun 24 14:10:30 2019 -0400
@@ -42,8 +42,17 @@
     
     subprocess.check_call(['mob_cluster'] + mob_cluster_args_list, cwd=target_directory)
 
+    os.rename(
+        os.path.join(database_path, 'references_updated.fasta'),
+        os.path.join(database_path, 'ncbi_plasmid_full_seqs.fas')
+    )
+
+    print("Sleeping for 20s")
+    time.sleep(20)
+    print("Sleep ending")
+    
     makeblastdb_args_list = [
-        '-in', database_path,
+        '-in', os.path.join(database_path, 'ncbi_plasmid_full_seqs.fas')
         '-dbtype', 'nucl',
     ]