/usr/lib/debian-med/bin/ref_map.pl is in stacks 1.35-1ubuntu1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/debian-med/bin/../../stacks/bin/ref_map.pl
/usr/lib/debian-med/bin/../../stacks/bin/ref_map.pl