Method: Bio::Alignment::PropertyMethods#seqclass
- Defined in:
- lib/bio/alignment.rb
#seqclass ⇒ Object
Returns class of the sequence. If instance variable @seqclass (which can be set by ‘seqclass=’ method) is set, simply returns the value. Otherwise, returns the first sequence’s class. If no sequences are found, returns nil.
120 121 122 |
# File 'lib/bio/alignment.rb', line 120 def seqclass ((defined? @seqclass) ? @seqclass : nil) or String end |