changeset 62:ffaedadf9c18 draft

Uploaded
author greg
date Thu, 09 Feb 2017 10:53:31 -0500
parents 43d6e752f181
children dd22169524ee
files gene_family_classifier.xml
diffstat 1 files changed, 7 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/gene_family_classifier.xml	Thu Feb 09 10:51:00 2017 -0500
+++ b/gene_family_classifier.xml	Thu Feb 09 10:53:31 2017 -0500
@@ -106,22 +106,18 @@
             #end if
 
             #if $create_ortho_sequences:
-                #if len($os.listdir($orthogroups_fasta_src_dir)) > 0:
-                    #if $create_corresponding_coding_sequences:
-                        && ls -l $orthogroups_fasta_src_dir | grep f | awk -F ' ' '{print $5"\t"$9}' > $output_ptcgfcs
-                    #else:
-                        && ls -l $orthogroups_fasta_src_dir | grep f | awk -F ' ' '{print $5"\t"$9}' > $output_ptcgf
-                    #end if
-                    && mv $orthogroups_fasta_src_dir/* $orthogroups_fasta_dest_dir
+                #if $create_corresponding_coding_sequences:
+                    && ls -l $orthogroups_fasta_src_dir | grep f | awk -F ' ' '{print $5"\t"$9}' > $output_ptcgfcs
+                #else:
+                    && ls -l $orthogroups_fasta_src_dir | grep f | awk -F ' ' '{print $5"\t"$9}' > $output_ptcgf
                 #end if
+                && mv $orthogroups_fasta_src_dir/* $orthogroups_fasta_dest_dir
             #end if
 
             #if $single_copy_orthogroup:
                 #if $create_ortho_sequences:
-                    #if len($os.listdir($single_copy_fasta_src_dir)) > 0:
-                        && ls -l $single_copy_fasta_src_dir | grep f | awk -F ' ' '{print $5"\t"$9}' > $output_ptsco
-                        && mv $single_copy_fasta_src_dir/* $single_copy_fasta_dest_dir
-                    #end if
+                    && ls -l $single_copy_fasta_src_dir | grep f | awk -F ' ' '{print $5"\t"$9}' > $output_ptsco
+                    && mv $single_copy_fasta_src_dir/* $single_copy_fasta_dest_dir
                 #else:
                     && mv geneFamilyClassification_dir/*.singleCopy $output_single_copy
                 #end if