bio-wolf_psort_wrapper 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/Gemfile +14 -0
- data/LICENSE.txt +20 -0
- data/README.mkd +39 -0
- data/Rakefile +53 -0
- data/VERSION +1 -0
- data/bio-wolf_psort_wrapper.gemspec +62 -0
- data/lib/bio-wolf_psort_wrapper.rb +1 -0
- data/lib/bio/appl/psort/wolf_psort_wrapper.rb +102 -0
- data/test/helper.rb +18 -0
- data/test/test_bio-wolf_psort_wrapper.rb +61 -0
- metadata +151 -0
data/.document
ADDED
data/Gemfile
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
source "http://rubygems.org"
|
2
|
+
# Add dependencies required to use your gem here.
|
3
|
+
# Example:
|
4
|
+
# gem "activesupport", ">= 2.3.5"
|
5
|
+
|
6
|
+
# Add dependencies to develop your gem here.
|
7
|
+
# Include everything needed to run rake, tests, features, etc.
|
8
|
+
group :development do
|
9
|
+
gem "shoulda", ">= 0"
|
10
|
+
gem "bundler", "~> 1.0.0"
|
11
|
+
gem "jeweler", "~> 1.6.4"
|
12
|
+
gem "rcov", ">= 0"
|
13
|
+
gem "bio", ">= 1.4.2"
|
14
|
+
end
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2012 Ben J Woodcroft
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.mkd
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
The biogem ```bio-wolf_psort_wrapper```
|
2
|
+
=======================================
|
3
|
+
|
4
|
+
A wrapper around the protein sub-cellular localisation program WoLF PSORT, so that it can be run locally. More information is about the underlying program is available from http://wolfpsort.org/aboutWoLF_PSORT.html.en and on the same site the executables required for this package to run are provided.
|
5
|
+
|
6
|
+
```ruby
|
7
|
+
require 'bio-wolf_psort_wrapper'
|
8
|
+
wolf_psort_result = Bio::PSORT::WoLF_PSORT::Wrapper.new.run(
|
9
|
+
'MTQVPPVTFQQYGPVITTSAGNPVDDNQNSVTAGPYGPAILSNFHLIDKLAHFDRERIPE
|
10
|
+
RVVHAKGGGAFGYFEVTHDITRFCKAKLFEKIGKRTPVFARFSTVAGESGSADTRRDPRG
|
11
|
+
FALKFYTEEGNWDMVGNNTPIFFVRDAIKFPDFIHTQKRHPQTHLHDPNMVWDFFSLVPE
|
12
|
+
SVHQVTFLYTDRGTPDGFRHMNGYGSHTFKFINKDNEAFYVKWHFKTNQGIKNLNRQRAK
|
13
|
+
ELESEDPDYAVRDLFNAIAKREFPSWTFCIQVMPLKDAETYKWNVFDVTKVWPHGDYPLI
|
14
|
+
PVGRLVLDRNPENYFQDVEQAAFAPAHMVPGIEPSEDRMLQGRMFSYIDTHRHRLGANYH
|
15
|
+
QIPVNRPWNARGGDYSVRDGPMCVDGNKGSQLNYEPNSVDGFPKEDRNAAVSGTTTVSGT
|
16
|
+
VACHPQEHPNSDFEQPGNFYRTVLSEPEREALIGNIAEHLRQARRDIQERQVKIFYKCDP
|
17
|
+
EYGERVARAIGLPTAACYPAKM*'.gsub(/\s/,''),
|
18
|
+
'plant'
|
19
|
+
) #=> Bio::PSORT::WoLF_PSORT::Report object
|
20
|
+
wolf_psort_result.score_hash #=> {'pero' => 8.0, 'nucl' => 2.0, 'mito' => 1.5, 'mito_plas' => 1.5, 'cyto_nucl' => 1.5}
|
21
|
+
```
|
22
|
+
|
23
|
+
Contributing to ```bio-wolf_psort_wrapper```
|
24
|
+
--------------------------------------
|
25
|
+
|
26
|
+
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
|
27
|
+
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
|
28
|
+
* Fork the project
|
29
|
+
* Start a feature/bugfix branch
|
30
|
+
* Commit and push until you are happy with your contribution
|
31
|
+
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
32
|
+
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
33
|
+
|
34
|
+
Copyright
|
35
|
+
---------
|
36
|
+
|
37
|
+
Copyright (c) 2012 Ben J Woodcroft. See LICENSE.txt for
|
38
|
+
further details.
|
39
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,53 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'rubygems'
|
4
|
+
require 'bundler'
|
5
|
+
begin
|
6
|
+
Bundler.setup(:default, :development)
|
7
|
+
rescue Bundler::BundlerError => e
|
8
|
+
$stderr.puts e.message
|
9
|
+
$stderr.puts "Run `bundle install` to install missing gems"
|
10
|
+
exit e.status_code
|
11
|
+
end
|
12
|
+
require 'rake'
|
13
|
+
|
14
|
+
require 'jeweler'
|
15
|
+
Jeweler::Tasks.new do |gem|
|
16
|
+
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
17
|
+
gem.name = "bio-wolf_psort_wrapper"
|
18
|
+
gem.homepage = "http://github.com/wwood/bioruby-wolf_psort_wrapper"
|
19
|
+
gem.license = "MIT"
|
20
|
+
gem.summary = %Q{Enables the localisation predictor WoLF PSORT to be run locally}
|
21
|
+
gem.description = %Q{Enables the localisation predictor WoLF PSORT to be run locally. The algorithm is available at http://wolfpsort.org/}
|
22
|
+
gem.email = "donttrustben near gmail.com"
|
23
|
+
gem.authors = ["Ben J Woodcroft"]
|
24
|
+
# dependencies defined in Gemfile
|
25
|
+
end
|
26
|
+
Jeweler::RubygemsDotOrgTasks.new
|
27
|
+
|
28
|
+
require 'rake/testtask'
|
29
|
+
Rake::TestTask.new(:test) do |test|
|
30
|
+
test.libs << 'lib' << 'test'
|
31
|
+
test.pattern = 'test/**/test_*.rb'
|
32
|
+
test.verbose = true
|
33
|
+
end
|
34
|
+
|
35
|
+
require 'rcov/rcovtask'
|
36
|
+
Rcov::RcovTask.new do |test|
|
37
|
+
test.libs << 'test'
|
38
|
+
test.pattern = 'test/**/test_*.rb'
|
39
|
+
test.verbose = true
|
40
|
+
test.rcov_opts << '--exclude "gems/*"'
|
41
|
+
end
|
42
|
+
|
43
|
+
task :default => :test
|
44
|
+
|
45
|
+
require 'rake/rdoctask'
|
46
|
+
Rake::RDocTask.new do |rdoc|
|
47
|
+
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
48
|
+
|
49
|
+
rdoc.rdoc_dir = 'rdoc'
|
50
|
+
rdoc.title = "bio-wolf_psort_wrapper #{version}"
|
51
|
+
rdoc.rdoc_files.include('README*')
|
52
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
53
|
+
end
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.0.1
|
@@ -0,0 +1,62 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = "bio-wolf_psort_wrapper"
|
8
|
+
s.version = "0.0.1"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Ben J Woodcroft"]
|
12
|
+
s.date = "2012-01-20"
|
13
|
+
s.description = "Enables the localisation predictor WoLF PSORT to be run locally. The algorithm is available at http://wolfpsort.org/"
|
14
|
+
s.email = "donttrustben near gmail.com"
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE.txt",
|
17
|
+
"README.mkd"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
"Gemfile",
|
22
|
+
"LICENSE.txt",
|
23
|
+
"README.mkd",
|
24
|
+
"Rakefile",
|
25
|
+
"VERSION",
|
26
|
+
"bio-wolf_psort_wrapper.gemspec",
|
27
|
+
"lib/bio-wolf_psort_wrapper.rb",
|
28
|
+
"lib/bio/appl/psort/wolf_psort_wrapper.rb",
|
29
|
+
"test/helper.rb",
|
30
|
+
"test/test_bio-wolf_psort_wrapper.rb"
|
31
|
+
]
|
32
|
+
s.homepage = "http://github.com/wwood/bioruby-wolf_psort_wrapper"
|
33
|
+
s.licenses = ["MIT"]
|
34
|
+
s.require_paths = ["lib"]
|
35
|
+
s.rubygems_version = "1.8.11"
|
36
|
+
s.summary = "Enables the localisation predictor WoLF PSORT to be run locally"
|
37
|
+
|
38
|
+
if s.respond_to? :specification_version then
|
39
|
+
s.specification_version = 3
|
40
|
+
|
41
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
42
|
+
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
43
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
44
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
|
45
|
+
s.add_development_dependency(%q<rcov>, [">= 0"])
|
46
|
+
s.add_development_dependency(%q<bio>, [">= 1.4.2"])
|
47
|
+
else
|
48
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
49
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
50
|
+
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
51
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
52
|
+
s.add_dependency(%q<bio>, [">= 1.4.2"])
|
53
|
+
end
|
54
|
+
else
|
55
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
56
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
57
|
+
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
58
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
59
|
+
s.add_dependency(%q<bio>, [">= 1.4.2"])
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'bio/appl/psort/wolf_psort_wrapper'
|
@@ -0,0 +1,102 @@
|
|
1
|
+
require 'bio'
|
2
|
+
|
3
|
+
module Bio
|
4
|
+
class PSORT
|
5
|
+
class WoLF_PSORT
|
6
|
+
class Wrapper
|
7
|
+
ORGANISM_TYPES = %w(plant animal fungi)
|
8
|
+
|
9
|
+
SUMMARY_EXECUTABLE_NAME = 'runWolfPsortSummary'
|
10
|
+
|
11
|
+
# Given an amino acid sequence as a String and an organism type (plasnt/animal/fungi) as a String,
|
12
|
+
# run a local version of WoLF_PSORT (which is assumed to be in the executable path) and
|
13
|
+
# return a parsed report. Return nil if something untoward happens.
|
14
|
+
#
|
15
|
+
# A known problem is that it doesn't
|
16
|
+
# work on sequences that are too short. For instance the sequence MRTLKTEVEKGFLSTMFVQELATPKG
|
17
|
+
# prints out an error on the command line:
|
18
|
+
# Modification of non-creatable array value attempted, subscript -1 at /home/ben/bioinfo/WoLFPSORT_package_v0.2/bin/psortModifiedForWolfFiles/psortModules/PsortFastaReader.pm line 440, <STDIN> line 1.
|
19
|
+
def run(amino_acid_sequence_string, organism_type)
|
20
|
+
fasta = ">wolf\n#{amino_acid_sequence_string}"
|
21
|
+
|
22
|
+
output = Bio::Command.query_command([SUMMARY_EXECUTABLE_NAME, organism_type], fasta)
|
23
|
+
return nil if output == '' or output.nil? # happens when the sequence is too short
|
24
|
+
return Bio::PSORT::WoLF_PSORT::Report.parse_from_summary(organism_type, output.split("\n")[1])
|
25
|
+
end
|
26
|
+
end # class Wrapper
|
27
|
+
|
28
|
+
# taken from http://wolfpsort.org/aboutWoLF_PSORT.html.en
|
29
|
+
LOCATIONS = [
|
30
|
+
'chlo',
|
31
|
+
'cyto',
|
32
|
+
'cysk',
|
33
|
+
'E.R.',
|
34
|
+
'extr',
|
35
|
+
'golg',
|
36
|
+
'lyso',
|
37
|
+
'mito',
|
38
|
+
'nucl',
|
39
|
+
'pero',
|
40
|
+
'plas',
|
41
|
+
'vacu'
|
42
|
+
]
|
43
|
+
ORGANISM_TYPES = [
|
44
|
+
'animal',
|
45
|
+
'plant',
|
46
|
+
'fungi'
|
47
|
+
]
|
48
|
+
|
49
|
+
class Report
|
50
|
+
# Name of the sequence that has been analyzed, according
|
51
|
+
# to WoLF_PSORT output
|
52
|
+
attr_accessor :name
|
53
|
+
|
54
|
+
# plant, fungal or animal as a string
|
55
|
+
attr_accessor :organism_type
|
56
|
+
|
57
|
+
# A hash of scores output, for example {'cyto' => 12}
|
58
|
+
# keys of the hash are strings representing localisations
|
59
|
+
# values of the hash are float output scores
|
60
|
+
attr_accessor :score_hash
|
61
|
+
|
62
|
+
def initialize(name=nil, organism_type=nil, score_hash={})
|
63
|
+
@name = name
|
64
|
+
@organism_type = organism_type
|
65
|
+
@score_hash = score_hash
|
66
|
+
end
|
67
|
+
|
68
|
+
# Given an output line from a the runWolfPsortSummary script,
|
69
|
+
# return a report with all the included information in it.
|
70
|
+
def self.parse_from_summary(organism_type, line)
|
71
|
+
line.strip!
|
72
|
+
return nil if line.match(/^\#/) #ignore the first comment line
|
73
|
+
|
74
|
+
rep = self.new
|
75
|
+
rep.organism_type = organism_type
|
76
|
+
|
77
|
+
line.split(', ').each_with_index do |fraction, index|
|
78
|
+
splits = fraction.split(' ')
|
79
|
+
if index == 0
|
80
|
+
raise ArgumentError, "invalid format\n[#{line}]" if splits.length != 3
|
81
|
+
rep.name = splits[0]
|
82
|
+
rep.score_hash[splits[1]] = splits[2].to_f
|
83
|
+
else
|
84
|
+
raise ArgumentError, "invalid format\n[#{line}]" if splits.length != 2
|
85
|
+
rep.score_hash[splits[0]] = splits[1].to_f
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
return rep
|
90
|
+
end
|
91
|
+
|
92
|
+
# Return the string of the highest predicted localisation
|
93
|
+
# recorded in the score hash
|
94
|
+
def highest_predicted_localization
|
95
|
+
@score_hash.max{ |a,b|
|
96
|
+
a[1] <=> b[1]
|
97
|
+
}[0]
|
98
|
+
end
|
99
|
+
end # class Report
|
100
|
+
end # class WoLF_PSORT
|
101
|
+
end # class PSORT
|
102
|
+
end # module BioSORT
|
data/test/helper.rb
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'bundler'
|
3
|
+
begin
|
4
|
+
Bundler.setup(:default, :development)
|
5
|
+
rescue Bundler::BundlerError => e
|
6
|
+
$stderr.puts e.message
|
7
|
+
$stderr.puts "Run `bundle install` to install missing gems"
|
8
|
+
exit e.status_code
|
9
|
+
end
|
10
|
+
require 'test/unit'
|
11
|
+
require 'shoulda'
|
12
|
+
|
13
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
14
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
15
|
+
require 'bio-wolf_psort_wrapper'
|
16
|
+
|
17
|
+
class Test::Unit::TestCase
|
18
|
+
end
|
@@ -0,0 +1,61 @@
|
|
1
|
+
require 'helper'
|
2
|
+
|
3
|
+
module Bio
|
4
|
+
class PSORT
|
5
|
+
class WoLF_PSORT
|
6
|
+
class Report
|
7
|
+
# Equivalence to another WoLF_PSORT report. Written mainly
|
8
|
+
# with testing in mind
|
9
|
+
def ==(another)
|
10
|
+
[:organism_type, :name, :score_hash].each do |attr|
|
11
|
+
return false if self.send(attr) != another.send(attr)
|
12
|
+
end
|
13
|
+
return true
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
class WoLFPsortTest < Test::Unit::TestCase
|
21
|
+
def test_parse_summary_line_nil
|
22
|
+
assert_nil Bio::PSORT::WoLF_PSORT::Report.parse_from_summary('plant', "# k used for kNN is: 14\n")
|
23
|
+
end
|
24
|
+
|
25
|
+
def test_parse_summary_one_line
|
26
|
+
assert_equal Bio::PSORT::WoLF_PSORT::Report.new('gcn5a', 'plant', {'nucl' => 12, 'cyto' => 1, 'plas' => 1, 'cyto_plas' => 1}),
|
27
|
+
Bio::PSORT::WoLF_PSORT::Report.parse_from_summary('plant', "gcn5a nucl 12, cyto 1, plas 1, cyto_plas 1")
|
28
|
+
end
|
29
|
+
|
30
|
+
def test_parse_summary_one_line_fungi
|
31
|
+
assert_equal Bio::PSORT::WoLF_PSORT::Report.new('gcn5a', 'plant', {'cyto' => 17, 'nucl' => 9, 'cyto_pero' => 9}),
|
32
|
+
Bio::PSORT::WoLF_PSORT::Report.parse_from_summary('plant', "gcn5a cyto 17, nucl 9, cyto_pero 9")
|
33
|
+
end
|
34
|
+
|
35
|
+
def test_amino_acid_sequence_prediction
|
36
|
+
# catalase pero 8, nucl 2, mito 1.5, cyto_nucl 1.5, mito_plas 1.5
|
37
|
+
assert_equal Bio::PSORT::WoLF_PSORT::Report.new('wolf', 'plant', {'pero' => 8.0, 'nucl' => 2.0, 'mito' => 1.5, 'mito_plas' => 1.5, 'cyto_nucl' => 1.5}),
|
38
|
+
Bio::PSORT::WoLF_PSORT::Wrapper.new.run(
|
39
|
+
'MTQVPPVTFQQYGPVITTSAGNPVDDNQNSVTAGPYGPAILSNFHLIDKLAHFDRERIPE
|
40
|
+
RVVHAKGGGAFGYFEVTHDITRFCKAKLFEKIGKRTPVFARFSTVAGESGSADTRRDPRG
|
41
|
+
FALKFYTEEGNWDMVGNNTPIFFVRDAIKFPDFIHTQKRHPQTHLHDPNMVWDFFSLVPE
|
42
|
+
SVHQVTFLYTDRGTPDGFRHMNGYGSHTFKFINKDNEAFYVKWHFKTNQGIKNLNRQRAK
|
43
|
+
ELESEDPDYAVRDLFNAIAKREFPSWTFCIQVMPLKDAETYKWNVFDVTKVWPHGDYPLI
|
44
|
+
PVGRLVLDRNPENYFQDVEQAAFAPAHMVPGIEPSEDRMLQGRMFSYIDTHRHRLGANYH
|
45
|
+
QIPVNRPWNARGGDYSVRDGPMCVDGNKGSQLNYEPNSVDGFPKEDRNAAVSGTTTVSGT
|
46
|
+
VACHPQEHPNSDFEQPGNFYRTVLSEPEREALIGNIAEHLRQARRDIQERQVKIFYKCDP
|
47
|
+
EYGERVARAIGLPTAACYPAKM*'.gsub(/\s/,''),
|
48
|
+
'plant'
|
49
|
+
)
|
50
|
+
end
|
51
|
+
|
52
|
+
def test_too_small_amino_acid_sequence_prediction
|
53
|
+
# known problem - too short for WoLF_PSORT?
|
54
|
+
assert_nil Bio::PSORT::WoLF_PSORT::Wrapper.new.run('MRTLKTEVEKGFLSTMFVQELATPKG', 'animal')
|
55
|
+
end
|
56
|
+
|
57
|
+
def test_highest_predicted_localization
|
58
|
+
assert_equal 'cyto', Bio::PSORT::WoLF_PSORT::Report.new('gcn5a', 'plant', {'cyto' => 17, 'nucl' => 9, 'cyto_pero' => 9}).highest_predicted_localization
|
59
|
+
assert_equal 'cyto_pero', Bio::PSORT::WoLF_PSORT::Report.new('gcn5a', 'plant', {'cyto' => 17, 'nucl' => 9, 'cyto_pero' => 90}).highest_predicted_localization
|
60
|
+
end
|
61
|
+
end
|
metadata
ADDED
@@ -0,0 +1,151 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: bio-wolf_psort_wrapper
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 29
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 1
|
10
|
+
version: 0.0.1
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Ben J Woodcroft
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2012-01-20 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
22
|
+
none: false
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
hash: 3
|
27
|
+
segments:
|
28
|
+
- 0
|
29
|
+
version: "0"
|
30
|
+
version_requirements: *id001
|
31
|
+
name: shoulda
|
32
|
+
prerelease: false
|
33
|
+
type: :development
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
36
|
+
none: false
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
hash: 23
|
41
|
+
segments:
|
42
|
+
- 1
|
43
|
+
- 0
|
44
|
+
- 0
|
45
|
+
version: 1.0.0
|
46
|
+
version_requirements: *id002
|
47
|
+
name: bundler
|
48
|
+
prerelease: false
|
49
|
+
type: :development
|
50
|
+
- !ruby/object:Gem::Dependency
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
52
|
+
none: false
|
53
|
+
requirements:
|
54
|
+
- - ~>
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
hash: 7
|
57
|
+
segments:
|
58
|
+
- 1
|
59
|
+
- 6
|
60
|
+
- 4
|
61
|
+
version: 1.6.4
|
62
|
+
version_requirements: *id003
|
63
|
+
name: jeweler
|
64
|
+
prerelease: false
|
65
|
+
type: :development
|
66
|
+
- !ruby/object:Gem::Dependency
|
67
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
68
|
+
none: false
|
69
|
+
requirements:
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
hash: 3
|
73
|
+
segments:
|
74
|
+
- 0
|
75
|
+
version: "0"
|
76
|
+
version_requirements: *id004
|
77
|
+
name: rcov
|
78
|
+
prerelease: false
|
79
|
+
type: :development
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
82
|
+
none: false
|
83
|
+
requirements:
|
84
|
+
- - ">="
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
hash: 3
|
87
|
+
segments:
|
88
|
+
- 1
|
89
|
+
- 4
|
90
|
+
- 2
|
91
|
+
version: 1.4.2
|
92
|
+
version_requirements: *id005
|
93
|
+
name: bio
|
94
|
+
prerelease: false
|
95
|
+
type: :development
|
96
|
+
description: Enables the localisation predictor WoLF PSORT to be run locally. The algorithm is available at http://wolfpsort.org/
|
97
|
+
email: donttrustben near gmail.com
|
98
|
+
executables: []
|
99
|
+
|
100
|
+
extensions: []
|
101
|
+
|
102
|
+
extra_rdoc_files:
|
103
|
+
- LICENSE.txt
|
104
|
+
- README.mkd
|
105
|
+
files:
|
106
|
+
- .document
|
107
|
+
- Gemfile
|
108
|
+
- LICENSE.txt
|
109
|
+
- README.mkd
|
110
|
+
- Rakefile
|
111
|
+
- VERSION
|
112
|
+
- bio-wolf_psort_wrapper.gemspec
|
113
|
+
- lib/bio-wolf_psort_wrapper.rb
|
114
|
+
- lib/bio/appl/psort/wolf_psort_wrapper.rb
|
115
|
+
- test/helper.rb
|
116
|
+
- test/test_bio-wolf_psort_wrapper.rb
|
117
|
+
homepage: http://github.com/wwood/bioruby-wolf_psort_wrapper
|
118
|
+
licenses:
|
119
|
+
- MIT
|
120
|
+
post_install_message:
|
121
|
+
rdoc_options: []
|
122
|
+
|
123
|
+
require_paths:
|
124
|
+
- lib
|
125
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
126
|
+
none: false
|
127
|
+
requirements:
|
128
|
+
- - ">="
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
hash: 3
|
131
|
+
segments:
|
132
|
+
- 0
|
133
|
+
version: "0"
|
134
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
135
|
+
none: false
|
136
|
+
requirements:
|
137
|
+
- - ">="
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
hash: 3
|
140
|
+
segments:
|
141
|
+
- 0
|
142
|
+
version: "0"
|
143
|
+
requirements: []
|
144
|
+
|
145
|
+
rubyforge_project:
|
146
|
+
rubygems_version: 1.8.11
|
147
|
+
signing_key:
|
148
|
+
specification_version: 3
|
149
|
+
summary: Enables the localisation predictor WoLF PSORT to be run locally
|
150
|
+
test_files: []
|
151
|
+
|