filter PF fail reads and secondary alignments
filter secondarys at the end
esqcape out awk variables
reheader bam
dont overwrite input file as you read it
regenerate bamcheck file so the number of reads matches filtered bam
Merge pull request #270 from andrewjpage/import_read_filtering

Import read filtering