Class: GalaxyUtil
- Inherits:
-
Object
- Object
- GalaxyUtil
- Defined in:
- lib/protk/galaxy_util.rb
Class Method Summary collapse
- .for_galaxy? ⇒ Boolean
- .stage_fasta(input_path, options = {}) ⇒ Object
- .stage_pepxml(input_pepxml_path, options = {}) ⇒ Object
Class Method Details
.for_galaxy? ⇒ Boolean
9 10 11 12 13 |
# File 'lib/protk/galaxy_util.rb', line 9 def self.for_galaxy? fg = ARGV[0]=="--galaxy" ARGV.shift if fg fg end |
.stage_fasta(input_path, options = {}) ⇒ Object
20 21 22 23 |
# File 'lib/protk/galaxy_util.rb', line 20 def self.stage_fasta(input_path,={}) = { :extension => '.fasta', :force_copy => false }.merge() GalaxyStager.new(input_path, ) end |
.stage_pepxml(input_pepxml_path, options = {}) ⇒ Object
15 16 17 18 |
# File 'lib/protk/galaxy_util.rb', line 15 def self.stage_pepxml(input_pepxml_path,={}) = { :extension => '.pep.xml', :force_copy => false }.merge() GalaxyStager.new(input_pepxml_path, ) end |