Commit cfc759c0 authored by Nick Langridge's avatar Nick Langridge
Browse files

fastmap expects seq region name not id

parent 877a42d8
......@@ -1135,7 +1135,7 @@ sub _remap {
#slice of feature in different coord system, mapping required
# $seq_region comes out as an integer not a string
($seq_region_id, $start, $end, $strand) =
$mapper->fastmap($fseq_region_id,$f->start(),$f->end(),$f->strand(),$fcs);
$mapper->fastmap($fslice->seq_region_name(),$f->start(),$f->end(),$f->strand(),$fcs);
# undefined start means gap
next if(!defined $start);
......
Markdown is supported
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