bio-rdf 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -20,7 +20,7 @@ Jeweler::Tasks.new do |gem|
20
20
  gem.summary = %Q{Bioinformatics triple-store support}
21
21
  gem.description = %Q{Store relationships in a triple-store, such as gene enrichment and QTL, and use this information for inference and causality}
22
22
  gem.email = "pjotr.public01@thebird.nl"
23
- gem.authors = ["Pjotr Prins", "Anurag Priyam"]
23
+ gem.authors = ["Pjotr Prins"]
24
24
  # dependencies defined in Gemfile
25
25
  end
26
26
  Jeweler::RubygemsDotOrgTasks.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
@@ -135,9 +135,12 @@ module BioRdf
135
135
  Dir.foreach(input) do |entry| # two step search, because of many dirs
136
136
  next if entry == '.' or entry == '..'
137
137
  log.info("Parsing directory "+entry)
138
- resultfilenames = File.join(input,entry,"*SUMMARY.RESULTS.REPORT.[01].txt")
139
- clsfilename = File.join(input,entry,"cls")
138
+ clsfilename = File.join(input,entry,"*cls")
139
+ clsfilename = Dir.glob(clsfilename)
140
+ raise "We need one cls file: #{clsfilename}" if clsfilename.size != 1
141
+ clsfilename = clsfilename[0]
140
142
  # log.info(resultfilenames)
143
+ resultfilenames = File.join(input,entry,"*SUMMARY.RESULTS.REPORT.[01].txt")
141
144
  Dir.glob(resultfilenames) do |fn|
142
145
  genotype = "A"
143
146
  genotype = "B" if fn =~ /1.txt/
metadata CHANGED
@@ -1,20 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bio-rdf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Pjotr Prins
9
- - Anurag Priyam
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2012-05-01 00:00:00.000000000Z
12
+ date: 2012-05-23 00:00:00.000000000Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: bio-logger
17
- requirement: &15565000 !ruby/object:Gem::Requirement
16
+ requirement: &25421560 !ruby/object:Gem::Requirement
18
17
  none: false
19
18
  requirements:
20
19
  - - ! '>='
@@ -22,10 +21,10 @@ dependencies:
22
21
  version: '0'
23
22
  type: :runtime
24
23
  prerelease: false
25
- version_requirements: *15565000
24
+ version_requirements: *25421560
26
25
  - !ruby/object:Gem::Dependency
27
26
  name: shoulda
28
- requirement: &15564160 !ruby/object:Gem::Requirement
27
+ requirement: &25421080 !ruby/object:Gem::Requirement
29
28
  none: false
30
29
  requirements:
31
30
  - - ! '>='
@@ -33,10 +32,10 @@ dependencies:
33
32
  version: '0'
34
33
  type: :development
35
34
  prerelease: false
36
- version_requirements: *15564160
35
+ version_requirements: *25421080
37
36
  - !ruby/object:Gem::Dependency
38
37
  name: rspec
39
- requirement: &15562720 !ruby/object:Gem::Requirement
38
+ requirement: &25420540 !ruby/object:Gem::Requirement
40
39
  none: false
41
40
  requirements:
42
41
  - - ! '>='
@@ -44,10 +43,10 @@ dependencies:
44
43
  version: '0'
45
44
  type: :development
46
45
  prerelease: false
47
- version_requirements: *15562720
46
+ version_requirements: *25420540
48
47
  - !ruby/object:Gem::Dependency
49
48
  name: cucumber
50
- requirement: &15560480 !ruby/object:Gem::Requirement
49
+ requirement: &25420000 !ruby/object:Gem::Requirement
51
50
  none: false
52
51
  requirements:
53
52
  - - ! '>='
@@ -55,10 +54,10 @@ dependencies:
55
54
  version: '0'
56
55
  type: :development
57
56
  prerelease: false
58
- version_requirements: *15560480
57
+ version_requirements: *25420000
59
58
  - !ruby/object:Gem::Dependency
60
59
  name: rdoc
61
- requirement: &15559440 !ruby/object:Gem::Requirement
60
+ requirement: &25419480 !ruby/object:Gem::Requirement
62
61
  none: false
63
62
  requirements:
64
63
  - - ~>
@@ -66,10 +65,10 @@ dependencies:
66
65
  version: '3.12'
67
66
  type: :development
68
67
  prerelease: false
69
- version_requirements: *15559440
68
+ version_requirements: *25419480
70
69
  - !ruby/object:Gem::Dependency
71
70
  name: bundler
72
- requirement: &15558220 !ruby/object:Gem::Requirement
71
+ requirement: &25418940 !ruby/object:Gem::Requirement
73
72
  none: false
74
73
  requirements:
75
74
  - - ! '>='
@@ -77,10 +76,10 @@ dependencies:
77
76
  version: 1.0.0
78
77
  type: :development
79
78
  prerelease: false
80
- version_requirements: *15558220
79
+ version_requirements: *25418940
81
80
  - !ruby/object:Gem::Dependency
82
81
  name: jeweler
83
- requirement: &15557260 !ruby/object:Gem::Requirement
82
+ requirement: &25415260 !ruby/object:Gem::Requirement
84
83
  none: false
85
84
  requirements:
86
85
  - - ~>
@@ -88,10 +87,10 @@ dependencies:
88
87
  version: 1.8.3
89
88
  type: :development
90
89
  prerelease: false
91
- version_requirements: *15557260
90
+ version_requirements: *25415260
92
91
  - !ruby/object:Gem::Dependency
93
92
  name: bio
94
- requirement: &15515240 !ruby/object:Gem::Requirement
93
+ requirement: &25414540 !ruby/object:Gem::Requirement
95
94
  none: false
96
95
  requirements:
97
96
  - - ! '>='
@@ -99,10 +98,10 @@ dependencies:
99
98
  version: 1.4.2
100
99
  type: :development
101
100
  prerelease: false
102
- version_requirements: *15515240
101
+ version_requirements: *25414540
103
102
  - !ruby/object:Gem::Dependency
104
103
  name: rdoc
105
- requirement: &15514680 !ruby/object:Gem::Requirement
104
+ requirement: &25413440 !ruby/object:Gem::Requirement
106
105
  none: false
107
106
  requirements:
108
107
  - - ~>
@@ -110,7 +109,7 @@ dependencies:
110
109
  version: '3.12'
111
110
  type: :development
112
111
  prerelease: false
113
- version_requirements: *15514680
112
+ version_requirements: *25413440
114
113
  description: Store relationships in a triple-store, such as gene enrichment and QTL,
115
114
  and use this information for inference and causality
116
115
  email: pjotr.public01@thebird.nl
@@ -158,7 +157,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
158
157
  version: '0'
159
158
  segments:
160
159
  - 0
161
- hash: 4447990018592781869
160
+ hash: 4202591751013078134
162
161
  required_rubygems_version: !ruby/object:Gem::Requirement
163
162
  none: false
164
163
  requirements: