Fasta.open(file_fasta, mode="w") do |fasta_io|
input.each_record do |record|
if options[:scaffold] # we need to fix the sequence name for mate-pair IDBA
Fasta.open(file_fasta, mode="w") do |fasta_io|
input.each_record do |record|
if options[:scaffold] # we need to fix the sequence name for mate-pair IDBA