module Rbfam
Constants
- VERSION
Public Class Methods
db()
click to toggle source
# File lib/rbfam.rb, line 17 def self.db DbConfig.instance end
Public Instance Methods
_id()
click to toggle source
# File lib/rbfam/rna.rb, line 44 def _id description.gsub(/\W+/, "_") end
description()
click to toggle source
# File lib/rbfam/rna.rb, line 40 def description "%s/%s-%s" % [accession, from, to] end
gapped_sequence()
click to toggle source
# File lib/rbfam/rna.rb, line 36 def gapped_sequence as_bioseq(read_attribute(:gapped_sequence)) end
Private Instance Methods
as_bioseq(string)
click to toggle source
# File lib/rbfam/rna.rb, line 50 def as_bioseq(string) Bio::Sequence::NA.new(string) end