Better late than Never:
1) Is there a difference between:
samtools mpileup (options) sample1.bam sample2.bam sample3.bam
and
samtools mpileup (options) sample1.bam
samtools mpileup (options) sample2.bam
samtools mpileup (options) sample3.bam
I mean, for one bam, does mpileup uses the reads from the other samples for its calculations ?
2) In a mpileup output, What's the best way to test if a sample does not carry a SNP ? Is looking at "GT=0/0" enough ?
$1 #CHROM chr1
$2 POS 9997
$3 ID .
$4 REF N
$5 ALT A
$6 QUAL 3.55
$7 FILTER .
$8 INFO DP=1;AF1=1;AC1=10;DP4=0,0,1,0;MQ=60;FQ=-25.5
$9 FORMAT GT:PL:DP:GQ
$10 sample1.bam 0/1:31,3,0:1:5
$11 sample2.bam 0/0:0,0,0:0:3
$12 sample3.bam 0/0:0,0,0:0:3
$13 sample4.bam 0/0:0,0,0:0:3
$14 sample5.bam 0/0:0,0,0:0:3
1) yes. 2) also set a threshold on GQ.