Sha256: ab68471c70ebbc32019f835ff704725dbcc5009a1930ebaf58c99f73ce5614e3

Contents?: true

Size: 303 Bytes

Versions: 10

Compression:

Stored size: 303 Bytes

Contents

require 'phgx'
require 'rbbt/util/cmd'

module FireDB
  PhGx.add_software "FireDB" => ['', :directory]

  def self.predict(accession, sequence, mutation)
    CMD.cmd("perl " + File.join(PhGx.find_software("FireDB"), "firePredText.pl") + " " + [accession, accession, sequence, 10] * " ").read
  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rbbt-phgx-3.0.0 lib/rbbt/mutation/fireDB.rb
rbbt-phgx-2.1.2 lib/rbbt/mutation/fireDB.rb
rbbt-phgx-2.1.1 lib/rbbt/mutation/fireDB.rb
rbbt-phgx-2.1.0 lib/rbbt/mutation/fireDB.rb
rbbt-phgx-2.0.1 lib/rbbt/mutation/fireDB.rb
rbbt-phgx-2.0.0 lib/rbbt/mutation/fireDB.rb
rbbt-phgx-1.0.0 lib/rbbt/mutation/fireDB.rb
rbbt-phgx-0.3.1 lib/rbbt/mutation/fireDB.rb
rbbt-phgx-0.3.0 lib/rbbt/mutation/fireDB.rb
rbbt-phgx-0.2.0 lib/rbbt/mutation/fireDB.rb