From 647a7b31cf4638a23afb589a573226e392b25eb4 Mon Sep 17 00:00:00 2001
From: Alessandro Vullo <avullo@ebi.ac.uk>
Date: Tue, 28 May 2013 12:44:29 +0000
Subject: [PATCH] *** empty log message ***

---
 modules/Bio/EnsEMBL/Utils/IO/GTFSerializer.pm | 43 +++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 modules/Bio/EnsEMBL/Utils/IO/GTFSerializer.pm

diff --git a/modules/Bio/EnsEMBL/Utils/IO/GTFSerializer.pm b/modules/Bio/EnsEMBL/Utils/IO/GTFSerializer.pm
new file mode 100644
index 0000000000..48af01dc67
--- /dev/null
+++ b/modules/Bio/EnsEMBL/Utils/IO/GTFSerializer.pm
@@ -0,0 +1,43 @@
+=pod
+
+=head1 LICENSE
+
+  Copyright (c) 1999-2013 The European Bioinformatics Institute and
+  Genome Research Limited.  All rights reserved.
+
+  This software is distributed under a modified Apache license.
+  For license details, please see
+
+    http://www.ensembl.org/info/about/code_licence.html
+
+=head1 NAME
+
+Bio::EnsEMBL::Utils::IO::GTFSerializer - Transcript to GTF converter
+
+=head1 SYNOPSIS
+
+use Bio::EnsEMBL::Utils::IO::GTFSerializer;
+
+my $serializer = Bio::EnsEMBL::Utils::IO::GTFSerializer->new($output_fh);
+
+=head1 DESCRIPTION
+
+Subclass of Serializer that can turn a transcript into a series of lines 
+for the GTF format.
+
+=cut
+
+package Bio::EnsEMBL::Utils::IO::GFFSerializer;
+
+use strict;
+use warnings;
+
+use Bio::EnsEMBL::Utils::Exception;
+use Bio::EnsEMBL::Utils::IO::FeatureSerializer;
+use Bio::EnsEMBL::Utils::Scalar qw/assert_ref check_ref/;
+
+use base qw(Bio::EnsEMBL::Utils::IO::FeatureSerializer);
+
+my %strand_conversion = ( '1' => '+', '0' => '?', '-1' => '-');
+
+1;
-- 
GitLab