Skip to content
Snippets Groups Projects
Commit d797a232 authored by Amonida Zadissa's avatar Amonida Zadissa
Browse files

Update TranscriptSelector.pm

parent 141fd39d
No related branches found
No related tags found
2 merge requests!135Update TranscriptSelector.pm,!135Update TranscriptSelector.pm
......@@ -142,6 +142,7 @@ my %source_priority = ('ccds' => 1,
my %biotype_priority = ('protein_coding' => 1,
'nonsense_mediated_decay' => 2,
'non_stop_decay' => 2,
'polymorphic_pseudogene' => 2,
'other' => 3,
);
......@@ -184,7 +185,8 @@ sub encode_transcript {
my $biotype;
if ( $transcript->biotype() ne 'protein_coding'
&& $transcript->biotype() ne 'nonsense_mediated_decay'
&& $transcript->biotype() ne 'non_stop_decay') {
&& $transcript->biotype() ne 'non_stop_decay'
&& $transcript->biotype() ne 'polymorphic_pseudogene' ) {
$biotype = 'other';
} else { $biotype = $transcript->biotype(); }
......
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