add script to filter SAM entries with reference names

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>