From 806acee6410a9920294f5052d0bc1cac7571c0de Mon Sep 17 00:00:00 2001 From: vinay-ebi <59567245+vinay-ebi@users.noreply.github.com> Date: Thu, 12 Dec 2024 18:17:06 +0000 Subject: [PATCH] set principle isoform score to 1 --- .../Production/Pipeline/AttributeAnnotation/LoadAppris.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/Bio/EnsEMBL/Production/Pipeline/AttributeAnnotation/LoadAppris.pm b/modules/Bio/EnsEMBL/Production/Pipeline/AttributeAnnotation/LoadAppris.pm index cc7d3485a..364979a06 100644 --- a/modules/Bio/EnsEMBL/Production/Pipeline/AttributeAnnotation/LoadAppris.pm +++ b/modules/Bio/EnsEMBL/Production/Pipeline/AttributeAnnotation/LoadAppris.pm @@ -103,11 +103,14 @@ sub load_file { my $file = $self->param_required('file'); - my $label2code = { 'PRINCIPAL:1' => [ 'appris', 'principal1' ], + my $label2code = { + 'PRINCIPAL:0' => [ 'appris', 'principal1' ], + 'PRINCIPAL:1' => [ 'appris', 'principal1' ], 'PRINCIPAL:2' => [ 'appris', 'principal2' ], 'PRINCIPAL:3' => [ 'appris', 'principal3' ], 'PRINCIPAL:4' => [ 'appris', 'principal4' ], 'PRINCIPAL:5' => [ 'appris', 'principal5' ], + 'ALTERNATIVE:0' => [ 'appris', 'alternative1' ], 'ALTERNATIVE:1' => [ 'appris', 'alternative1' ], 'ALTERNATIVE:2' => [ 'appris', 'alternative2' ], };