Module: CagnutGatk::CheckTools

Defined in:
lib/cagnut_gatk/check_tools.rb

Instance Method Summary collapse

Instance Method Details

#check_gatk(path) ⇒ Object



8
9
10
11
12
# File 'lib/cagnut_gatk/check_tools.rb', line 8

def check_gatk path
  check_tool_ver 'GATK' do
    `#{@java} -jar #{path} --version` if path
  end
end

#check_tool(tools_path, refs = nil) ⇒ Object



3
4
5
6
# File 'lib/cagnut_gatk/check_tools.rb', line 3

def check_tool tools_path, refs=nil
  super if defined?(super)
  check_gatk tools_path['gatk'] if @java
end