Skip to content
Snippets Groups Projects
Commit b9ffab64 authored by Alessandro Vullo's avatar Alessandro Vullo
Browse files

Merge pull request #88 from james-monkeyshines/master

Master
parents 27719a31 e50776c7
No related branches found
No related tags found
No related merge requests found
......@@ -206,6 +206,13 @@ sub print_feature {
$value = 'gene:' . $value;
} elsif ($feature->isa('Bio::EnsEMBL::Exon')) {
$key = 'Name';
} elsif ($feature->isa('Bio::EnsEMBL::CDS')) {
my $trans_spliced = $feature->transcript->get_all_Attributes('trans_spliced');
if (scalar(@$trans_spliced)) {
$value = $so_term . ':' . join('_', $value, $feature->seq_region_name, $feature->seq_region_strand);
} else {
$value = $so_term . ':' . $value;
}
} else {
$value = $so_term . ':' . $value;
}
......
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