Skip to content
Snippets Groups Projects
Commit 0a661260 authored by Arne Stabenau's avatar Arne Stabenau
Browse files

reenabled the standard mapper for contig-chromosome mappings

parent eeb3f21e
No related branches found
No related tags found
No related merge requests found
......@@ -172,8 +172,11 @@ sub fetch_by_CoordSystems {
if(@mapping_path == 2) {
#1 step regular mapping
# $asm_mapper = Bio::EnsEMBL::AssemblyMapper->new($self, @mapping_path);
$asm_mapper = Bio::EnsEMBL::ChainedAssemblyMapper->new( $self, $mapping_path[0], undef, $mapping_path[1] );
$asm_mapper = Bio::EnsEMBL::AssemblyMapper->new($self, @mapping_path);
# If you want multiple pieces on two seqRegions to map to each other
# uncomment following. AssemblyMapper assumes only one mapped piece per contig
# $asm_mapper = Bio::EnsEMBL::ChainedAssemblyMapper->new( $self, $mapping_path[0], undef, $mapping_path[1] );
$self->{'_asm_mapper_cache'}->{$key} = $asm_mapper;
return $asm_mapper;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment