Class: Ms::Fasta::Archive
- Inherits:
-
ExternalArchive
- Object
- ExternalArchive
- Ms::Fasta::Archive
- Defined in:
- lib/ms/fasta/archive.rb
Overview
Provides access to a FASTA file as an ExternalArchive.
Instance Method Summary collapse
-
#reindex(&block) ⇒ Object
Reindexes self to each FASTA entry in io.
-
#str_to_entry(str) ⇒ Object
Returns a Fasta::Entry initialized using str.
Instance Method Details
#reindex(&block) ⇒ Object
Reindexes self to each FASTA entry in io
10 11 12 |
# File 'lib/ms/fasta/archive.rb', line 10 def reindex(&block) reindex_by_sep(nil, :sep_regexp => /\n>/, :sep_length => 1, :entry_follows_sep => true, &block) end |