I have a fastq file where reads are named after the sample they belong to, like so
@S1-HWI...
AAGATTG
+
qualqual
@S2-HWI...
GGTGAGG
+
qualqual
...
After aligning this data I want to call variants for each sample and would enjoy a VCF file as output. Now to my question:
Is there a way I can use samtools mpileup for the SNP calling? Can I use the RG/LB tags somehow?
This would be extremely convenient in order to handle multiple samples in a single fast file.
cheers
//Daniel