Refactored map_sl_reads and map_polya_reads