Entering edit mode
13.6 years ago
Joel
▴
150
I'm trying to use varscan to call snps on exome sequencing. I generated pileups with samtools vs
samtools pileup -f ~/Genomes/hg19/hg19.fa sample1_sorted.bam > sample1.pileup
Then
java -jar VarScan.v2.2.3.jar pileup2snp sample1.pileup --min-var-freq 0.25 --p-value 0.01 > sample1_var.snp
I consistently get an error:
mcmanus@RAMonster:~/Angel_PW_reseqs $ java -jar VarScan.v2.2.3.jar pileup2snp sample4_var.pileup --min-var-freq 0.25 --p-value 0.01 > sample4_var.snp
Min coverage: 8
Min reads2: 2
Min var freq: 0.25
Min avg qual: 15
P-value thresh: 0.01
Reading input from sample4_var.pileup
Input file was not ready after 10 5-second cycles!
Is this file just too long, and can't become "ready" in 10 5-second cycles? How can I work around this?
could you please elaborate, how do I do that?
The pileup was not generated with -c or -v parameters. Could u please help me and tell how do I do a "head -10" of the pileup file.
Thanks
head -10 pileupfilename
This assumes a unix-like operating system like Mac OS or Linux.