From 33997813a046c9ec00a961011f2e0f46a372ffc8 Mon Sep 17 00:00:00 2001
From: Alessandro Vullo <avullo@ebi.ac.uk>
Date: Fri, 19 Dec 2014 16:19:36 +0000
Subject: [PATCH] [ENSCORESW-1198]. Support for BigWIg BAM rnaseq data.

---
 modules/Bio/EnsEMBL/DBSQL/DataFileAdaptor.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/Bio/EnsEMBL/DBSQL/DataFileAdaptor.pm b/modules/Bio/EnsEMBL/DBSQL/DataFileAdaptor.pm
index ed75a5a129..443f94f3e6 100644
--- a/modules/Bio/EnsEMBL/DBSQL/DataFileAdaptor.pm
+++ b/modules/Bio/EnsEMBL/DBSQL/DataFileAdaptor.pm
@@ -141,7 +141,7 @@ sub DataFile_to_extensions {
   my ($self, $df) = @_;
   my $type = $df->file_type();
   my $extensions = {
-    BAM     => ['bam', 'bam.bai'],
+    BAM     => ['bam', 'bam.bai', 'bam.bw'],
 #    BIGBED  => 'bb',
     BIGWIG  => ['bw'],
     VCF     => ['vcf.gz', 'vcf.gz.tbi'],
-- 
GitLab