scaffolder-annotation-locator 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,45 @@
1
+ # Aruba directory
2
+ tmp
3
+
4
+ # rcov generated
5
+ coverage
6
+
7
+ # rdoc generated
8
+ rdoc
9
+
10
+ # yard generated
11
+ doc
12
+ .yardoc
13
+
14
+ # bundler
15
+ .bundle
16
+
17
+ # jeweler generated
18
+ pkg
19
+
20
+ # Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
21
+ #
22
+ # * Create a file at ~/.gitignore
23
+ # * Include files you want ignored
24
+ # * Run: git config --global core.excludesfile ~/.gitignore
25
+ #
26
+ # After doing this, these files will be ignored in all your git projects,
27
+ # saving you from having to 'pollute' every project you touch with them
28
+ #
29
+ # Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
30
+ #
31
+ # For MacOS:
32
+ #
33
+ #.DS_Store
34
+ #
35
+ # For TextMate
36
+ #*.tmproj
37
+ #tmtags
38
+ #
39
+ # For emacs:
40
+ #*~
41
+ #\#*
42
+ #.\#*
43
+ #
44
+ # For vim:
45
+ #*.swp
data/CHANGELOG.txt ADDED
@@ -0,0 +1,5 @@
1
+ 0.1.2
2
+
3
+ * Remove jeweler from project and use bundler tasks instead.
4
+ * Update to 1.1.3 version of bundler.
5
+ * Use syck YAML parser to resolve psych errors.
data/Gemfile CHANGED
@@ -1,19 +1,2 @@
1
- source "http://rubygems.org"
2
-
3
- group :default do
4
- gem "scaffolder", ">= 0.4.3"
5
- gem "bio", "~> 1.4"
6
- gem "psych"
7
- end
8
-
9
- group :development do
10
- gem "bundler", "~> 1.0"
11
- gem "jeweler", "~> 1.5"
12
-
13
- gem "rspec", "~> 2.4"
14
- gem "scaffolder-test-helpers", "0.3.0"
15
- gem "cucumber", "~> 0.9"
16
- gem "aruba", "~> 0.2"
17
-
18
- gem "yard", "~> 0.6"
19
- end
1
+ source :rubygems
2
+ gemspec
data/Rakefile CHANGED
@@ -8,36 +8,16 @@ rescue Bundler::BundlerError => e
8
8
  exit e.status_code
9
9
  end
10
10
  require 'rake/dsl_definition'
11
- require 'rake'
12
-
13
- require 'jeweler'
14
- Jeweler::Tasks.new do |gem|
15
- # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
16
- gem.name = "scaffolder-annotation-locator"
17
- gem.homepage = "http://next.gs"
18
- gem.license = "MIT"
19
- gem.summary = %Q{Update locations of gff3 annotations from a scaffolder template}
20
- gem.description = %Q{Build a genome scaffold using scaffolder and a set of annotated contigs. This tool updates the locations of the contig annotations using the scaffolder tempalte as a base.}
21
- gem.email = "mail@next.gs"
22
- gem.authors = ["Michael Barton"]
23
- end
24
- Jeweler::RubygemsDotOrgTasks.new
25
-
26
11
  require 'rspec/core'
27
12
  require 'rspec/core/rake_task'
13
+ require 'cucumber/rake/task'
14
+
15
+ Bundler::GemHelper.install_tasks
16
+
28
17
  RSpec::Core::RakeTask.new(:spec) do |spec|
29
18
  spec.pattern = FileList['spec/**/*_spec.rb']
30
19
  end
31
20
 
32
- RSpec::Core::RakeTask.new(:rcov) do |spec|
33
- spec.pattern = 'spec/**/*_spec.rb'
34
- spec.rcov = true
35
- end
36
-
37
- require 'cucumber/rake/task'
38
21
  Cucumber::Rake::Task.new(:features)
39
22
 
40
23
  task :default => :spec
41
-
42
- require 'yard'
43
- YARD::Rake::YardocTask.new
@@ -51,6 +51,7 @@ class Scaffolder::AnnotationLocator < DelegateClass(Array)
51
51
  end
52
52
 
53
53
  def scaffold
54
+ YAML::ENGINE.yamler = 'syck'
54
55
  Scaffolder.new(YAML.load(File.read(@scaffold_file)),@sequence_file)
55
56
  end
56
57
 
