fix bug for single input bam file, and path for SNP program