Skip to content

Commit

Permalink
fix error to return GFF1 parser
Browse files Browse the repository at this point in the history
  • Loading branch information
Juke34 committed Nov 7, 2019
1 parent f58498c commit 0f93113
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions annotation/BILS/Handler/GXFhandler.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ package BILS::Handler::GXFhandler ;

use strict;
use warnings;
use Data::Dumper;
use File::Basename;
use JSON;
use Sort::Naturally;
Expand All @@ -13,14 +12,15 @@ use LWP::UserAgent;
use Bio::OntologyIO::obo;
use Clone 'clone';
use BILS::Handler::GFF3handler qw(:Ok);
use Exporter qw(import);
use Bio::Tools::GFF;
use Exporter qw(import);

our $VERSION = 1.00;
our @ISA = qw(Exporter);
our @EXPORT_OK = qw(get_level select_gff_format check_mrna_positions modelate_utr_and_cds_features_from_exon_features_and_cds_start_stop slurp_gff3_file_JD _check_all_level1_positions _check_all_level2_positions);
our %EXPORT_TAGS = ( DEFAULT => [qw()],
Ok => [qw(get_level select_gff_format check_mrna_positions modelate_utr_and_cds_features_from_exon_features_and_cds_start_stop slurp_gff3_file_JD _check_all_level1_positions _check_all_level2_positions)]);

=head1 SYNOPSIS
Expand Down Expand Up @@ -390,7 +390,7 @@ sub manage_one_feature{
# +--------------------------------------------------------+
if( get_level($feature) eq 'level1' ) {

##########
##########
# get ID #
#my $had_ID=undef;
#if($feature->has_tag('ID')){$had_ID;}
Expand Down Expand Up @@ -2681,7 +2681,7 @@ sub select_gff_format{
}
if($format{3}){return 3;}
if($format{2}){return 2;}
if($format{3}){return 1;}
if($format{1}){return 1;}
}

# We modify the attributes: group=gene_id "e_gw1.5.2.1" protein_id 335805 exonNumber 1
Expand Down

0 comments on commit 0f93113

Please sign in to comment.