@@ -0,0 +1,5 @@
1
+ require 'scaffolder/annotation_locator'
2
+
3
+ class Scaffolder::AnnotationLocator
4
+ VERSION = '0.1.2'
5
+ end
@@ -1,86 +1,34 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
1
  # -*- encoding: utf-8 -*-
2
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'lib'))
3
+
4
+ require "scaffolder/annotation_locator/version"
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = "scaffolder-annotation-locator"
8
- s.version = "0.1.1"
7
+ s.name = "scaffolder-annotation-locator"
8
+ s.version = Scaffolder::AnnotationLocator::VERSION
9
+ s.platform = Gem::Platform::RUBY
10
+ s.authors = ["Michael Barton"]
11
+ s.email = "mail@next.gs"
12
+ s.homepage = "http://next.gs"
13
+ s.licenses = ["MIT"]
14
+ s.summary = "Update locations of gff3 annotations from a scaffolder template"
15
+ s.description = "Build a genome scaffold using scaffolder and a set of annotated contigs. This tool updates the locations of the contig annotations using the scaffold template as a base."
9
16
 
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Michael Barton"]
12
- s.date = "2012-01-26"
13
- s.description = "Build a genome scaffold using scaffolder and a set of annotated contigs. This tool updates the locations of the contig annotations using the scaffolder tempalte as a base."
14
- s.email = "mail@next.gs"
15
- s.extra_rdoc_files = [
16
- "LICENSE.txt",
17
- "README.rdoc"
18
- ]
19
- s.files = [
20
- ".document",
21
- "Gemfile",
22
- "LICENSE.txt",
23
- "README.rdoc",
24
- "Rakefile",
25
- "VERSION",
26
- "features/inserts.feature",
27
- "features/multiple-contigs.feature",
28
- "features/single-contig.feature",
29
- "features/step_definitions/scaffolder-annotation-locator_steps.rb",
30
- "features/support/env.rb",
31
- "features/unresolved.feature",
32
- "lib/scaffolder/annotation_locator.rb",
33
- "lib/scaffolder/extensions.rb",
34
- "lib/scaffolder/gff_record_helper.rb",
35
- "scaffolder-annotation-locator.gemspec",
36
- "spec/scaffolder/annotation_locator_spec.rb",
37
- "spec/scaffolder/gff_record_helper_spec.rb",
38
- "spec/spec_helper.rb",
39
- "spec/support/gff_attribute_matcher.rb"
40
- ]
41
- s.homepage = "http://next.gs"
42
- s.licenses = ["MIT"]
43
- s.require_paths = ["lib"]
44
- s.rubygems_version = "1.8.11"
45
- s.summary = "Update locations of gff3 annotations from a scaffolder template"
17
+ s.rubyforge_project = "scaffolder-annotation-locator"
18
+ s.required_rubygems_version = ">= 1.8.0"
46
19
 
47
- if s.respond_to? :specification_version then
48
- s.specification_version = 3
20
+ s.require_path = 'lib'
21
+ s.files = `git ls-files`.split("\n")
22
+ s.extra_rdoc_files = %w| LICENSE.txt README.rdoc |
49
23
 
