Separate out bam1_t to fastq processing step and make it self contained.

Signed-off-by: Martin O. Pollard <mp15@sanger.ac.uk>