From e0cfa2e76fb1ff6f0752f85f6d4a173566c6fc9c Mon Sep 17 00:00:00 2001 From: Sarah Hunt Date: Thu, 11 Jan 2018 10:44:57 +0000 Subject: [PATCH] expand comment --- modules/Bio/EnsEMBL/VEP/AnnotationType/Transcript.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/Bio/EnsEMBL/VEP/AnnotationType/Transcript.pm b/modules/Bio/EnsEMBL/VEP/AnnotationType/Transcript.pm index 3ca84d1ee..aa28216fb 100644 --- a/modules/Bio/EnsEMBL/VEP/AnnotationType/Transcript.pm +++ b/modules/Bio/EnsEMBL/VEP/AnnotationType/Transcript.pm @@ -207,7 +207,8 @@ sub filter_transcript { if( !$self->{all_refseq} && ( - # we only want RefSeq transcripts e.g. NM_12930 + # we only want RefSeq transcripts e.g. NM_12930, + # or 4540 for MT transcripts ( $self->{source_type} eq 'refseq' && ($t->stable_id || '') !~ /^[A-Z]{2}\_\d+|^\d{4}$/