Mercurial > repos > greg > gene_family_classifier
changeset 48:906d5277042c draft
Uploaded
author | greg |
---|---|
date | Wed, 08 Feb 2017 11:02:02 -0500 |
parents | 4a6834056e1e |
children | 539a92a13168 |
files | gene_family_classifier.xml |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/gene_family_classifier.xml Tue Feb 07 14:24:32 2017 -0500 +++ b/gene_family_classifier.xml Wed Feb 08 11:02:02 2017 -0500 @@ -96,12 +96,16 @@ #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 || true + #if len($os.listdir($orthogroups_fasta_src_dir)) > 0: + && mv $orthogroups_fasta_src_dir/* $orthogroups_fasta_dest_dir || true + #end if #end if #if $single_copy_orthogroup: && 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 || true + #if len($os.listdir($single_copy_fasta_src_dir)) > 0: + && mv $single_copy_fasta_src_dir/* $single_copy_fasta_dest_dir || true + #end if #end if ]]> </command>