sam2mappingstats and filter_sam for single end data