Mercurial > repos > iracooke > tpp_prophets
comparison protein_prophet_wrapper.rb @ 7:3f0cb90824f1
Uploaded
author | iracooke |
---|---|
date | Tue, 05 Mar 2013 00:28:22 -0500 |
parents | 25261529840c |
children |
comparison
equal
deleted
inserted
replaced
6:7005346b534d | 7:3f0cb90824f1 |
---|---|
15 original_input_path=Pathname.new("#{original_input_file}") | 15 original_input_path=Pathname.new("#{original_input_file}") |
16 actual_input_path_string="#{wd}/#{original_input_path.basename}.pep.xml" | 16 actual_input_path_string="#{wd}/#{original_input_path.basename}.pep.xml" |
17 | 17 |
18 cmd = "ln -s #{original_input_file} #{actual_input_path_string};" | 18 cmd = "ln -s #{original_input_file} #{actual_input_path_string};" |
19 | 19 |
20 cmd << "rvm 1.9.3@protk-1.1.9 do protein_prophet.rb" | 20 cmd << "rvm 1.9.3@protk-1.2.0 do protein_prophet.rb" |
21 | 21 |
22 | 22 |
23 ARGV[0]="#{actual_input_path_string}" | 23 ARGV[0]="#{actual_input_path_string}" |
24 | 24 |
25 ARGV.each { |a| | 25 ARGV.each { |a| |