bio-qtlHD 0.0.1.alpha.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/Gemfile ADDED
@@ -0,0 +1,13 @@
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 "bundler", "~> 1.0.0"
10
+ gem "jeweler", "~> 1.6.4"
11
+ gem "rcov", ">= 0"
12
+ gem "bio", ">= 1.4.2"
13
+ end
@@ -0,0 +1,20 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ bio (1.4.2)
5
+ git (1.2.5)
6
+ jeweler (1.6.4)
7
+ bundler (~> 1.0)
8
+ git (>= 1.2.5)
9
+ rake
10
+ rake (0.9.2.2)
11
+ rcov (0.9.11)
12
+
13
+ PLATFORMS
14
+ ruby
15
+
16
+ DEPENDENCIES
17
+ bio (>= 1.4.2)
18
+ bundler (~> 1.0.0)
19
+ jeweler (~> 1.6.4)
20
+ rcov
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 Pjotr Prins
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.
@@ -0,0 +1,19 @@
1
+ = bio-qtlHD
2
+
3
+ Description goes here.
4
+
5
+ == Contributing to bio-qtlHD
6
+
7
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
8
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
9
+ * Fork the project
10
+ * Start a feature/bugfix branch
11
+ * Commit and push until you are happy with your contribution
12
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
13
+ * 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.
14
+
15
+ == Copyright
16
+
17
+ Copyright (c) 2011 Pjotr Prins. See LICENSE.txt for
18
+ further details.
19
+
@@ -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-qtlHD"
18
+ gem.homepage = "http://github.com/pjotrp/bioruby-qtlHD"
19
+ gem.license = "MIT"
20
+ gem.summary = %Q{Support for qtlHD}
21
+ gem.description = %Q{Ruby tools and scripts for QTL mapping, part of the qtlHD project}
22
+ gem.email = "pjotr.public01@thebird.nl"
23
+ gem.authors = ["Pjotr Prins", "Danny Arends", "Karl Broman"]
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-qtlHD #{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.alpha.1
@@ -0,0 +1,76 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # BioRuby bio-qtlHD Plugin
4
+ # Version 0.0.0
5
+ # Author:: Pjotr Prins
6
+ # Copyright:: 2011
7
+ # License:: The Ruby License
8
+
9
+ USAGE = "Describe biobio-qtlHD"
10
+
11
+ if ARGV.size == 0
12
+ print USAGE
13
+ end
14
+
15
+ require 'bio-qtlHD'
16
+ require 'optparse'
17
+
18
+ # Uncomment when using the bio-logger
19
+ # require 'bio-logger'
20
+ # Bio::Log::CLI.logger('stderr')
21
+ # Bio::Log::CLI.trace('info')
22
+
23
+ options = {:example_switch=>false,:show_help=>false}
24
+ opts = OptionParser.new do |o|
25
+ o.banner = "Usage: #{File.basename($0)} [options] reponame\ne.g. #{File.basename($0)} the-perfect-gem"
26
+
27
+ o.on('--example_parameter [EXAMPLE_PARAMETER]', 'TODO: put a description for the PARAMETER') do |example_parameter|
28
+ # TODO: your logic here, below an example
29
+ options[:example_parameter] = 'this is a parameter'
30
+ end
31
+
32
+ o.separator ""
33
+ o.on("--switch-example", 'TODO: put a description for the SWITCH') do
34
+ # TODO: your logic here, below an example
35
+ self[:example_switch] = true
36
+ end
37
+
38
+ # Uncomment the following when using the bio-logger
39
+ # o.separator ""
40
+ # o.on("--logger filename",String,"Log to file (default stderr)") do | name |
41
+ # Bio::Log::CLI.logger(name)
42
+ # end
43
+ #
44
+ # o.on("--trace options",String,"Set log level (default INFO, see bio-logger)") do | s |
45
+ # Bio::Log::CLI.trace(s)
46
+ # end
47
+ #
48
+ # o.on("-q", "--quiet", "Run quietly") do |q|
49
+ # Bio::Log::CLI.trace('error')
50
+ # end
51
+ #
52
+ # o.on("-v", "--verbose", "Run verbosely") do |v|
53
+ # Bio::Log::CLI.trace('info')
54
+ # end
55
+ #
56
+ # o.on("--debug", "Show debug messages") do |v|
57
+ # Bio::Log::CLI.trace('debug')
58
+ # end
59
+
60
+ o.separator ""
61
+ o.on_tail('-h', '--help', 'display this help and exit') do
62
+ options[:show_help] = true
63
+ end
64
+ end
65
+
66
+ begin
67
+ opts.parse!(ARGV)
68
+
69
+ # Uncomment the following when using the bio-logger
70
+ # Bio::Log::CLI.configure('bio-qtlHD')
71
+
72
+ # TODO: your code here
73
+ # use options for your logic
74
+ rescue OptionParser::InvalidOption => e
75
+ options[:invalid_argument] = e.message
76
+ end
@@ -0,0 +1,63 @@
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 = %q{bio-qtlHD}
8
+ s.version = "0.0.1.alpha.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Pjotr Prins", "Danny Arends", "Karl Broman"]
12
+ s.date = %q{2011-11-16}
13
+ s.default_executable = %q{biobio-qtlHD}
14
+ s.description = %q{Ruby tools and scripts for QTL mapping, part of the qtlHD project}
15
+ s.email = %q{pjotr.public01@thebird.nl}
16
+ s.executables = ["biobio-qtlHD"]
17
+ s.extra_rdoc_files = [
18
+ "LICENSE.txt",
19
+ "README.rdoc"
20
+ ]
21
+ s.files = [
22
+ ".document",
23
+ "Gemfile",
24
+ "Gemfile.lock",
25
+ "LICENSE.txt",
26
+ "README.rdoc",
27
+ "Rakefile",
28
+ "VERSION",
29
+ "bin/biobio-qtlHD",
30
+ "bio-qtlHD.gemspec",
31
+ "lib/bio-qtlHD.rb",
32
+ "test/helper.rb",
33
+ "test/test_bio-qtlHD.rb"
34
+ ]
35
+ s.homepage = %q{http://github.com/pjotrp/bioruby-qtlHD}
36
+ s.licenses = ["MIT"]
37
+ s.require_paths = ["lib"]
38
+ s.rubygems_version = %q{1.3.7}
39
+ s.summary = %q{Support for qtlHD}
40
+
41
+ if s.respond_to? :specification_version then
42
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
43
+ s.specification_version = 3
44
+
45
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
46
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
47
+ s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
48
+ s.add_development_dependency(%q<rcov>, [">= 0"])
49
+ s.add_development_dependency(%q<bio>, [">= 1.4.2"])
50
+ else
51
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
52
+ s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
53
+ s.add_dependency(%q<rcov>, [">= 0"])
54
+ s.add_dependency(%q<bio>, [">= 1.4.2"])
55
+ end
56
+ else
57
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
58
+ s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
59
+ s.add_dependency(%q<rcov>, [">= 0"])
60
+ s.add_dependency(%q<bio>, [">= 1.4.2"])
61
+ end
62
+ end
63
+
@@ -0,0 +1,10 @@
1
+ # Please require your code below, respecting the bioruby directory tree.
2
+ # For instance, perhaps the only uncommented line in this file might
3
+ # be something like this:
4
+ #
5
+ # require 'bio/sequence/awesome_sequence_plugin_thingy'
6
+ #
7
+ # and then create the ruby file 'lib/bio/sequence/awesome_sequence_thingy.rb'
8
+ # and put your plugin's code there. It is bad practice to write other code
9
+ # directly into this file, because doing so causes confusion if this biogem
10
+ # was ever to get merged into the main bioruby tree.
@@ -0,0 +1,17 @@
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
+
12
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
13
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
14
+ require 'bio-qtlHD'
15
+
16
+ class Test::Unit::TestCase
17
+ end
@@ -0,0 +1,7 @@
1
+ require 'helper'
2
+
3
+ class TestBioQtlhd < Test::Unit::TestCase
4
+ def test_something_for_real
5
+ flunk "hey buddy, you should probably rename this file and start testing for real"
6
+ end
7
+ end
metadata ADDED
@@ -0,0 +1,142 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bio-qtlHD
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1.alpha.1
5
+ segments:
6
+ - 0
7
+ - 0
8
+ - 1
9
+ - alpha
10
+ - 1
11
+ prerelease: true
12
+ segments_generated: true
13
+ platform: ruby
14
+ authors:
15
+ - Pjotr Prins
16
+ - Danny Arends
17
+ - Karl Broman
18
+ autorequire: !!null
19
+ bindir: bin
20
+ cert_chain: []
21
+ date: 2011-11-16 00:00:00.000000000 +01:00
22
+ default_executable: biobio-qtlHD
23
+ dependencies:
24
+ - !ruby/object:Gem::Dependency
25
+ name: bundler
26
+ requirement: &27481940 !ruby/object:Gem::Requirement
27
+ none: false
28
+ requirements:
29
+ - - ~>
30
+ - !ruby/object:Gem::Version
31
+ version: 1.0.0
32
+ segments:
33
+ - 1
34
+ - 0
35
+ - 0
36
+ segments_generated: true
37
+ type: :development
38
+ prerelease: false
39
+ version_requirements: *27481940
40
+ - !ruby/object:Gem::Dependency
41
+ name: jeweler
42
+ requirement: &27481040 !ruby/object:Gem::Requirement
43
+ none: false
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: 1.6.4
48
+ segments:
49
+ - 1
50
+ - 6
51
+ - 4
52
+ segments_generated: true
53
+ type: :development
54
+ prerelease: false
55
+ version_requirements: *27481040
56
+ - !ruby/object:Gem::Dependency
57
+ name: rcov
58
+ requirement: &27480060 !ruby/object:Gem::Requirement
59
+ none: false
60
+ requirements:
61
+ - - ! '>='
62
+ - !ruby/object:Gem::Version
63
+ version: '0'
64
+ segments:
65
+ - 0
66
+ segments_generated: true
67
+ type: :development
68
+ prerelease: false
69
+ version_requirements: *27480060
70
+ - !ruby/object:Gem::Dependency
71
+ name: bio
72
+ requirement: &27479320 !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: 1.4.2
78
+ segments:
79
+ - 1
80
+ - 4
81
+ - 2
82
+ segments_generated: true
83
+ type: :development
84
+ prerelease: false
85
+ version_requirements: *27479320
86
+ description: Ruby tools and scripts for QTL mapping, part of the qtlHD project
87
+ email: pjotr.public01@thebird.nl
88
+ executables:
89
+ - biobio-qtlHD
90
+ extensions: []
91
+ extra_rdoc_files:
92
+ - LICENSE.txt
93
+ - README.rdoc
94
+ files:
95
+ - .document
96
+ - Gemfile
97
+ - Gemfile.lock
98
+ - LICENSE.txt
99
+ - README.rdoc
100
+ - Rakefile
101
+ - VERSION
102
+ - bin/biobio-qtlHD
103
+ - bio-qtlHD.gemspec
104
+ - lib/bio-qtlHD.rb
105
+ - test/helper.rb
106
+ - test/test_bio-qtlHD.rb
107
+ has_rdoc: true
108
+ homepage: http://github.com/pjotrp/bioruby-qtlHD
109
+ licenses:
110
+ - MIT
111
+ post_install_message: !!null
112
+ rdoc_options: []
113
+ require_paths:
114
+ - lib
115
+ required_ruby_version: !ruby/object:Gem::Requirement
116
+ none: false
117
+ requirements:
118
+ - - ! '>='
119
+ - !ruby/object:Gem::Version
120
+ version: '0'
121
+ segments:
122
+ - 0
123
+ segments_generated: true
124
+ hash: -3806591435548056034
125
+ required_rubygems_version: !ruby/object:Gem::Requirement
126
+ none: false
127
+ requirements:
128
+ - - ! '>'
129
+ - !ruby/object:Gem::Version
130
+ version: 1.3.1
131
+ segments:
132
+ - 1
133
+ - 3
134
+ - 1
135
+ segments_generated: true
136
+ requirements: []
137
+ rubyforge_project: !!null
138
+ rubygems_version: 1.3.7
139
+ signing_key: !!null
140
+ specification_version: 3
141
+ summary: Support for qtlHD
142
+ test_files: []