bamtools -list ${SAMPLE_LIST} -out ${SAMPLE} should be "bamtools merge -list ${SAMPLE_LIST} -out ${SAMPLE}"