semin-egor 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/History.txt ADDED
@@ -0,0 +1,49 @@
1
+ == 0.9.0 version
2
+
3
+ * 5 major enhancement:
4
+ * --heatmap option has been added to generate heat maps from substitution tables
5
+ * --heatmap-format option has been added for heat map figure format (PNG, GIF, JPG, BMP, and PDF)
6
+ * --heatmap-stem option has been added to set a file name for total heat maps figure when --heatmap 1 or 2 is set
7
+ * --heatmap-columns option has been added to set the number of tables in a row when --heatmap 1 or 2 is set
8
+ * --heatmap-value option has been added to print values in the cells of heat maps
9
+
10
+ * 2 minor enhancement:
11
+ * --noround option has been renamed to --noroundoff
12
+ * 'simple_memoize' RubyGem package is no longer required
13
+
14
+ == 0.0.5 2009-1-23
15
+
16
+ * 4 major enhancement:
17
+ * Egor warns if your sigma value is too big for any amino acid count (minimum ratio of amino acid count to sigma value: 500.0)
18
+ * --augosigma option was added to avoid excessive influence of background frequencies
19
+ * a bug in p2 probability calculation of the partial smoothing procedure was fixed
20
+ * a bug in total probability/log odds ratio calculation was fixed
21
+
22
+ * 4 minor enhancement:
23
+ * --noround option was added to get original log odds ratios
24
+ * --p1smooth option was added to enable p1 probability smoothing when partial smoothing
25
+ * default verbosity has been changed from ERROR to WARN
26
+ * codes were refactored to be more human readable and DRY
27
+
28
+ == 0.0.4 2008-12-15
29
+
30
+ * 2 major enhancement:
31
+ * log-odds ratio matrices can be generated with --nosmooth option
32
+ * safe handling for zero observations or mutations of amino acids
33
+
34
+ == 0.0.3 2008-12-09
35
+
36
+ * 2 major enhancement:
37
+ * An option '--cys (-j) 2' added not to distinguish J from C, so 'disulphide bond' environment feature is not prerequisite
38
+ * Masking works for target amino acid, too
39
+
40
+ == 0.0.2 2008-11-13
41
+
42
+ * 2 major enhancement:
43
+ * Constrained environment features are properly handled
44
+ * Sane log-odds ratio matrices are produced
45
+
46
+ == 0.0.1 2008-11-07
47
+
48
+ * 1 major enhancement:
49
+ * Initial release
data/Manifest.txt ADDED
@@ -0,0 +1,37 @@
1
+ History.txt
2
+ Manifest.txt
3
+ PostInstall.txt
4
+ Rakefile
5
+ bin/egor
6
+ config/website.yml
7
+ config/website.yml.sample
8
+ egor.gemspec
9
+ lib/egor.rb
10
+ lib/egor/cli.rb
11
+ lib/egor/environment.rb
12
+ lib/egor/environment_class_hash.rb
13
+ lib/egor/environment_feature.rb
14
+ lib/egor/environment_feature_array.rb
15
+ lib/egor/heatmap_array.rb
16
+ lib/math_extensions.rb
17
+ lib/narray_extensions.rb
18
+ lib/nmatrix_extensions.rb
19
+ lib/string_extensions.rb
20
+ script/console
21
+ script/destroy
22
+ script/generate
23
+ script/txt2html
24
+ test/test_egor.rb
25
+ test/test_egor_cli.rb
26
+ test/test_egor_environment_class_hash.rb
27
+ test/test_egor_environment_feature.rb
28
+ test/test_helper.rb
29
+ test/test_math_extensions.rb
30
+ test/test_narray_extensions.rb
31
+ test/test_nmatrix_extensions.rb
32
+ test/test_string_extensions.rb
33
+ website/index.html
34
+ website/index.txt
35
+ website/javascripts/rounded_corners_lite.inc.js
36
+ website/stylesheets/screen.css
37
+ website/template.html.erb
data/PostInstall.txt ADDED
@@ -0,0 +1,5 @@
1
+ HELP/OPTIONS: egor -h
2
+
3
+ For more information on egor, see http://egor.rubyforge.org
4
+
5
+
data/Rakefile ADDED
@@ -0,0 +1,32 @@
1
+ %w[rubygems rake rake/clean fileutils newgem rubigen].each { |f| require f }
2
+ require File.dirname(__FILE__) + '/lib/egor'
3
+
4
+ # Generate all the Rake tasks
5
+ # Run 'rake -T' to see list of generated tasks (from gem root directory)
6
+ $hoe = Hoe.new('egor', Egor::VERSION) do |p|
7
+ p.developer('Semin Lee', 'seminlee@gmail.com')
8
+ p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
9
+ p.post_install_message = 'PostInstall.txt' # TODO remove if post-install message not required
10
+ p.rubyforge_name = p.name # TODO this is default value
11
+ p.extra_deps = [
12
+ ['narray', '>= 0.5.9.5'],
13
+ ['bio', '>= 1.2.1'],
14
+ ['facets', '>= 2.4.5'],
15
+ ['rmagick', '>= 2.9.1'],
16
+ ]
17
+
18
+ p.extra_dev_deps = [
19
+ ['newgem', ">= #{::Newgem::VERSION}"]
20
+ ]
21
+
22
+ p.clean_globs |= %w[**/.DS_Store tmp *.log *.swp]
23
+ path = (p.rubyforge_name == p.name) ? p.rubyforge_name : "\#{p.rubyforge_name}/\#{p.name}"
24
+ p.remote_rdoc_dir = File.join(path.gsub(/^#{p.rubyforge_name}\/?/,''), 'rdoc')
25
+ p.rsync_args = '-av --delete --ignore-errors'
26
+ end
27
+
28
+ require 'newgem/tasks' # load /tasks/*.rake
29
+ Dir['tasks/**/*.rake'].each { |t| load t }
30
+
31
+ # TODO - want other tests/tasks run by default? Add them to the list
32
+ # task :default => [:spec, :features]
data/bin/egor ADDED
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # Created on 2008-11-7.
4
+ # Copyright (c) 2008. All rights reserved.
5
+
6
+ require File.expand_path(File.dirname(__FILE__) + "/../lib/egor")
7
+
8
+ require "egor/cli"
9
+
10
+ Egor::CLI.execute(ARGV)
@@ -0,0 +1,2 @@
1
+ host: semin@rubyforge.org
2
+ remote_dir: /var/www/gforge-projects/egor
@@ -0,0 +1,2 @@
1
+ host: unknown@rubyforge.org
2
+ remote_dir: /var/www/gforge-projects/egor
data/egor.gemspec ADDED
@@ -0,0 +1,51 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = %q{egor}
5
+ s.version = "0.9.0"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["Semin Lee"]
9
+ s.date = %q{2009-02-12}
10
+ s.default_executable = %q{egor}
11
+ s.email = ["seminlee@gmail.com"]
12
+ s.executables = ["egor"]
13
+ s.extra_rdoc_files = ["History.txt", "Manifest.txt", "PostInstall.txt", "website/index.txt"]
14
+ s.files = ["History.txt", "Manifest.txt", "PostInstall.txt", "Rakefile", "bin/egor", "config/website.yml", "config/website.yml.sample", "egor.gemspec", "lib/egor.rb", "lib/egor/cli.rb", "lib/egor/environment.rb", "lib/egor/environment_class_hash.rb", "lib/egor/environment_feature.rb", "lib/egor/environment_feature_array.rb", "lib/egor/heatmap_array.rb", "lib/math_extensions.rb", "lib/narray_extensions.rb", "lib/nmatrix_extensions.rb", "lib/string_extensions.rb", "script/console", "script/destroy", "script/generate", "script/txt2html", "test/test_egor.rb", "test/test_egor_cli.rb", "test/test_egor_environment_class_hash.rb", "test/test_egor_environment_feature.rb", "test/test_helper.rb", "test/test_math_extensions.rb", "test/test_narray_extensions.rb", "test/test_nmatrix_extensions.rb", "test/test_string_extensions.rb", "website/index.html", "website/index.txt", "website/javascripts/rounded_corners_lite.inc.js", "website/stylesheets/screen.css", "website/template.html.erb"]
15
+ s.has_rdoc = true
16
+ s.post_install_message = %q{PostInstall.txt}
17
+ s.rdoc_options = ["--main", "README.markdown"]
18
+ s.require_paths = ["lib"]
19
+ s.rubyforge_project = %q{egor}
20
+ s.rubygems_version = %q{1.3.1}
21
+ s.summary = "A new ESST generator"
22
+ s.test_files = ["test/test_string_extensions.rb", "test/test_nmatrix_extensions.rb", "test/test_egor_cli.rb", "test/test_egor_environment_class_hash.rb", "test/test_math_extensions.rb", "test/test_helper.rb", "test/test_egor_environment_feature.rb", "test/test_narray_extensions.rb", "test/test_egor.rb"]
23
+
24
+ if s.respond_to? :specification_version then
25
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
26
+ s.specification_version = 2
27
+
28
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
29
+ s.add_runtime_dependency(%q<narray>, [">= 0.5.9.5"])
30
+ s.add_runtime_dependency(%q<bio>, [">= 1.2.1"])
31
+ s.add_runtime_dependency(%q<facets>, [">= 2.4.5"])
32
+ s.add_runtime_dependency(%q<rmagick>, [">= 2.9.1"])
33
+ s.add_development_dependency(%q<newgem>, [">= 1.2.3"])
34
+ s.add_development_dependency(%q<hoe>, [">= 1.8.0"])
35
+ else
36
+ s.add_dependency(%q<narray>, [">= 0.5.9.5"])
37
+ s.add_dependency(%q<bio>, [">= 1.2.1"])
38
+ s.add_dependency(%q<facets>, [">= 2.4.5"])
39
+ s.add_dependency(%q<rmagick>, [">= 2.9.1"])
40
+ s.add_dependency(%q<newgem>, [">= 1.2.3"])
41
+ s.add_dependency(%q<hoe>, [">= 1.8.0"])
42
+ end
43
+ else
44
+ s.add_dependency(%q<narray>, [">= 0.5.9.5"])
45
+ s.add_dependency(%q<bio>, [">= 1.2.1"])
46
+ s.add_dependency(%q<facets>, [">= 2.4.5"])
47
+ s.add_dependency(%q<rmagick>, [">= 2.9.1"])
48
+ s.add_dependency(%q<newgem>, [">= 1.2.3"])
49
+ s.add_dependency(%q<hoe>, [">= 1.8.0"])
50
+ end
51
+ end