Commit 4d848292 authored by Kieron Taylor's avatar Kieron Taylor 😠
Browse files

Fixed bug in FASTA serializing into GFF format

parent c3eb026e
......@@ -208,7 +208,7 @@ sub print_metadata {
my $self = shift;
my $text = shift;
my $fh = $self->{'filehandle'};
print $fh "\n# ".$text."\n";
print $fh "\n#".$text."\n";
}
......
......@@ -152,8 +152,8 @@ sub print_main_header {
sub print_sequence {
my $self = shift;
my $slice = shift;
print "##FASTA\n";
Bio::EnsEMBL::Utils::SeqDumper->dump( $slice, 'FASTA', $self->{'filehandle'});
my $fh = $self->{'filehandle'};
Bio::EnsEMBL::Utils::SeqDumper->dump_fasta( $slice, $fh);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment