Module: AnnotID
- Extended by:
- Entity
- Includes:
- SegID
- Defined in:
- lib/rbbt/segment/annotation.rb
Instance Method Summary
collapse
Methods included from SegID
#docid, #eend, #offset, #range, #segment_length
collisions, #includes?, #make_relative, #overlaps, #overlaps?, #pull, #push, #range_in
Instance Method Details
#_parts ⇒ Object
10
11
12
|
# File 'lib/rbbt/segment/annotation.rb', line 10
def _parts
@parts ||= self.split(":")
end
|
#segid ⇒ Object
14
15
16
|
# File 'lib/rbbt/segment/annotation.rb', line 14
def segid
@segid ||= _parts[0..4] * ":"
end
|
#type ⇒ Object
18
19
20
|
# File 'lib/rbbt/segment/annotation.rb', line 18
def type
@type ||= _parts[5]
end
|