inprogress
authorcmzmasek@gmail.com <cmzmasek@gmail.com@ca865154-3058-d1c3-3e42-d8f55a55bdbd>
Wed, 4 Dec 2013 21:47:17 +0000 (21:47 +0000)
committercmzmasek@gmail.com <cmzmasek@gmail.com@ca865154-3058-d1c3-3e42-d8f55a55bdbd>
Wed, 4 Dec 2013 21:47:17 +0000 (21:47 +0000)
forester/ruby/evoruby/exe/run_phylo_pipeline_x.rb

index e07a620..795aba7 100644 (file)
@@ -163,14 +163,14 @@ module Evoruby
         run_1 = false
         run_100 = false
 
-        unless File.exist? "#{msa_dir}/#{dsx_output}"
+        unless File.exist? "#{msa_dir}/#{hmm_name}__#{hmm_name}__ee#{e_value_exp.to_s}_#{length}"
           run_1 = true
-          FileUtils.cp "#{dsx_output}.fasta", "#{msa_dir}/#{dsx_output}"
+          FileUtils.cp "#{dsx_output}.fasta", "#{msa_dir}/#{hmm_name}__#{hmm_name}__ee#{e_value_exp.to_s}_#{length}"
         end
 
-        unless File.exist? "#{msa_100_dir}/#{dsx_output}"
+        unless File.exist? "#{msa_100_dir}/#{hmm_name}__#{hmm_name}__ee#{e_value_exp.to_s}_#{length}"
           run_100 = true
-          FileUtils.cp "#{dsx_output}.fasta", "#{msa_100_dir}/#{dsx_output}"
+          FileUtils.cp "#{dsx_output}.fasta", "#{msa_100_dir}/#{hmm_name}__#{hmm_name}__ee#{e_value_exp.to_s}_#{length}"
         end
 
         if File.exist?( TEMPLATE_FILE )