Mercurial > repos > greg > gene_family_classifier
changeset 94:21e1ee8b54bc draft
Uploaded
author | greg |
---|---|
date | Thu, 23 Feb 2017 17:57:16 -0500 |
parents | 333f817caecc |
children | 431a63fced68 |
files | gene_family_classifier.xml |
diffstat | 1 files changed, 3 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- 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 "<html>\n<head>\n<title>Galaxy - GeneFamilyClassifier Output</title>\n</head>\n<body>\n<p/>\n<ul>\n" > $out_file - && for fname in $orthogroups_fasta_dest_dir - do - echo -e "<li><a href=\"$fname\">$fname</a></li>\n" >> $out_file - done + && for f in "$orthogroups_fasta_dest_dir"/*; do if [ -f "$f" ]; then echo -e "<li><a href=\"$f\">$f</a></li>\n" >> $out_file fi; done && echo -e "</ul>\n</body>\n</html>\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 "<html>\n<head>\n<title>Galaxy - GeneFamilyClassifier Output</title>\n</head>\n<body>\n<p/>\n<ul>\n" > $output_ptsco - #for $fname in $os.listdir($single_copy_fasta_src_dir): - && echo -e "<li><a href=\"$fname\">$fname</a></li>\n" >> $output_ptsco - #end for + && for f in "$single_copy_fasta_dest_dir"/*; do if [ -f "$f" ]; then echo -e "<li><a href=\"$f\">$f</a></li>\n" >> $output_ptsco fi; done && echo -e "</ul>\n</body>\n</html>\n" >> $output_ptsco - && mv $single_copy_fasta_src_dir/* $single_copy_fasta_dest_dir || true #end if #end if ]]>