X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=forester%2Fruby%2Fscripts%2Fx.rb;h=883b2153fa41cedcfa8d2046e9e229ab9044699a;hb=f52c3a5fd6bdcadd800f0fea855aa5ff748d4082;hp=cb70c707c9c2a980cb647b7b160d0bbffdcd2803;hpb=d309b294ee45478e45c38fef85bd00a2cae9b544;p=jalview.git diff --git a/forester/ruby/scripts/x.rb b/forester/ruby/scripts/x.rb index cb70c70..883b215 100644 --- a/forester/ruby/scripts/x.rb +++ b/forester/ruby/scripts/x.rb @@ -6,10 +6,10 @@ Dir.foreach(".") do |f| cmd = "#{PRG} -ie=10 -a -pe=1 -m=RRMa -s=#{taxon} #{taxon}.hmmscan_260 #{taxon}_ie10_domain_table > #{taxon}_ie10_summary_table.txt" puts cmd output = IO.popen( cmd ) - elsif f =~ /^([A-Z0-9]{3,6})_cdhit090\.hmmscan_260/ + elsif f =~ /^([A-Z0-9]{3,6})_cdhit090\.hmmscan_260/ taxon = $1 cmd = "#{PRG} -ie=10 -a -pe=1 -m=RRMa -s=#{taxon} #{taxon}_cdhit090.hmmscan_260 #{taxon}_cdhit090_ie10_domain_table > #{taxon}_cdhit090_ie10_summary_table.txt" puts cmd output = IO.popen( cmd ) - end + end end \ No newline at end of file