50
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
51
- s.add_runtime_dependency(%q<scaffolder>, [">= 0.4.3"])
52
- s.add_runtime_dependency(%q<bio>, ["~> 1.4"])
53
- s.add_runtime_dependency(%q<psych>, [">= 0"])
54
- s.add_development_dependency(%q<bundler>, ["~> 1.0"])
55
- s.add_development_dependency(%q<jeweler>, ["~> 1.5"])
56
- s.add_development_dependency(%q<rspec>, ["~> 2.4"])
57
- s.add_development_dependency(%q<scaffolder-test-helpers>, ["= 0.3.0"])
58
- s.add_development_dependency(%q<cucumber>, ["~> 0.9"])
59
- s.add_development_dependency(%q<aruba>, ["~> 0.2"])
60
- s.add_development_dependency(%q<yard>, ["~> 0.6"])
61
- else
62
- s.add_dependency(%q<scaffolder>, [">= 0.4.3"])
63
- s.add_dependency(%q<bio>, ["~> 1.4"])
64
- s.add_dependency(%q<psych>, [">= 0"])
65
- s.add_dependency(%q<bundler>, ["~> 1.0"])
66
- s.add_dependency(%q<jeweler>, ["~> 1.5"])
67
- s.add_dependency(%q<rspec>, ["~> 2.4"])
68
- s.add_dependency(%q<scaffolder-test-helpers>, ["= 0.3.0"])
69
- s.add_dependency(%q<cucumber>, ["~> 0.9"])
70
- s.add_dependency(%q<aruba>, ["~> 0.2"])
71
- s.add_dependency(%q<yard>, ["~> 0.6"])
72
- end
73
- else
74
- s.add_dependency(%q<scaffolder>, [">= 0.4.3"])
75
- s.add_dependency(%q<bio>, ["~> 1.4"])
76
- s.add_dependency(%q<psych>, [">= 0"])
77
- s.add_dependency(%q<bundler>, ["~> 1.0"])
78
- s.add_dependency(%q<jeweler>, ["~> 1.5"])
79
- s.add_dependency(%q<rspec>, ["~> 2.4"])
80
- s.add_dependency(%q<scaffolder-test-helpers>, ["= 0.3.0"])
81
- s.add_dependency(%q<cucumber>, ["~> 0.9"])
82
- s.add_dependency(%q<aruba>, ["~> 0.2"])
83
- s.add_dependency(%q<yard>, ["~> 0.6"])
84
- end
85
- end
24
+ s.add_dependency "scaffolder", ">= 0.4.3"
25
+ s.add_dependency "bio", "~> 1.4.0"
86
26
 
27
+ s.add_development_dependency "rake", "~> 0.9.0"
28
+ s.add_development_dependency "bundler", "~> 1.1.0"
29
+ s.add_development_dependency "rspec", "~> 2.7.0"
30
+ s.add_development_dependency "cucumber", "~> 1.1.4"
31
+ s.add_development_dependency "aruba", "~> 0.4.11"
32
+ s.add_development_dependency "scaffolder-test-helpers", "~> 0.4.0"
33
+ s.add_development_dependency "yard", "~> 0.6.0"
34
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scaffolder-annotation-locator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-26 00:00:00.000000000 Z
12
+ date: 2012-04-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: scaffolder
16
- requirement: &70157864359580 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,108 +21,142 @@ dependencies:
21
21
  version: 0.4.3
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70157864359580
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 0.4.3
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: bio
27
- requirement: &70157864356600 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ~>
31
36
  - !ruby/object:Gem::Version
32
- version: '1.4'
37
+ version: 1.4.0
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *70157864356600
36
- - !ruby/object:Gem::Dependency
37
- name: psych
38
- requirement: &70157864369780 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
39
41
  none: false
40
42
  requirements:
41
- - - ! '>='
43
+ - - ~>
42
44
  - !ruby/object:Gem::Version
43
- version: '0'
44
- type: :runtime
45
- prerelease: false
46
- version_requirements: *70157864369780
45
+ version: 1.4.0
47
46
  - !ruby/object:Gem::Dependency
48
- name: bundler
49
- requirement: &70157864365900 !ruby/object:Gem::Requirement
47
+ name: rake
48
+ requirement: !ruby/object:Gem::Requirement
50
49
  none: false
51
50
  requirements:
52
51
  - - ~>
53
52
  - !ruby/object:Gem::Version
54
- version: '1.0'
53
+ version: 0.9.0
55
54
  type: :development
56
55
  prerelease: false
57
- version_requirements: *70157864365900
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 0.9.0
58
62
  - !ruby/object:Gem::Dependency
59
- name: jeweler
60
- requirement: &70157864379040 !ruby/object:Gem::Requirement
63
+ name: bundler
64
+ requirement: !ruby/object:Gem::Requirement
61
65
  none: false
62
66
  requirements:
63
67
  - - ~>
64
68
  - !ruby/object:Gem::Version
65
- version: '1.5'
69
+ version: 1.1.0
66
70
  type: :development
67
71
  prerelease: false
68
- version_requirements: *70157864379040
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 1.1.0
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: rspec
71
- requirement: &70157864375160 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
72
81
  none: false
73
82
  requirements:
74
83
  - - ~>
75
84
  - !ruby/object:Gem::Version
76
- version: '2.4'
85
+ version: 2.7.0
77
86
  type: :development
78
87
  prerelease: false
79
- version_requirements: *70157864375160
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: 2.7.0
80
94
  - !ruby/object:Gem::Dependency
