Method: Bio::FastaDefline#gi
- Defined in:
- lib/bio/db/fasta/defline.rb
#gi ⇒ Object
Shows GI. If the entry has more than two of such IDs, only the first ID are shown. Returns a string or nil.
481 482 483 484 485 486 |
# File 'lib/bio/db/fasta/defline.rb', line 481 def gi unless defined?(@gi) then @gi = get_by_type('gi') end @gi end |