I just noticed what I think are typos in the accompanying doc
bash variables with $ in front and spaces at either sides of the '=' sign
Best
Stephane
http://dkoboldt.github.io/varscan/somatic-calling.html
Do NOT use any of the variant- or consensus-calling parameters. You just want the raw pileup output. This Perl snippet shows you how to pipe input from SAMtools into VarScan:
$normal_pileup = "samtools mpileup -f $reference $normal_bam";
$tumor_pileup = "samtools mpileup -f $reference $tumor_bam";
To limit the pileup to reads with mapping quality > 0 (recommended), use this variation:
$normal_pileup = "samtools mpileup -q 1 -f $reference $normal_bam";
$tumor_pileup = "samtools mpileup -q 1 -f $reference $tumor_bam";
Next, issue a system call that pipes input from these commands into VarScan :
bash -c \"java -jar VarScan.jar somatic <\($normal_pileup\) <\($tumor_pileup\) output
Thanks Dan for the great tool,
I just noticed what I think are typos in the accompanying doc bash variables with $ in front and spaces at either sides of the '=' sign
Best Stephane