Fix sam files pattern match. Fix end loop condition for threads
Output bam sort commands to stderr
Fix number of args to parse read file function
Changes to make pipeline more generally applicable without having to change file inputs
Allow fa/fastq file ending
Fixes from testing of mapping and calling