Method: Bio::FastaDefline#locus
- Defined in:
- lib/bio/db/fasta/defline.rb
#locus ⇒ Object
Shows locus. If the entry has more than two of such IDs, only the first ID are shown. Returns a string or nil.
470 471 472 473 474 475 |
# File 'lib/bio/db/fasta/defline.rb', line 470 def locus unless defined?(@locus) @locus = get_by_type('locus') end @locus end |