fixed bug in giving samtools option