Slight modifications to WIP analysis R script
Add an option to save the BAM files

This option overrides the option to remove all intermediate files.