Class: Scaffolder::Tool::Sequence
- Inherits:
-
Scaffolder::Tool
- Object
- Scaffolder::Tool
- Scaffolder::Tool::Sequence
- Defined in:
- lib/scaffolder/tool/sequence.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.description ⇒ Object
8 9 10 |
# File 'lib/scaffolder/tool/sequence.rb', line 8 def self.description "Generate the fasta output for the scaffold" end |
Instance Method Details
#execute ⇒ Object
12 13 14 15 |
# File 'lib/scaffolder/tool/sequence.rb', line 12 def execute s = sequence(scaffold) Bio::Sequence.new(s).output(:fasta,:header => header(s,@settings)) end |