diff gene_family_phylogeny_builder.xml @ 7:c088c185f63f draft

Uploaded
author greg
date Thu, 21 Dec 2017 09:16:25 -0500
parents a7867769a706
children 994e90ae9217
line wrap: on
line diff
--- a/gene_family_phylogeny_builder.xml	Mon Oct 30 09:53:46 2017 -0400
+++ b/gene_family_phylogeny_builder.xml	Thu Dec 21 09:16:25 2017 -0500
@@ -42,7 +42,11 @@
 --min_orthogroup_size $min_orthogroup_size
 --max_orthogroup_size $max_orthogroup_size
 --num_threads \${GALAXY_SLOTS:-4}
-&>proc.log
+&>gene_family_phylogeny_builder_log.txt;
+if [[ $? -ne 0 ]]; then
+    find geneFamilyPhylogenies_dir -type d -maxdepth 1 -exec cp gene_family_phylogeny_builder_log.txt {} \;
+    exit 1;
+fi
     ]]></command>
     <inputs>
         <param name="input" format="fasta" type="data_collection" collection_type="list" label="Proteins orthogroup alignments" />