# HG changeset patch
# User greg
# Date 1507227674 14400
# Node ID 346dc0d9af6ff457a9bf46f6c50daf6bfffac48c
# Parent b91bf5a51d38a38328aeddfcfa2534eb00987d14
Uploaded
diff -r b91bf5a51d38 -r 346dc0d9af6f gene_family_integrator.xml
--- a/gene_family_integrator.xml Wed Oct 04 11:08:10 2017 -0400
+++ b/gene_family_integrator.xml Thu Oct 05 14:21:14 2017 -0400
@@ -3,7 +3,9 @@
macros.xml
-
+
+ plant_tribes_gene_family_integrator
+
1.0
-
-
- plant_tribes_assembly_post_processor
-
-
-
-
- plant_tribes_gene_family_aligner
-
-
-
-
- plant_tribes_gene_family_classifier
-
-
-
-
- plant_tribes_gene_family_integrator
-
-
-
-
- plant_tribes_kaks_analysis
-
-
-
-
- r-optparse
-
-
-
-
- plant_tribes_gene_family_phylogeny_builder
-
-
-
-
-
-
-
-
@@ -49,66 +8,12 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@misc{None,
diff -r b91bf5a51d38 -r 346dc0d9af6f utils.py
--- a/utils.py Wed Oct 04 11:08:10 2017 -0400
+++ b/utils.py Thu Oct 05 14:21:14 2017 -0400
@@ -27,7 +27,7 @@
return fstderr, fherr, fstdout, fhout
-def move_directory_files(source_dir, destination_dir, copy=False):
+def move_directory_files(source_dir, destination_dir, copy=False, remove_source_dir=False):
source_directory = os.path.abspath(source_dir)
destination_directory = os.path.abspath(destination_dir)
if not os.path.isdir(destination_directory):
@@ -38,6 +38,8 @@
shutil.copy(source_entry, destination_directory)
else:
shutil.move(source_entry, destination_directory)
+ if remove_source_dir:
+ os.rmdir(source_directory)
def run_command(cmd):