allow stdin for samtools