simple_bioc 0.0.22 → 0.0.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -1
- data/lib/simple_bioc.rb +5 -0
- data/lib/simple_bioc/bioc_writer.rb +0 -1
- data/lib/simple_bioc/document.rb +17 -0
- data/lib/simple_bioc/passage.rb +15 -0
- data/lib/simple_bioc/pub_ann_writer.rb +49 -0
- data/lib/simple_bioc/sentence.rb +8 -0
- data/lib/simple_bioc/version.rb +1 -1
- data/samples/convert_pubann.rb +15 -0
- data/simple_bioc.gemspec +3 -1
- data/spec/pubann_spec.rb +16 -0
- data/xml/pubann/18034444.json +1 -0
- data/xml/pubann/18034444.xml +104 -0
- data/xml/pubann/18045413.json +1 -0
- data/xml/pubann/18045413.xml +87 -0
- data/xml/pubann/18060712.json +1 -0
- data/xml/pubann/18060712.xml +70 -0
- data/xml/pubann/18077952.json +1 -0
- data/xml/pubann/18077952.xml +53 -0
- data/xml/pubann/18176205.json +1 -0
- data/xml/pubann/18176205.xml +36 -0
- metadata +47 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d747ee4c88ad72429a1f73385d8a25d2c297260
|
4
|
+
data.tar.gz: 15d2973d3bfd51bdce07d67830c336755ef843d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 797d456eb13b99d3b80e8290042ef628c917f67f356a46c99637af62c8d29d23a0564bc5ece632ee009549121a034117b5dfcc6864f96a08fd3f871e325fb8c4
|
7
|
+
data.tar.gz: 7743f9e0f76f5eb8935e0c36abd04cebfe2f3a79363b5b662344cf05e68397a0fa2426d61591796dbc407758145cf9a0838fb4ceac9392a2ad32a9ae15d1a151
|
data/README.md
CHANGED
@@ -42,7 +42,15 @@ Traverse & Manipulate Data. Data structure are almost the same as the DTD. Pleas
|
|
42
42
|
Build XML text from data
|
43
43
|
|
44
44
|
puts SimpleBioC::to_xml(collection)
|
45
|
-
|
45
|
+
|
46
|
+
Convert PubAnnotation JSON from data
|
47
|
+
|
48
|
+
puts SimpleBioC::to_pubann(collection, {
|
49
|
+
sourcedb: 'PubMed',
|
50
|
+
target: 'http://pubannotation.org/docs/sourcedb/PubMed/sourceid/18034444',
|
51
|
+
project: 'Ab3P-abbreviations'
|
52
|
+
}))
|
53
|
+
|
46
54
|
## Options
|
47
55
|
|
48
56
|
### Specify set of <document>s to parse
|
data/lib/simple_bioc.rb
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
require "simple_bioc/version"
|
3
3
|
require "simple_bioc/bioc_reader"
|
4
4
|
require "simple_bioc/bioc_writer"
|
5
|
+
require "simple_bioc/pub_ann_writer"
|
5
6
|
|
6
7
|
# SimpleBioC main library
|
7
8
|
module SimpleBioC
|
@@ -80,4 +81,8 @@ module SimpleBioC
|
|
80
81
|
def to_xml(collection, options = {})
|
81
82
|
BioCWriter.write(collection, options)
|
82
83
|
end
|
84
|
+
|
85
|
+
def to_pubann(collection, options = {})
|
86
|
+
PubAnnWriter.write(collection, options)
|
87
|
+
end
|
83
88
|
end
|
data/lib/simple_bioc/document.rb
CHANGED
@@ -34,5 +34,22 @@ module SimpleBioC
|
|
34
34
|
def to_s
|
35
35
|
"Document:#{@id}"
|
36
36
|
end
|
37
|
+
|
38
|
+
def all_texts
|
39
|
+
@passages.map{|p| p.all_texts}.join(" ")
|
40
|
+
end
|
41
|
+
|
42
|
+
def all_annotations
|
43
|
+
ret = []
|
44
|
+
@passages.each{|p| p.all_annotations(ret)}
|
45
|
+
ret
|
46
|
+
end
|
47
|
+
|
48
|
+
def all_relations
|
49
|
+
ret = []
|
50
|
+
@relations.each{|r| ret << r}
|
51
|
+
@passages.each{|p| p.all_relations(ret)}
|
52
|
+
ret
|
53
|
+
end
|
37
54
|
end
|
38
55
|
end
|
data/lib/simple_bioc/passage.rb
CHANGED
@@ -28,5 +28,20 @@ module SimpleBioC
|
|
28
28
|
@relations.each{|r| yield r}
|
29
29
|
@sentences.each{|s| s.each_relation{|r| yield r}}
|
30
30
|
end
|
31
|
+
|
32
|
+
def all_texts
|
33
|
+
return text unless self.text.nil?
|
34
|
+
@sentences.map{|s| s.text}.join(" ")
|
35
|
+
end
|
36
|
+
|
37
|
+
def all_annotations(ret)
|
38
|
+
@annotations.each{|a| ret << a}
|
39
|
+
@sentences.each{|s| s.all_annotations(ret)}
|
40
|
+
end
|
41
|
+
|
42
|
+
def all_relations(ret)
|
43
|
+
@relations.each{|r| ret << r}
|
44
|
+
@sentences.each{|s| s.all_relations(ret)}
|
45
|
+
end
|
31
46
|
end
|
32
47
|
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
require 'jbuilder'
|
2
|
+
|
3
|
+
Dir[File.dirname(__FILE__) + '/*.rb'].each {|file| require file }
|
4
|
+
|
5
|
+
module PubAnnWriter
|
6
|
+
module_function
|
7
|
+
def write(collection, options = {})
|
8
|
+
Jbuilder.new do |json|
|
9
|
+
write_collection(json, collection, options)
|
10
|
+
end.target!
|
11
|
+
end
|
12
|
+
|
13
|
+
def write_collection(json, collection, options)
|
14
|
+
json.array! collection.documents do |d|
|
15
|
+
write_document(json, d, options)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
def write_document(json, document, options)
|
20
|
+
json.sourceid document.id
|
21
|
+
json.sourcedb options[:sourcedb] || ""
|
22
|
+
json.project options[:project] || ""
|
23
|
+
json.target options[:target] || ""
|
24
|
+
json.text document.all_texts
|
25
|
+
json.denotations document.all_annotations do |a|
|
26
|
+
a.locations.each do |l|
|
27
|
+
json.span do
|
28
|
+
json.begin l.offset
|
29
|
+
json.end l.offset + l.length
|
30
|
+
end
|
31
|
+
json.obj a.infons.map{|k,v| v}.join(",")
|
32
|
+
json.id a.id unless a.id.nil?
|
33
|
+
end
|
34
|
+
end
|
35
|
+
json.relations document.all_relations do |r|
|
36
|
+
json.pred r.infons.map{|k,v| v}.join(",")
|
37
|
+
first = true
|
38
|
+
r.nodes.each do |n|
|
39
|
+
if first
|
40
|
+
json.obj n.refid
|
41
|
+
first = false
|
42
|
+
else
|
43
|
+
json.subj n.refid
|
44
|
+
end
|
45
|
+
end
|
46
|
+
json.id r.id unless r.id.nil?
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
data/lib/simple_bioc/sentence.rb
CHANGED
@@ -19,6 +19,14 @@ module SimpleBioC
|
|
19
19
|
@relations.each{|r| yield r}
|
20
20
|
end
|
21
21
|
|
22
|
+
def all_annotations(ret)
|
23
|
+
@annotations.each{|a| ret << a}
|
24
|
+
end
|
25
|
+
|
26
|
+
def all_relations(ret)
|
27
|
+
@relations.each{|r| ret << r}
|
28
|
+
end
|
29
|
+
|
22
30
|
def to_c
|
23
31
|
"Sentence @#{@offset}: #{@text}"
|
24
32
|
end
|
data/lib/simple_bioc/version.rb
CHANGED
@@ -0,0 +1,15 @@
|
|
1
|
+
# print_annotation: print all annotations in the given file
|
2
|
+
|
3
|
+
require 'simple_bioc'
|
4
|
+
|
5
|
+
if ARGF.argv.size < 1
|
6
|
+
puts "usage: ruby print_annotation.rb {filepath}"
|
7
|
+
exit
|
8
|
+
end
|
9
|
+
|
10
|
+
collection = SimpleBioC::from_xml(ARGF.argv[0])
|
11
|
+
puts SimpleBioC::to_xml(collection, {
|
12
|
+
sourcedb: 'PubMed',
|
13
|
+
target: 'http://pubannotation.org/docs/sourcedb/PubMed/sourceid/18034444',
|
14
|
+
project: 'Ab3P-abbreviations'
|
15
|
+
})
|
data/simple_bioc.gemspec
CHANGED
@@ -19,11 +19,13 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
21
|
spec.add_dependency "nokogiri", "~> 1.6"
|
22
|
-
spec.add_dependency "
|
22
|
+
spec.add_dependency "jbuilder", "~> 2.3"
|
23
23
|
|
24
24
|
spec.add_development_dependency "bundler", "~> 1.3"
|
25
25
|
spec.add_development_dependency "rake", "~> 10.3"
|
26
26
|
spec.add_development_dependency "yard", "~> 0.8"
|
27
27
|
spec.add_development_dependency "rspec", "~> 3.2"
|
28
28
|
spec.add_development_dependency("test_xml", ["~> 0.1"])
|
29
|
+
spec.add_development_dependency "json-compare", "~> 0.1"
|
30
|
+
spec.add_development_dependency "yajl-ruby", "~> 1.2"
|
29
31
|
end
|
data/spec/pubann_spec.rb
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'simple_bioc'
|
2
|
+
require 'yajl'
|
3
|
+
require 'json-compare'
|
4
|
+
require 'test_xml/spec'
|
5
|
+
|
6
|
+
describe "PubAnn" do
|
7
|
+
it "should convert file to pubann JSON" do
|
8
|
+
col1 = SimpleBioC.from_xml("./xml/pubann/18034444.xml")
|
9
|
+
output = SimpleBioC.to_pubann(col1, {
|
10
|
+
sourcedb: 'PubMed',
|
11
|
+
target: 'http://pubannotation.org/docs/sourcedb/PubMed/sourceid/18034444',
|
12
|
+
project: 'Ab3P-abbreviations'
|
13
|
+
})
|
14
|
+
puts output
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
{"denotations": [{"span": {"begin": 477, "end": 480}, "obj": "ABBR", "id": "SF0"}, {"span": {"begin": 461, "end": 475}, "obj": "ABBR", "id": "LF0"}, {"span": {"begin": 664, "end": 667}, "obj": "ABBR", "id": "SF1"}, {"span": {"begin": 648, "end": 662}, "obj": "ABBR", "id": "LF1"}, {"span": {"begin": 693, "end": 696}, "obj": "ABBR", "id": "SF2"}, {"span": {"begin": 673, "end": 691}, "obj": "ABBR", "id": "LF2"}, {"span": {"begin": 777, "end": 782}, "obj": "ABBR", "id": "SF3"}, {"span": {"begin": 784, "end": 832}, "obj": "ABBR", "id": "LF3"}, {"span": {"begin": 1351, "end": 1355}, "obj": "ABBR", "id": "SF4"}, {"span": {"begin": 1357, "end": 1389}, "obj": "ABBR", "id": "LF4"}], "target": "http://pubannotation.org/docs/sourcedb/PubMed/sourceid/18034444", "sourceid": "18034444", "sourcedb": "PubMed", "relations": [{"pred": "ShortForm", "obj": "SF0", "subj": "LF0", "id": "R0"}, {"pred": "ShortForm", "obj": "SF1", "subj": "LF1", "id": "R1"}, {"pred": "ShortForm", "obj": "SF2", "subj": "LF2", "id": "R2"}, {"pred": "ShortForm", "obj": "SF3", "subj": "LF3", "id": "R3"}, {"pred": "ShortForm", "obj": "SF4", "subj": "LF4", "id": "R4"}], "project": "Ab3P-abbreviations", "text": "The use of diolefin-containing rhodium precatalysts leads to induction periods in asymmetric hydrogenation of prochiral olefins. Consequently, the reaction rate increases in the beginning. The induction period is caused by the fact that some of the catalyst is blocked by the diolefin and thus not available for hydrogenation of the prochiral olefin. Therefore, the maximum reaction rate cannot be reached initially. Due to the relatively slow hydrogenation of cyclooctadiene (cod) the share of active catalysts increases at first, and this leads to typical induction periods. The aim of this work is to quantify the hydrogenation of the diolefins cyclooctadiene (cod) and norborna-2,5-diene (nbd) for cationic complexes of the type [Rh(ligand)(diolefin)]BF(4) for the ligands Binap (1,1'-binaphthalene-2,2'-diylbis(phenylphosphine)), Me-Duphos (1,2-bis(2,5-dimethylphospholano)benzene, and Catasium in the solvents methanol, THF, and propylene carbonate. Furthermore, an approach is presented to determine the desired rate constant and the resulting respective pre-hydrogenation time from stoichiometric hydrogenations of the diolefin complexes via UV/Vis spectroscopy. This method is especially useful for very slow diolefin hydrogenations (e.g., cod hydrogenation with the ligands Me-Duphos, Et-Duphos (1,2-bis(2,5-diethylphospholano)benzene), and dppe (1,2-bis(diphenylphosphino)ethane)."}
|
@@ -0,0 +1,104 @@
|
|
1
|
+
<?xml version='1.0' encoding='UTF-8'?><!DOCTYPE collection SYSTEM 'BioC.dtd'>
|
2
|
+
<collection>
|
3
|
+
<source>Ab3P gold standard</source>
|
4
|
+
<date>20080529</date>
|
5
|
+
<key>Ab3P_gold.key</key>
|
6
|
+
<document>
|
7
|
+
<id>18034444</id>
|
8
|
+
<passage>
|
9
|
+
<infon key="type">title</infon>
|
10
|
+
<offset>0</offset>
|
11
|
+
<text>Rhodium-Complex-Catalyzed Asymmetric Hydrogenation: Transformation of Precatalysts into Active Species.</text>
|
12
|
+
</passage>
|
13
|
+
<passage>
|
14
|
+
<infon key="type">abstract</infon>
|
15
|
+
<offset>104</offset>
|
16
|
+
<text>The use of diolefin-containing rhodium precatalysts leads to induction periods in asymmetric hydrogenation of prochiral olefins. Consequently, the reaction rate increases in the beginning. The induction period is caused by the fact that some of the catalyst is blocked by the diolefin and thus not available for hydrogenation of the prochiral olefin. Therefore, the maximum reaction rate cannot be reached initially. Due to the relatively slow hydrogenation of cyclooctadiene (cod) the share of active catalysts increases at first, and this leads to typical induction periods. The aim of this work is to quantify the hydrogenation of the diolefins cyclooctadiene (cod) and norborna-2,5-diene (nbd) for cationic complexes of the type [Rh(ligand)(diolefin)]BF(4) for the ligands Binap (1,1'-binaphthalene-2,2'-diylbis(phenylphosphine)), Me-Duphos (1,2-bis(2,5-dimethylphospholano)benzene, and Catasium in the solvents methanol, THF, and propylene carbonate. Furthermore, an approach is presented to determine the desired rate constant and the resulting respective pre-hydrogenation time from stoichiometric hydrogenations of the diolefin complexes via UV/Vis spectroscopy. This method is especially useful for very slow diolefin hydrogenations (e.g., cod hydrogenation with the ligands Me-Duphos, Et-Duphos (1,2-bis(2,5-diethylphospholano)benzene), and dppe (1,2-bis(diphenylphosphino)ethane).</text>
|
17
|
+
<annotation id="SF0">
|
18
|
+
<infon key="type">ABBR</infon>
|
19
|
+
<infon key="ABBR">ShortForm</infon>
|
20
|
+
<location offset="581" length="3"/>
|
21
|
+
<text>cod</text>
|
22
|
+
</annotation>
|
23
|
+
<annotation id="LF0">
|
24
|
+
<infon key="type">ABBR</infon>
|
25
|
+
<infon key="ABBR">LongForm</infon>
|
26
|
+
<location offset="565" length="14"/>
|
27
|
+
<text>cyclooctadiene</text>
|
28
|
+
</annotation>
|
29
|
+
<annotation id="SF1">
|
30
|
+
<infon key="type">ABBR</infon>
|
31
|
+
<infon key="ABBR">ShortForm</infon>
|
32
|
+
<location offset="768" length="3"/>
|
33
|
+
<text>cod</text>
|
34
|
+
</annotation>
|
35
|
+
<annotation id="LF1">
|
36
|
+
<infon key="type">ABBR</infon>
|
37
|
+
<infon key="ABBR">LongForm</infon>
|
38
|
+
<location offset="752" length="14"/>
|
39
|
+
<text>cyclooctadiene</text>
|
40
|
+
</annotation>
|
41
|
+
<annotation id="SF2">
|
42
|
+
<infon key="type">ABBR</infon>
|
43
|
+
<infon key="ABBR">ShortForm</infon>
|
44
|
+
<location offset="797" length="3"/>
|
45
|
+
<text>nbd</text>
|
46
|
+
</annotation>
|
47
|
+
<annotation id="LF2">
|
48
|
+
<infon key="type">ABBR</infon>
|
49
|
+
<infon key="ABBR">LongForm</infon>
|
50
|
+
<location offset="777" length="18"/>
|
51
|
+
<text>norborna-2,5-diene</text>
|
52
|
+
</annotation>
|
53
|
+
<annotation id="SF3">
|
54
|
+
<infon key="type">ABBR</infon>
|
55
|
+
<infon key="ABBR">ShortForm</infon>
|
56
|
+
<location offset="881" length="5"/>
|
57
|
+
<text>Binap</text>
|
58
|
+
</annotation>
|
59
|
+
<annotation id="LF3">
|
60
|
+
<infon key="type">ABBR</infon>
|
61
|
+
<infon key="ABBR">LongForm</infon>
|
62
|
+
<location offset="888" length="48"/>
|
63
|
+
<text>1,1'-binaphthalene-2,2'-diylbis(phenylphosphine)</text>
|
64
|
+
</annotation>
|
65
|
+
<annotation id="SF4">
|
66
|
+
<infon key="type">ABBR</infon>
|
67
|
+
<infon key="ABBR">ShortForm</infon>
|
68
|
+
<location offset="1455" length="4"/>
|
69
|
+
<text>dppe</text>
|
70
|
+
</annotation>
|
71
|
+
<annotation id="LF4">
|
72
|
+
<infon key="type">ABBR</infon>
|
73
|
+
<infon key="ABBR">LongForm</infon>
|
74
|
+
<location offset="1461" length="32"/>
|
75
|
+
<text>1,2-bis(diphenylphosphino)ethane</text>
|
76
|
+
</annotation>
|
77
|
+
<relation id="R0">
|
78
|
+
<infon key="type">ABBR</infon>
|
79
|
+
<node refid="LF0" role="LongForm"/>
|
80
|
+
<node refid="SF0" role="ShortForm"/>
|
81
|
+
</relation>
|
82
|
+
<relation id="R1">
|
83
|
+
<infon key="type">ABBR</infon>
|
84
|
+
<node refid="LF1" role="LongForm"/>
|
85
|
+
<node refid="SF1" role="ShortForm"/>
|
86
|
+
</relation>
|
87
|
+
<relation id="R2">
|
88
|
+
<infon key="type">ABBR</infon>
|
89
|
+
<node refid="LF2" role="LongForm"/>
|
90
|
+
<node refid="SF2" role="ShortForm"/>
|
91
|
+
</relation>
|
92
|
+
<relation id="R3">
|
93
|
+
<infon key="type">ABBR</infon>
|
94
|
+
<node refid="LF3" role="LongForm"/>
|
95
|
+
<node refid="SF3" role="ShortForm"/>
|
96
|
+
</relation>
|
97
|
+
<relation id="R4">
|
98
|
+
<infon key="type">ABBR</infon>
|
99
|
+
<node refid="LF4" role="LongForm"/>
|
100
|
+
<node refid="SF4" role="ShortForm"/>
|
101
|
+
</relation>
|
102
|
+
</passage>
|
103
|
+
</document>
|
104
|
+
</collection>
|
@@ -0,0 +1 @@
|
|
1
|
+
{"denotations": [{"span": {"begin": 59, "end": 62}, "obj": "ABBR", "id": "SF0"}, {"span": {"begin": 44, "end": 57}, "obj": "ABBR", "id": "LF0"}, {"span": {"begin": 86, "end": 89}, "obj": "ABBR", "id": "SF1"}, {"span": {"begin": 64, "end": 84}, "obj": "ABBR", "id": "LF1"}, {"span": {"begin": 867, "end": 872}, "obj": "ABBR", "id": "SF2"}, {"span": {"begin": 848, "end": 865}, "obj": "ABBR", "id": "LF2"}, {"span": {"begin": 928, "end": 936}, "obj": "ABBR", "id": "SF3"}, {"span": {"begin": 909, "end": 926}, "obj": "ABBR", "id": "LF3"}], "target": "http://pubannotation.org/docs/sourcedb/PubMed/sourceid/18045413", "sourceid": "18045413", "sourcedb": "PubMed", "relations": [{"pred": "ShortForm", "obj": "SF0", "subj": "LF0", "id": "R0"}, {"pred": "ShortForm", "obj": "SF1", "subj": "LF1", "id": "R1"}, {"pred": "ShortForm", "obj": "SF2", "subj": "LF2", "id": "R2"}, {"pred": "ShortForm", "obj": "SF3", "subj": "LF3", "id": "R3"}], "project": "Ab3P-abbreviations", "text": "Aim: To evaluate the ability of high-energy ultraviolet A (UVA) light-emitting diode (LED) to inactivate bacteria in water and investigate the inactivating mechanism of UVA irradiation. Methods and Results: We developed a new disinfection device equipped with high-energy UVA-LED. Inactivation of bacteria was determined by colony-forming assay. Vibrio parahaemolyticus, enteropathogenic Escherichia coli, Staphylococcus aureus and Escherichia coli DH5alpha were reduced by greater than 5-log(10) stages within 75 min at 315 J cm(-2) of UVA. Salmonella enteritidis was reduced greater than 4-log(10) stages within 160 min at 672 J cm(-2) of UVA. The formation of 8-hydroxy-2'-deoxyguanosine in UVA-LED irradiated bacteria was 2.6-fold higher than that of UVC-irradiated bacteria at the same inactivation level. Addition of mannitol, a scavenger of hydroxyl radicals (OH( )), or catalase, an enzyme scavenging hydrogen peroxide (H(2)O(2)) to bacterial suspensions significantly suppressed disinfection effect of UVA-LED. Conclusion: This disinfection system has enough ability to inactivate bacteria and OH( ) and H(2)O(2) participates in the disinfection mechanism of UVA irradiation. Significance and Impact of the Study: We newly developed UVA irradiation system and found that UVA alone was able to disinfect the water efficiently. This will become a useful disinfection system."}
|
@@ -0,0 +1,87 @@
|
|
1
|
+
<?xml version='1.0' encoding='UTF-8'?><!DOCTYPE collection SYSTEM 'BioC.dtd'>
|
2
|
+
<collection>
|
3
|
+
<source>Ab3P gold standard</source>
|
4
|
+
<date>20080529</date>
|
5
|
+
<key>Ab3P_gold.key</key>
|
6
|
+
<document>
|
7
|
+
<id>18045413</id>
|
8
|
+
<passage>
|
9
|
+
<infon key="type">title</infon>
|
10
|
+
<offset>0</offset>
|
11
|
+
<text>New water disinfection system using UVA light-emitting diodes.</text>
|
12
|
+
</passage>
|
13
|
+
<passage>
|
14
|
+
<infon key="type">abstract</infon>
|
15
|
+
<offset>63</offset>
|
16
|
+
<text>Aim: To evaluate the ability of high-energy ultraviolet A (UVA) light-emitting diode (LED) to inactivate bacteria in water and investigate the inactivating mechanism of UVA irradiation. Methods and Results: We developed a new disinfection device equipped with high-energy UVA-LED. Inactivation of bacteria was determined by colony-forming assay. Vibrio parahaemolyticus, enteropathogenic Escherichia coli, Staphylococcus aureus and Escherichia coli DH5alpha were reduced by greater than 5-log(10) stages within 75 min at 315 J cm(-2) of UVA. Salmonella enteritidis was reduced greater than 4-log(10) stages within 160 min at 672 J cm(-2) of UVA. The formation of 8-hydroxy-2'-deoxyguanosine in UVA-LED irradiated bacteria was 2.6-fold higher than that of UVC-irradiated bacteria at the same inactivation level. Addition of mannitol, a scavenger of hydroxyl radicals (OH( )), or catalase, an enzyme scavenging hydrogen peroxide (H(2)O(2)) to bacterial suspensions significantly suppressed disinfection effect of UVA-LED. Conclusion: This disinfection system has enough ability to inactivate bacteria and OH( ) and H(2)O(2) participates in the disinfection mechanism of UVA irradiation. Significance and Impact of the Study: We newly developed UVA irradiation system and found that UVA alone was able to disinfect the water efficiently. This will become a useful disinfection system.</text>
|
17
|
+
<annotation id="SF0">
|
18
|
+
<infon key="type">ABBR</infon>
|
19
|
+
<infon key="ABBR">ShortForm</infon>
|
20
|
+
<location offset="122" length="3"/>
|
21
|
+
<text>UVA</text>
|
22
|
+
</annotation>
|
23
|
+
<annotation id="LF0">
|
24
|
+
<infon key="type">ABBR</infon>
|
25
|
+
<infon key="ABBR">LongForm</infon>
|
26
|
+
<location offset="107" length="13"/>
|
27
|
+
<text>ultraviolet A</text>
|
28
|
+
</annotation>
|
29
|
+
<annotation id="SF1">
|
30
|
+
<infon key="type">ABBR</infon>
|
31
|
+
<infon key="ABBR">ShortForm</infon>
|
32
|
+
<location offset="149" length="3"/>
|
33
|
+
<text>LED</text>
|
34
|
+
</annotation>
|
35
|
+
<annotation id="LF1">
|
36
|
+
<infon key="type">ABBR</infon>
|
37
|
+
<infon key="ABBR">LongForm</infon>
|
38
|
+
<location offset="127" length="20"/>
|
39
|
+
<text>light-emitting diode</text>
|
40
|
+
</annotation>
|
41
|
+
<annotation id="SF2">
|
42
|
+
<infon key="type">ABBR</infon>
|
43
|
+
<infon key="ABBR">ShortForm</infon>
|
44
|
+
<location offset="930" length="5"/>
|
45
|
+
<text>OH( )</text>
|
46
|
+
</annotation>
|
47
|
+
<annotation id="LF2">
|
48
|
+
<infon key="type">ABBR</infon>
|
49
|
+
<infon key="ABBR">LongForm</infon>
|
50
|
+
<location offset="911" length="17"/>
|
51
|
+
<text>hydroxyl radicals</text>
|
52
|
+
</annotation>
|
53
|
+
<annotation id="SF3">
|
54
|
+
<infon key="type">ABBR</infon>
|
55
|
+
<infon key="ABBR">ShortForm</infon>
|
56
|
+
<location offset="991" length="8"/>
|
57
|
+
<text>H(2)O(2)</text>
|
58
|
+
</annotation>
|
59
|
+
<annotation id="LF3">
|
60
|
+
<infon key="type">ABBR</infon>
|
61
|
+
<infon key="ABBR">LongForm</infon>
|
62
|
+
<location offset="972" length="17"/>
|
63
|
+
<text>hydrogen peroxide</text>
|
64
|
+
</annotation>
|
65
|
+
<relation id="R0">
|
66
|
+
<infon key="type">ABBR</infon>
|
67
|
+
<node refid="LF0" role="LongForm"/>
|
68
|
+
<node refid="SF0" role="ShortForm"/>
|
69
|
+
</relation>
|
70
|
+
<relation id="R1">
|
71
|
+
<infon key="type">ABBR</infon>
|
72
|
+
<node refid="LF1" role="LongForm"/>
|
73
|
+
<node refid="SF1" role="ShortForm"/>
|
74
|
+
</relation>
|
75
|
+
<relation id="R2">
|
76
|
+
<infon key="type">ABBR</infon>
|
77
|
+
<node refid="LF2" role="LongForm"/>
|
78
|
+
<node refid="SF2" role="ShortForm"/>
|
79
|
+
</relation>
|
80
|
+
<relation id="R3">
|
81
|
+
<infon key="type">ABBR</infon>
|
82
|
+
<node refid="LF3" role="LongForm"/>
|
83
|
+
<node refid="SF3" role="ShortForm"/>
|
84
|
+
</relation>
|
85
|
+
</passage>
|
86
|
+
</document>
|
87
|
+
</collection>
|
@@ -0,0 +1 @@
|
|
1
|
+
{"denotations": [{"span": {"begin": 30, "end": 34}, "obj": "ABBR", "id": "SF0"}, {"span": {"begin": 14, "end": 28}, "obj": "ABBR", "id": "LF0"}, {"span": {"begin": 342, "end": 346}, "obj": "ABBR", "id": "SF1"}, {"span": {"begin": 312, "end": 340}, "obj": "ABBR", "id": "LF1"}, {"span": {"begin": 641, "end": 645}, "obj": "ABBR", "id": "SF2"}, {"span": {"begin": 599, "end": 639}, "obj": "ABBR", "id": "LF2"}], "target": "http://pubannotation.org/docs/sourcedb/PubMed/sourceid/18060712", "sourceid": "18060712", "sourcedb": "PubMed", "relations": [{"pred": "ShortForm", "obj": "SF0", "subj": "LF0", "id": "R0"}, {"pred": "ShortForm", "obj": "SF1", "subj": "LF1", "id": "R1"}, {"pred": "ShortForm", "obj": "SF2", "subj": "LF2", "id": "R2"}], "project": "Ab3P-abbreviations", "text": "Resting-state functional MRI (fMRI) could be an advantageous choice for clinical applications by virtue of its clinical convenience and non-invasiveness. Without explicit stimulus, resting-state brain activity patterns cannot be obtained using any model-driven method. In this study, we advanced a measure named resting-state activity index (RSAI) to evaluate the resting-state brain activities. Using RSAI, we first investigated the resting-state brain activity patterns in normal adolescents to test the validity of this RSAI measure. Then we compared the resting-state brain activity patterns of Attention deficit hyperactivity disorder (ADHD) patients to those of their matched controls. According to the resultant brain activity patterns, we suggest that RSAI could be an applicable measure to evaluate resting-state brain activities. As compared to the controls, the ADHD patients exhibited more significant resting-state activities in basic sensory and sensory-related cortices. This finding was in accordance with ADHD symptoms of inattention."}
|
@@ -0,0 +1,70 @@
|
|
1
|
+
<?xml version='1.0' encoding='UTF-8'?><!DOCTYPE collection SYSTEM 'BioC.dtd'>
|
2
|
+
<collection>
|
3
|
+
<source>Ab3P gold standard</source>
|
4
|
+
<date>20080529</date>
|
5
|
+
<key>Ab3P_gold.key</key>
|
6
|
+
<document>
|
7
|
+
<id>18060712</id>
|
8
|
+
<passage>
|
9
|
+
<infon key="type">title</infon>
|
10
|
+
<offset>0</offset>
|
11
|
+
<text>Enhanced resting-state brain activities in ADHD patients: A fMRI study.</text>
|
12
|
+
</passage>
|
13
|
+
<passage>
|
14
|
+
<infon key="type">abstract</infon>
|
15
|
+
<offset>72</offset>
|
16
|
+
<text>Resting-state functional MRI (fMRI) could be an advantageous choice for clinical applications by virtue of its clinical convenience and non-invasiveness. Without explicit stimulus, resting-state brain activity patterns cannot be obtained using any model-driven method. In this study, we advanced a measure named resting-state activity index (RSAI) to evaluate the resting-state brain activities. Using RSAI, we first investigated the resting-state brain activity patterns in normal adolescents to test the validity of this RSAI measure. Then we compared the resting-state brain activity patterns of Attention deficit hyperactivity disorder (ADHD) patients to those of their matched controls. According to the resultant brain activity patterns, we suggest that RSAI could be an applicable measure to evaluate resting-state brain activities. As compared to the controls, the ADHD patients exhibited more significant resting-state activities in basic sensory and sensory-related cortices. This finding was in accordance with ADHD symptoms of inattention.</text>
|
17
|
+
<annotation id="SF0">
|
18
|
+
<infon key="type">ABBR</infon>
|
19
|
+
<infon key="ABBR">ShortForm</infon>
|
20
|
+
<location offset="102" length="4"/>
|
21
|
+
<text>fMRI</text>
|
22
|
+
</annotation>
|
23
|
+
<annotation id="LF0">
|
24
|
+
<infon key="type">ABBR</infon>
|
25
|
+
<infon key="ABBR">LongForm</infon>
|
26
|
+
<location offset="86" length="14"/>
|
27
|
+
<text>functional MRI</text>
|
28
|
+
</annotation>
|
29
|
+
<annotation id="SF1">
|
30
|
+
<infon key="type">ABBR</infon>
|
31
|
+
<infon key="ABBR">ShortForm</infon>
|
32
|
+
<location offset="414" length="4"/>
|
33
|
+
<text>RSAI</text>
|
34
|
+
</annotation>
|
35
|
+
<annotation id="LF1">
|
36
|
+
<infon key="type">ABBR</infon>
|
37
|
+
<infon key="ABBR">LongForm</infon>
|
38
|
+
<location offset="384" length="28"/>
|
39
|
+
<text>resting-state activity index</text>
|
40
|
+
</annotation>
|
41
|
+
<annotation id="SF2">
|
42
|
+
<infon key="type">ABBR</infon>
|
43
|
+
<infon key="ABBR">ShortForm</infon>
|
44
|
+
<location offset="713" length="4"/>
|
45
|
+
<text>ADHD</text>
|
46
|
+
</annotation>
|
47
|
+
<annotation id="LF2">
|
48
|
+
<infon key="type">ABBR</infon>
|
49
|
+
<infon key="ABBR">LongForm</infon>
|
50
|
+
<location offset="671" length="40"/>
|
51
|
+
<text>Attention deficit hyperactivity disorder</text>
|
52
|
+
</annotation>
|
53
|
+
<relation id="R0">
|
54
|
+
<infon key="type">ABBR</infon>
|
55
|
+
<node refid="LF0" role="LongForm"/>
|
56
|
+
<node refid="SF0" role="ShortForm"/>
|
57
|
+
</relation>
|
58
|
+
<relation id="R1">
|
59
|
+
<infon key="type">ABBR</infon>
|
60
|
+
<node refid="LF1" role="LongForm"/>
|
61
|
+
<node refid="SF1" role="ShortForm"/>
|
62
|
+
</relation>
|
63
|
+
<relation id="R2">
|
64
|
+
<infon key="type">ABBR</infon>
|
65
|
+
<node refid="LF2" role="LongForm"/>
|
66
|
+
<node refid="SF2" role="ShortForm"/>
|
67
|
+
</relation>
|
68
|
+
</passage>
|
69
|
+
</document>
|
70
|
+
</collection>
|
@@ -0,0 +1 @@
|
|
1
|
+
{"denotations": [{"span": {"begin": 105, "end": 108}, "obj": "ABBR", "id": "SF0"}, {"span": {"begin": 76, "end": 103}, "obj": "ABBR", "id": "LF0"}, {"span": {"begin": 210, "end": 212}, "obj": "ABBR", "id": "SF1"}, {"span": {"begin": 188, "end": 208}, "obj": "ABBR", "id": "LF1"}], "target": "http://pubannotation.org/docs/sourcedb/PubMed/sourceid/18077952", "sourceid": "18077952", "sourcedb": "PubMed", "relations": [{"pred": "ShortForm", "obj": "SF0", "subj": "LF0", "id": "R0"}, {"pred": "ShortForm", "obj": "SF1", "subj": "LF1", "id": "R1"}], "project": "Ab3P-abbreviations", "text": "OBJECT: The purpose of this study was to evaluate the long-term efficacy of microvascular decompression (MVD) and to identify the factors affecting outcome in patients treated for primary trigeminal neuralgia (TN). Only the cases with a clear-cut neurovascular conflict (vascular contact and/or compression of the root entry zone of the trigeminal nerve) found at surgery and treated with \"pure\" MVD (decompression of the root without any additional lesioning or cutting of the adjacent rootlets) were retained. METHODS: The study included 362 patients who were followed up over a period of 1 to 18 years (median follow-up 7.2 years). A Kaplan-Meier survival analysis was generated at 1 and 15 years of follow-up for all of the considered factors. According to Kaplan-Meier analysis, the success rate (defined as pain-free patients without any medication) was 91% at 1 year and estimated to be 73.38% after 15 years of follow-up. RESULTS: None of the following patient-related factors played any significant role in prognosis: sex, patient age at surgery, history of systemic hypertension, duration of neuralgia before surgery, or history of failed trigeminal surgery. Patients with atypical neuralgia (a baseline of permanent pain) had the same outcome as those with a typical (purely spasmodic) presentation. In addition, the side and topography of the trigeminal nerve did not play a role, whereas involvement of all three divisions of the nerve had a negative effect on outcome. Concerning anatomical factors, neither the type of the compressive vessel nor its location along or around the root was found to be significant. However, the severity of compression was important-the more severe the degree of compression, the better the outcome (p = 0.002). The authors also found that presence of focal arachnoiditis had a negative influence on outcome (p = 0.002). CONCLUSIONS: Pure MVD can offer patients affected by a primary TN a 73.38% probability of long-term (15 years) cure of neuralgia. The presence of a clear-cut and marked vascular compression at surgery (and possibly-although not yet reliably--on preoperative magnetic resonance imaging) is the guarantee of a higher than 90% success rate."}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
<?xml version='1.0' encoding='UTF-8'?><!DOCTYPE collection SYSTEM 'BioC.dtd'>
|
2
|
+
<collection>
|
3
|
+
<source>Ab3P gold standard</source>
|
4
|
+
<date>20080529</date>
|
5
|
+
<key>Ab3P_gold.key</key>
|
6
|
+
<document>
|
7
|
+
<id>18077952</id>
|
8
|
+
<passage>
|
9
|
+
<infon key="type">title</infon>
|
10
|
+
<offset>0</offset>
|
11
|
+
<text>Microvascular decompression for primary trigeminal neuralgia: long-term effectiveness and prognostic factors in a series of 362 consecutive patients with clear-cut neurovascular conflicts who underwent pure decompression.</text>
|
12
|
+
</passage>
|
13
|
+
<passage>
|
14
|
+
<infon key="type">abstract</infon>
|
15
|
+
<offset>222</offset>
|
16
|
+
<text>OBJECT: The purpose of this study was to evaluate the long-term efficacy of microvascular decompression (MVD) and to identify the factors affecting outcome in patients treated for primary trigeminal neuralgia (TN). Only the cases with a clear-cut neurovascular conflict (vascular contact and/or compression of the root entry zone of the trigeminal nerve) found at surgery and treated with "pure" MVD (decompression of the root without any additional lesioning or cutting of the adjacent rootlets) were retained. METHODS: The study included 362 patients who were followed up over a period of 1 to 18 years (median follow-up 7.2 years). A Kaplan-Meier survival analysis was generated at 1 and 15 years of follow-up for all of the considered factors. According to Kaplan-Meier analysis, the success rate (defined as pain-free patients without any medication) was 91% at 1 year and estimated to be 73.38% after 15 years of follow-up. RESULTS: None of the following patient-related factors played any significant role in prognosis: sex, patient age at surgery, history of systemic hypertension, duration of neuralgia before surgery, or history of failed trigeminal surgery. Patients with atypical neuralgia (a baseline of permanent pain) had the same outcome as those with a typical (purely spasmodic) presentation. In addition, the side and topography of the trigeminal nerve did not play a role, whereas involvement of all three divisions of the nerve had a negative effect on outcome. Concerning anatomical factors, neither the type of the compressive vessel nor its location along or around the root was found to be significant. However, the severity of compression was important-the more severe the degree of compression, the better the outcome (p = 0.002). The authors also found that presence of focal arachnoiditis had a negative influence on outcome (p = 0.002). CONCLUSIONS: Pure MVD can offer patients affected by a primary TN a 73.38% probability of long-term (15 years) cure of neuralgia. The presence of a clear-cut and marked vascular compression at surgery (and possibly-although not yet reliably--on preoperative magnetic resonance imaging) is the guarantee of a higher than 90% success rate.</text>
|
17
|
+
<annotation id="SF0">
|
18
|
+
<infon key="type">ABBR</infon>
|
19
|
+
<infon key="ABBR">ShortForm</infon>
|
20
|
+
<location offset="327" length="3"/>
|
21
|
+
<text>MVD</text>
|
22
|
+
</annotation>
|
23
|
+
<annotation id="LF0">
|
24
|
+
<infon key="type">ABBR</infon>
|
25
|
+
<infon key="ABBR">LongForm</infon>
|
26
|
+
<location offset="298" length="27"/>
|
27
|
+
<text>microvascular decompression</text>
|
28
|
+
</annotation>
|
29
|
+
<annotation id="SF1">
|
30
|
+
<infon key="type">ABBR</infon>
|
31
|
+
<infon key="ABBR">ShortForm</infon>
|
32
|
+
<location offset="432" length="2"/>
|
33
|
+
<text>TN</text>
|
34
|
+
</annotation>
|
35
|
+
<annotation id="LF1">
|
36
|
+
<infon key="type">ABBR</infon>
|
37
|
+
<infon key="ABBR">LongForm</infon>
|
38
|
+
<location offset="410" length="20"/>
|
39
|
+
<text>trigeminal neuralgia</text>
|
40
|
+
</annotation>
|
41
|
+
<relation id="R0">
|
42
|
+
<infon key="type">ABBR</infon>
|
43
|
+
<node refid="LF0" role="LongForm"/>
|
44
|
+
<node refid="SF0" role="ShortForm"/>
|
45
|
+
</relation>
|
46
|
+
<relation id="R1">
|
47
|
+
<infon key="type">ABBR</infon>
|
48
|
+
<node refid="LF1" role="LongForm"/>
|
49
|
+
<node refid="SF1" role="ShortForm"/>
|
50
|
+
</relation>
|
51
|
+
</passage>
|
52
|
+
</document>
|
53
|
+
</collection>
|
@@ -0,0 +1 @@
|
|
1
|
+
{"denotations": [{"span": {"begin": 673, "end": 676}, "obj": "ABBR", "id": "SF0"}, {"span": {"begin": 617, "end": 671}, "obj": "ABBR", "id": "LF0"}], "target": "http://pubannotation.org/docs/sourcedb/PubMed/sourceid/18176205", "sourceid": "18176205", "sourcedb": "PubMed", "relations": [{"pred": "ShortForm", "obj": "SF0", "subj": "LF0", "id": "R0"}], "project": "Ab3P-abbreviations", "text": "BACKGROUND:: Flap necrosis caused by inadequate blood supply is a common postoperative complication in reconstructive surgery. Because a putative stem cell population within the adipose tissue has been found to possess angiogenic potential, the authors sought to determine whether these cells might selectively induce neovascularization and increase the viability of random pattern skin flaps. METHODS:: Adipose-derived stem cells were isolated from the inguinal fat pads of ICR mice and expanded ex vivo for three passages. After the elevation of cranially based random pattern skin flaps (3 cm long and 1 cm wide), 1,1'-dioctadecyl-3,3,3',3'-tetramethylindocarbocyanine (DiI)-labeled adipose-derived stem cells were then injected into the pedicle base (group A) or 1.5 cm distal to the pedicle (group B). Medium containing no adipose-derived stem cells, mature adipocytes, or basic fibroblast growth factor were injected in three other control groups separately. (n = 10 for each group). Millimetric measurements were taken at postoperative day 7 for evaluation of flap viability. Specimens were harvested for histologic analyses. RESULTS:: Adipose-derived stem cells led to a statistically significant increase in flap viability in both group A and group B compared with the control and the adipocyte groups. Histologic examination also demonstrated a statistically significant increase in capillary density in both group A and group B. Moreover, some of the endothelial cells were stained positively for DiI. CONCLUSIONS:: These findings suggest that adipose-derived stem cells have a potential for enhancing the blood supply of random pattern skin flaps. This mechanism might be both the direct differentiation of adipose-derived stem cells into endothelial cells and the indirect effect of angiogenic growth factor released from adipose-derived stem cells."}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
<?xml version='1.0' encoding='UTF-8'?><!DOCTYPE collection SYSTEM 'BioC.dtd'>
|
2
|
+
<collection>
|
3
|
+
<source>Ab3P gold standard</source>
|
4
|
+
<date>20080529</date>
|
5
|
+
<key>Ab3P_gold.key</key>
|
6
|
+
<document>
|
7
|
+
<id>18176205</id>
|
8
|
+
<passage>
|
9
|
+
<infon key="type">title</infon>
|
10
|
+
<offset>0</offset>
|
11
|
+
<text>Improved Viability of Random Pattern Skin Flaps through the Use of Adipose-Derived Stem Cells.</text>
|
12
|
+
</passage>
|
13
|
+
<passage>
|
14
|
+
<infon key="type">abstract</infon>
|
15
|
+
<offset>95</offset>
|
16
|
+
<text>BACKGROUND:: Flap necrosis caused by inadequate blood supply is a common postoperative complication in reconstructive surgery. Because a putative stem cell population within the adipose tissue has been found to possess angiogenic potential, the authors sought to determine whether these cells might selectively induce neovascularization and increase the viability of random pattern skin flaps. METHODS:: Adipose-derived stem cells were isolated from the inguinal fat pads of ICR mice and expanded ex vivo for three passages. After the elevation of cranially based random pattern skin flaps (3 cm long and 1 cm wide), 1,1'-dioctadecyl-3,3,3',3'-tetramethylindocarbocyanine (DiI)-labeled adipose-derived stem cells were then injected into the pedicle base (group A) or 1.5 cm distal to the pedicle (group B). Medium containing no adipose-derived stem cells, mature adipocytes, or basic fibroblast growth factor were injected in three other control groups separately. (n = 10 for each group). Millimetric measurements were taken at postoperative day 7 for evaluation of flap viability. Specimens were harvested for histologic analyses. RESULTS:: Adipose-derived stem cells led to a statistically significant increase in flap viability in both group A and group B compared with the control and the adipocyte groups. Histologic examination also demonstrated a statistically significant increase in capillary density in both group A and group B. Moreover, some of the endothelial cells were stained positively for DiI. CONCLUSIONS:: These findings suggest that adipose-derived stem cells have a potential for enhancing the blood supply of random pattern skin flaps. This mechanism might be both the direct differentiation of adipose-derived stem cells into endothelial cells and the indirect effect of angiogenic growth factor released from adipose-derived stem cells.</text>
|
17
|
+
<annotation id="SF0">
|
18
|
+
<infon key="type">ABBR</infon>
|
19
|
+
<infon key="ABBR">ShortForm</infon>
|
20
|
+
<location offset="768" length="3"/>
|
21
|
+
<text>DiI</text>
|
22
|
+
</annotation>
|
23
|
+
<annotation id="LF0">
|
24
|
+
<infon key="type">ABBR</infon>
|
25
|
+
<infon key="ABBR">LongForm</infon>
|
26
|
+
<location offset="712" length="54"/>
|
27
|
+
<text>1,1'-dioctadecyl-3,3,3',3'-tetramethylindocarbocyanine</text>
|
28
|
+
</annotation>
|
29
|
+
<relation id="R0">
|
30
|
+
<infon key="type">ABBR</infon>
|
31
|
+
<node refid="LF0" role="LongForm"/>
|
32
|
+
<node refid="SF0" role="ShortForm"/>
|
33
|
+
</relation>
|
34
|
+
</passage>
|
35
|
+
</document>
|
36
|
+
</collection>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_bioc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dongseop Kwon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -25,19 +25,19 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.6'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: jbuilder
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '3
|
33
|
+
version: '2.3'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '3
|
40
|
+
version: '2.3'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,6 +108,34 @@ dependencies:
|
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0.1'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: json-compare
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0.1'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0.1'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: yajl-ruby
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '1.2'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '1.2'
|
111
139
|
description: SimpleBioC is a simple parser / builder for BioC data format. BioC is
|
112
140
|
a simple XML format to share text documents and annotations. You can find more information
|
113
141
|
about BioC from the official BioC web site (http://www.ncbi.nlm.nih.gov/CBBresearch/Dogan/BioC/)
|
@@ -193,13 +221,16 @@ files:
|
|
193
221
|
- lib/simple_bioc/node.rb
|
194
222
|
- lib/simple_bioc/node_base.rb
|
195
223
|
- lib/simple_bioc/passage.rb
|
224
|
+
- lib/simple_bioc/pub_ann_writer.rb
|
196
225
|
- lib/simple_bioc/relation.rb
|
197
226
|
- lib/simple_bioc/sentence.rb
|
198
227
|
- lib/simple_bioc/version.rb
|
228
|
+
- samples/convert_pubann.rb
|
199
229
|
- samples/print_annotation.rb
|
200
230
|
- samples/sample1.rb
|
201
231
|
- simple_bioc.gemspec
|
202
232
|
- spec/file_check_spec.rb
|
233
|
+
- spec/pubann_spec.rb
|
203
234
|
- spec/simple_bioc_spec.rb
|
204
235
|
- xml/10330397_gene.xml
|
205
236
|
- xml/10330397_ppimention.xml
|
@@ -232,6 +263,16 @@ files:
|
|
232
263
|
- xml/output.xml
|
233
264
|
- xml/pos.key
|
234
265
|
- xml/pos.xml
|
266
|
+
- xml/pubann/18034444.json
|
267
|
+
- xml/pubann/18034444.xml
|
268
|
+
- xml/pubann/18045413.json
|
269
|
+
- xml/pubann/18045413.xml
|
270
|
+
- xml/pubann/18060712.json
|
271
|
+
- xml/pubann/18060712.xml
|
272
|
+
- xml/pubann/18077952.json
|
273
|
+
- xml/pubann/18077952.xml
|
274
|
+
- xml/pubann/18176205.json
|
275
|
+
- xml/pubann/18176205.xml
|
235
276
|
- xml/sentence.key
|
236
277
|
- xml/sentence.xml
|
237
278
|
homepage: https://github.com/dongseop/simple_bioc
|
@@ -260,5 +301,6 @@ specification_version: 4
|
|
260
301
|
summary: Simple BioC parser/builder for ruby
|
261
302
|
test_files:
|
262
303
|
- spec/file_check_spec.rb
|
304
|
+
- spec/pubann_spec.rb
|
263
305
|
- spec/simple_bioc_spec.rb
|
264
306
|
has_rdoc:
|