Class: Scaffolder::Tool::Sequence

Inherits:
Scaffolder::Tool
  • Object
show all
Defined in:
lib/scaffolder/tool/sequence.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.descriptionObject



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

#executeObject



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