Class: Bio::DAS

Inherits:
Object show all
Defined in:
lib/bio/shell/plugin/das.rb

Instance Method Summary collapse

Instance Method Details

#list_sequencesObject



14
15
16
17
18
19
20
21
22
23
24
25
# File 'lib/bio/shell/plugin/das.rb', line 14

def list_sequences
  result = ""
  self.get_dsn.each do |dsn|
    src = dsn.source_id
    self.get_entry_points(src).each do |ep|
      data = [src, ep.entry_id, ep.start.to_i, ep.stop.to_i, "# #{ep.description}"].join("\t") + "\n"
      puts data
      result += data
    end
  end
  return result
end