some tools to parse SAM result