Method: Bio::FastaDefline#acc_version
- Defined in:
- lib/bio/db/fasta/defline.rb
#acc_version ⇒ Object
Shows accession with version number. If the entry has more than two of such IDs, only the first ID are shown. Returns a string or nil.
492 493 494 495 496 497 |
# File 'lib/bio/db/fasta/defline.rb', line 492 def acc_version unless defined?(@acc_version) then @acc_version = get_by_type('acc_version') end @acc_version end |