Class: Bio::GFFbrowser::Digest::NoCacheHelpers::SeekLinkedRecs

Inherits:
Hash
  • Object
show all
Includes:
Helpers::Logger
Defined in:
lib/bio/db/gff/digest/gffnocache.rb

Overview

List of ids

Instance Method Summary collapse

Methods included from Helpers::Logger

#debug, #error, #info, #log_sys_info, #warn

Instance Method Details

#add(id, rec) ⇒ Object



65
66
67
68
69
70
# File 'lib/bio/db/gff/digest/gffnocache.rb', line 65

def add id, rec
  info "Adding #{rec.feature_type} (nocache)",id
  raise "ID should not be empty" if id == nil or id == ""
  self[id] = [] if self[id] == nil
  self[id] << rec.io_seek
end

#validate_nonoverlappingObject

validation is switched off for NoCache



75
76
# File 'lib/bio/db/gff/digest/gffnocache.rb', line 75

def validate_nonoverlapping
end

#validate_seqnameObject

validation is switched off for NoCache



72
73
# File 'lib/bio/db/gff/digest/gffnocache.rb', line 72

def validate_seqname
end

#validate_shared_parentObject

validation is switched off for NoCache



78
79
# File 'lib/bio/db/gff/digest/gffnocache.rb', line 78

def validate_shared_parent
end