I resolved the problem, but this is something you might want to know.
I tried the samtools mpileup and pipe to Varscan.
It did not work when I used samtools 0.1.19 for Varscan2.2.11 ,Varscan2.3.5 and Varscan2.3.6.
But if I use the samtools 0.1.18, all versions worked.
Conclusion: the newer version of samtools may cause the problem.
Hi, I wonder if you have solved the problem, if so, would you mind giving me some suggestions on how to solve this?
I did actually. I don't remember the exact command but, what I did was instead of piping it, I created mpileup's for both tumor and normal first. And then I used this command on the mpileup's
This gives you the somatic variants directly.