diff --git a/modules/Bio/EnsEMBL/DBSQL/SliceAdaptor.pm b/modules/Bio/EnsEMBL/DBSQL/SliceAdaptor.pm index 1e16803d5f6e7085798a9c3749659a44a26198f0..b21334b18ae30416c697671963e4660a060b1fa9 100644 --- a/modules/Bio/EnsEMBL/DBSQL/SliceAdaptor.pm +++ b/modules/Bio/EnsEMBL/DBSQL/SliceAdaptor.pm @@ -186,6 +186,10 @@ sub fetch_by_region { if ($coord_system_name) { $cs = $csa->fetch_by_name($coord_system_name,$version); + if( !$cs && $coord_system_name eq 'chromosome' ) { + $cs = $csa->fetch_by_name('group',$version); + } + if (!$cs) { throw("Unknown coordinate system:\n name='$coord_system_name' " . "version='$version'\n");