Parser for .sam file for sequencing analysis