Method: Bio::Sequence::Format#format_embl

Defined in:
lib/bio/sequence/format.rb

#format_emblObject

INTERNAL USE ONLY, YOU SHOULD NOT CALL THIS METHOD. (And in any case, it would be difficult to successfully call this method outside its expected context).

Output the EMBL format string of the sequence.

Used in Bio::Sequence#output.


Returns

String object



98
99
100
101
102
103
104
# File 'lib/bio/sequence/format.rb', line 98

def format_embl
  prefix = 'FT   '
  indent = prefix + ' ' * 16
  fwidth = 80 - indent.length

  format_features(prefix, indent, fwidth)
end