From e63e27c354c5752c8f2751e9eda716512539fb18 Mon Sep 17 00:00:00 2001
From: Andrew Yates <ayates@ebi.ac.uk>
Date: Tue, 19 Mar 2013 14:54:16 +0000
Subject: [PATCH] do not have cdna as a genomic source to index

---
 modules/Bio/EnsEMBL/Pipeline/FASTA/NcbiBlastReIndexer.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/Bio/EnsEMBL/Pipeline/FASTA/NcbiBlastReIndexer.pm b/modules/Bio/EnsEMBL/Pipeline/FASTA/NcbiBlastReIndexer.pm
index 37ce068e57..a2c2bd791b 100644
--- a/modules/Bio/EnsEMBL/Pipeline/FASTA/NcbiBlastReIndexer.pm
+++ b/modules/Bio/EnsEMBL/Pipeline/FASTA/NcbiBlastReIndexer.pm
@@ -68,7 +68,7 @@ sub fetch_input {
   $assembly = join(q{.}, @split_name);
   
   my $molecule = ( $type =~ /na/ ) ? 'dna' : 'pep'; # if it has an na in there then it's DNA
-  my $blast_type = ($type =~ /dna/ ) ? 'genomic' : 'genes'; # if it was DNA then it's genomic
+  my $blast_type = ($type =~ /dna/ && $type ne 'cdna' ) ? 'genomic' : 'genes'; # if it was DNA then it's genomic
   
   $self->param('species', lc($species));
   $self->param('molecule', $molecule);
-- 
GitLab