81
- name: scaffolder-test-helpers
82
- requirement: &70157864371800 !ruby/object:Gem::Requirement
95
+ name: cucumber
96
+ requirement: !ruby/object:Gem::Requirement
83
97
  none: false
84
98
  requirements:
85
- - - =
99
+ - - ~>
86
100
  - !ruby/object:Gem::Version
87
- version: 0.3.0
101
+ version: 1.1.4
88
102
  type: :development
89
103
  prerelease: false
90
- version_requirements: *70157864371800
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ~>
108
+ - !ruby/object:Gem::Version
109
+ version: 1.1.4
91
110
  - !ruby/object:Gem::Dependency
92
- name: cucumber
93
- requirement: &70157871937940 !ruby/object:Gem::Requirement
111
+ name: aruba
112
+ requirement: !ruby/object:Gem::Requirement
94
113
  none: false
95
114
  requirements:
96
115
  - - ~>
97
116
  - !ruby/object:Gem::Version
98
- version: '0.9'
117
+ version: 0.4.11
99
118
  type: :development
100
119
  prerelease: false
101
- version_requirements: *70157871937940
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ~>
124
+ - !ruby/object:Gem::Version
125
+ version: 0.4.11
102
126
  - !ruby/object:Gem::Dependency
103
- name: aruba
104
- requirement: &70157871936900 !ruby/object:Gem::Requirement
127
+ name: scaffolder-test-helpers
128
+ requirement: !ruby/object:Gem::Requirement
105
129
  none: false
106
130
  requirements:
107
131
  - - ~>
108
132
  - !ruby/object:Gem::Version
109
- version: '0.2'
133
+ version: 0.4.0
110
134
  type: :development
111
135
  prerelease: false
112
- version_requirements: *70157871936900
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ~>
140
+ - !ruby/object:Gem::Version
141
+ version: 0.4.0
113
142
  - !ruby/object:Gem::Dependency
114
143
  name: yard
115
- requirement: &70157871935380 !ruby/object:Gem::Requirement
144
+ requirement: !ruby/object:Gem::Requirement
116
145
  none: false
117
146
  requirements:
118
147
  - - ~>
119
148
  - !ruby/object:Gem::Version
120
- version: '0.6'
149
+ version: 0.6.0
121
150
  type: :development
122
151
  prerelease: false
123
- version_requirements: *70157871935380
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ~>
156
+ - !ruby/object:Gem::Version
157
+ version: 0.6.0
124
158
  description: Build a genome scaffold using scaffolder and a set of annotated contigs.
125
- This tool updates the locations of the contig annotations using the scaffolder tempalte
159
+ This tool updates the locations of the contig annotations using the scaffold template
126
160
  as a base.
127
161
  email: mail@next.gs
128
162
  executables: []
@@ -132,11 +166,12 @@ extra_rdoc_files:
132
166
  - README.rdoc
133
167
  files:
134
168
  - .document
169
+ - .gitignore
170
+ - CHANGELOG.txt
135
171
  - Gemfile
136
172
  - LICENSE.txt
137
173
  - README.rdoc
138
174
  - Rakefile
139
- - VERSION
140
175
  - features/inserts.feature
141
176
  - features/multiple-contigs.feature
142
177
  - features/single-contig.feature
@@ -144,6 +179,7 @@ files:
144
179
  - features/support/env.rb
145
180
  - features/unresolved.feature
146
181
  - lib/scaffolder/annotation_locator.rb
182
+ - lib/scaffolder/annotation_locator/version.rb
147
183
  - lib/scaffolder/extensions.rb
148
184
  - lib/scaffolder/gff_record_helper.rb
149
185
  - scaffolder-annotation-locator.gemspec
@@ -166,16 +202,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
166
202
  version: '0'
167
203
  segments:
168
204
  - 0
169
- hash: -1068640633611636753
205
+ hash: -762467383921930214
170
206
  required_rubygems_version: !ruby/object:Gem::Requirement
171
207
  none: false
172
208
  requirements:
173
209
  - - ! '>='
174
210
  - !ruby/object:Gem::Version
175
- version: '0'
211
+ version: 1.8.0
176
212
  requirements: []
177
- rubyforge_project:
178
- rubygems_version: 1.8.11
213
+ rubyforge_project: scaffolder-annotation-locator
214
+ rubygems_version: 1.8.23
179
215
  signing_key:
180
216
  specification_version: 3
181
217
  summary: Update locations of gff3 annotations from a scaffolder template
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.1.1