lib/bio/output/gfffastawriter.rb in bio-gff3-0.8.2 vs lib/bio/output/gfffastawriter.rb in bio-gff3-0.8.3
- old
+ new
@@ -8,14 +8,14 @@
@do_validate = validate
end
def put id, seq
puts '>'+id
- put_seq seq
+ put_seq id, seq
end
private
- def put_seq seq
+ def put_seq id, seq
if @do_translate or @do_validate
ntseq = Bio::Sequence::NA.new(seq)
aaseq = ntseq.translate
puts aaseq if @do_translate
if @do_validate