Added sample ID recoding from source BAM directory
Added the bam directory option to the XML file