class Rbfam::Rna

Public Instance Methods

minus_strand?() click to toggle source
# File lib/rbfam/rna.rb, line 20
def minus_strand?
  !plus_strand?
end
plus_strand?() click to toggle source
# File lib/rbfam/rna.rb, line 16
def plus_strand?
  to > from
end
seq_from() click to toggle source
# File lib/rbfam/rna.rb, line 24
def seq_from
  [from, to].min
end
seq_to() click to toggle source
# File lib/rbfam/rna.rb, line 28
def seq_to
  [from, to].max
end
strand() click to toggle source
# File lib/rbfam/rna.rb, line 12
def strand
  plus_strand? ? :plus : :minus
end