idclight 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +7 -0
- data/Gemfile.lock +12 -0
- data/Rakefile +2 -4
- data/VERSION +1 -1
- data/bin/{convert.rb → idclight_convert.rb} +15 -0
- data/idclight.gemspec +31 -36
- metadata +63 -68
- data/.gitignore +0 -21
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
data/Rakefile
CHANGED
@@ -8,10 +8,8 @@ begin
|
|
8
8
|
gem.summary = %Q{Ruby programmnig interface to the IDCLight online database.}
|
9
9
|
gem.description = %Q{A Ruby gem for accessing the freely available IDClight (IDConverter Light) web service, which convert between different types of gene IDs such as Hugo and Entrez. Queries are screen scraped from http://idclight.bioinfo.cnio.es.}
|
10
10
|
gem.email = "conmotto@gmail.com"
|
11
|
-
gem.homepage = "http://github.com/
|
11
|
+
gem.homepage = "http://github.com/tgen/idclight"
|
12
12
|
gem.authors = ["Preston Lee"]
|
13
|
-
gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
|
14
|
-
gem.add_dependency "hpricot", ">= 0.8"
|
15
13
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
16
14
|
end
|
17
15
|
Jeweler::GemcutterTasks.new
|
@@ -43,7 +41,7 @@ task :test => :check_dependencies
|
|
43
41
|
|
44
42
|
task :default => :test
|
45
43
|
|
46
|
-
require '
|
44
|
+
require 'rdoc/task'
|
47
45
|
Rake::RDocTask.new do |rdoc|
|
48
46
|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
49
47
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
@@ -28,6 +28,21 @@ if ARGV.length >= 2 and ARGV.length <= 3
|
|
28
28
|
end
|
29
29
|
else
|
30
30
|
puts "\n\tUsage: #{__FILE__} <id_type> <id> [organism (defaults to human)]"
|
31
|
+
puts <<EOF
|
32
|
+
|
33
|
+
From the website:
|
34
|
+
|
35
|
+
idtype refers to the type of ID from which you want to obtain further information.
|
36
|
+
Current options are: ug (UniGene cluster), entrez (EntrezGene ID),
|
37
|
+
ensembl (Ensembl Gene), hugo (HUGO Gene Name), acc (GenBank accession),
|
38
|
+
clone (Clone ID), affy (Affymetrix ID), rsdna (RefSeq_RNA),
|
39
|
+
rspep (RefSeq_peptide), and swissp (SwissProt name).
|
40
|
+
|
41
|
+
id is the ID of the gene or clone for which more information is required.
|
42
|
+
|
43
|
+
org is the organism you are working with. Three different organisms are available
|
44
|
+
Hs (Human - Homo sapiens), Mm (Mouse - Mus musculus), and Rn (Rat - Rattus norvegicus).
|
45
|
+
EOF
|
31
46
|
end
|
32
47
|
puts "\n"
|
33
48
|
|
data/idclight.gemspec
CHANGED
@@ -1,64 +1,59 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "0.1.
|
7
|
+
s.name = "idclight"
|
8
|
+
s.version = "0.1.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Preston Lee"]
|
12
|
-
s.date =
|
13
|
-
s.description =
|
14
|
-
s.email =
|
15
|
-
s.executables = ["
|
12
|
+
s.date = "2012-04-12"
|
13
|
+
s.description = "A Ruby gem for accessing the freely available IDClight (IDConverter Light) web service, which convert between different types of gene IDs such as Hugo and Entrez. Queries are screen scraped from http://idclight.bioinfo.cnio.es."
|
14
|
+
s.email = "conmotto@gmail.com"
|
15
|
+
s.executables = ["ensembl_to_entrez.rb", "ensembl_to_hugo.rb", "hugo_to_ensembl.rb", "hugo_to_entrez.rb", "idclight_convert.rb"]
|
16
16
|
s.extra_rdoc_files = [
|
17
17
|
"LICENSE",
|
18
|
-
|
18
|
+
"README.rdoc"
|
19
19
|
]
|
20
20
|
s.files = [
|
21
21
|
".document",
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
"test/test_idclight.rb"
|
37
|
-
]
|
38
|
-
s.homepage = %q{http://github.com/preston/idclight}
|
39
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
40
|
-
s.require_paths = ["lib"]
|
41
|
-
s.rubygems_version = %q{1.3.6}
|
42
|
-
s.summary = %q{Ruby programmnig interface to the IDCLight online database.}
|
43
|
-
s.test_files = [
|
22
|
+
".project",
|
23
|
+
"Gemfile",
|
24
|
+
"Gemfile.lock",
|
25
|
+
"LICENSE",
|
26
|
+
"README.rdoc",
|
27
|
+
"Rakefile",
|
28
|
+
"VERSION",
|
29
|
+
"bin/ensembl_to_entrez.rb",
|
30
|
+
"bin/ensembl_to_hugo.rb",
|
31
|
+
"bin/hugo_to_ensembl.rb",
|
32
|
+
"bin/hugo_to_entrez.rb",
|
33
|
+
"bin/idclight_convert.rb",
|
34
|
+
"idclight.gemspec",
|
35
|
+
"lib/idclight.rb",
|
44
36
|
"test/helper.rb",
|
45
|
-
|
37
|
+
"test/test_idclight.rb"
|
46
38
|
]
|
39
|
+
s.homepage = "http://github.com/tgen/idclight"
|
40
|
+
s.require_paths = ["lib"]
|
41
|
+
s.rubygems_version = "1.8.21"
|
42
|
+
s.summary = "Ruby programmnig interface to the IDCLight online database."
|
47
43
|
|
48
44
|
if s.respond_to? :specification_version then
|
49
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
50
45
|
s.specification_version = 3
|
51
46
|
|
52
|
-
if Gem::Version.new(Gem::
|
53
|
-
s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
47
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
54
48
|
s.add_runtime_dependency(%q<hpricot>, [">= 0.8"])
|
49
|
+
s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
55
50
|
else
|
56
|
-
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
57
51
|
s.add_dependency(%q<hpricot>, [">= 0.8"])
|
52
|
+
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
58
53
|
end
|
59
54
|
else
|
60
|
-
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
61
55
|
s.add_dependency(%q<hpricot>, [">= 0.8"])
|
56
|
+
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
62
57
|
end
|
63
58
|
end
|
64
59
|
|
metadata
CHANGED
@@ -1,107 +1,102 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: idclight
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 1
|
8
|
-
- 2
|
9
|
-
version: 0.1.2
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.3
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Preston Lee
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
12
|
+
date: 2012-04-12 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: hpricot
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0.8'
|
22
|
+
type: :runtime
|
22
23
|
prerelease: false
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.8'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: thoughtbot-shoulda
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
30
38
|
type: :development
|
31
|
-
version_requirements: *id001
|
32
|
-
- !ruby/object:Gem::Dependency
|
33
|
-
name: hpricot
|
34
39
|
prerelease: false
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
version_requirements: *id002
|
45
|
-
description: A Ruby gem for accessing the freely available IDClight (IDConverter Light) web service, which convert between different types of gene IDs such as Hugo and Entrez. Queries are screen scraped from http://idclight.bioinfo.cnio.es.
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
description: A Ruby gem for accessing the freely available IDClight (IDConverter Light)
|
47
|
+
web service, which convert between different types of gene IDs such as Hugo and
|
48
|
+
Entrez. Queries are screen scraped from http://idclight.bioinfo.cnio.es.
|
46
49
|
email: conmotto@gmail.com
|
47
|
-
executables:
|
48
|
-
- convert.rb
|
50
|
+
executables:
|
49
51
|
- ensembl_to_entrez.rb
|
50
52
|
- ensembl_to_hugo.rb
|
51
53
|
- hugo_to_ensembl.rb
|
52
54
|
- hugo_to_entrez.rb
|
55
|
+
- idclight_convert.rb
|
53
56
|
extensions: []
|
54
|
-
|
55
|
-
extra_rdoc_files:
|
57
|
+
extra_rdoc_files:
|
56
58
|
- LICENSE
|
57
59
|
- README.rdoc
|
58
|
-
files:
|
60
|
+
files:
|
59
61
|
- .document
|
60
|
-
- .gitignore
|
61
62
|
- .project
|
63
|
+
- Gemfile
|
64
|
+
- Gemfile.lock
|
62
65
|
- LICENSE
|
63
66
|
- README.rdoc
|
64
67
|
- Rakefile
|
65
68
|
- VERSION
|
66
|
-
- bin/convert.rb
|
67
69
|
- bin/ensembl_to_entrez.rb
|
68
70
|
- bin/ensembl_to_hugo.rb
|
69
71
|
- bin/hugo_to_ensembl.rb
|
70
72
|
- bin/hugo_to_entrez.rb
|
73
|
+
- bin/idclight_convert.rb
|
71
74
|
- idclight.gemspec
|
72
75
|
- lib/idclight.rb
|
73
76
|
- test/helper.rb
|
74
77
|
- test/test_idclight.rb
|
75
|
-
|
76
|
-
homepage: http://github.com/preston/idclight
|
78
|
+
homepage: http://github.com/tgen/idclight
|
77
79
|
licenses: []
|
78
|
-
|
79
80
|
post_install_message:
|
80
|
-
rdoc_options:
|
81
|
-
|
82
|
-
require_paths:
|
81
|
+
rdoc_options: []
|
82
|
+
require_paths:
|
83
83
|
- lib
|
84
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
requirements:
|
93
|
-
- -
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
|
96
|
-
- 0
|
97
|
-
version: "0"
|
84
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
85
|
+
none: false
|
86
|
+
requirements:
|
87
|
+
- - ! '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
91
|
+
none: false
|
92
|
+
requirements:
|
93
|
+
- - ! '>='
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
98
96
|
requirements: []
|
99
|
-
|
100
97
|
rubyforge_project:
|
101
|
-
rubygems_version: 1.
|
98
|
+
rubygems_version: 1.8.21
|
102
99
|
signing_key:
|
103
100
|
specification_version: 3
|
104
101
|
summary: Ruby programmnig interface to the IDCLight online database.
|
105
|
-
test_files:
|
106
|
-
- test/helper.rb
|
107
|
-
- test/test_idclight.rb
|
102
|
+
test_files: []
|