# HG changeset patch
# User greg
# Date 1487890636 18000
# Node ID 21e1ee8b54bcdc9880a622128786501fb29d4fbb
# Parent 333f817caeccfe7085412f17581f9f717c5e741f
Uploaded
diff -r 333f817caecc -r 21e1ee8b54bc gene_family_classifier.xml
--- a/gene_family_classifier.xml Thu Feb 23 15:05:55 2017 -0500
+++ b/gene_family_classifier.xml Thu Feb 23 17:57:16 2017 -0500
@@ -118,21 +118,16 @@
#end if
&& mv $orthogroups_fasta_src_dir/* $orthogroups_fasta_dest_dir || true
&& echo -e "\n
\nGalaxy - GeneFamilyClassifier Output\n\n\n\n\n" > $out_file
- && for fname in $orthogroups_fasta_dest_dir
- do
- echo -e "- $fname
\n" >> $out_file
- done
+ && for f in "$orthogroups_fasta_dest_dir"/*; do if [ -f "$f" ]; then echo -e "- $f
\n" >> $out_file fi; done
&& echo -e "
\n\n\n" >> $out_file
#end if
#if $single_copy_orthogroup:
#if $create_ortho_sequences:
+ && mv $single_copy_fasta_src_dir/* $single_copy_fasta_dest_dir || true
&& echo -e "\n\nGalaxy - GeneFamilyClassifier Output\n\n\n\n\n" > $output_ptsco
- #for $fname in $os.listdir($single_copy_fasta_src_dir):
- && echo -e "- $fname
\n" >> $output_ptsco
- #end for
+ && for f in "$single_copy_fasta_dest_dir"/*; do if [ -f "$f" ]; then echo -e "- $f
\n" >> $output_ptsco fi; done
&& echo -e "
\n\n\n" >> $output_ptsco
- && mv $single_copy_fasta_src_dir/* $single_copy_fasta_dest_dir || true
#end if
#end if
]]>