Dear all,
I'm trying to call variants on RNA-seq data.
I aligned the paired-end reads with Bowtie/Tophat and then generated a mpileup file with Samtools version 0.1.16 using the following command:
samtools mpileup -q 1 -Q 13 -f human_g1k_v37.fasta test.sorted.bam > test.sorted.mpileup
This mpileup file looks ok. Then I try to run VarScan version 2.3.2, with the following code:
java -jar VarScan.v2.3.2.jar mpileup2snp /test.sorted.mpileup --min-var-freq 0.08 --p-value 0.01 > /test.sorted.mpileup.varscan
Only SNPs will be reported
Min coverage: 8
Min reads2: 2
Min var freq: 0.08
Min avg qual: 15
P-value thresh: 0.01
Reading input from /test.sorted.mpileup
Initially, everything seems fine, but then VarScan throws me this error:
Error: Invalid format for pileup at line 419813325
22 31372123 A 1018 ...,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,......,.....,,,,,,,,,,,,,,............,,,,,,,,,,,,,,.....................,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.......................,,,,,,,,,,.........t,,..........................................,,,,,,,,,,,,,,,,,,,,,,,,,,,..........,,,,,,,,,,,,,,,,,,,,,,..,,,,,,,,,.,,,,.................,,...........................,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,....,,,,,,,,,,,...,,..,......................................................,,,........,,,,.....................................,,,,,,,............,,................................................,.........,.....,..............,.,,,,,........,.,,,,,,,..,,,,,,.,,,,,,,,.,,..,,,,,,,,,,,,,,,,,,,,,,,,,,,,.......,,,,,,,,,,,,,,,,...........,,,,.,,,,,,,,,,,,,,,,,,,,,,,,,......,,,,,,,..,,,,..,,,,,,,,,,,,,,,,,.............,,,,,.,,,,,,,,.....,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,[email protected]<IG:9JI<DCDCD?JJJJIFJFGJ1JJIIHC)3DAHCC9G)[email protected]:[email protected]@[email protected]@JIJJJFEJJHIIJFJEGJJFGHJGJHJIIIJHCGJJ?GJHJ?F<[email protected]?DCDC?#CDCCDC?DGJCDGIEFEHFBJH?GJIJJGGIC?<[email protected]<CAIIGJJJJDJ;JEJIIIJGIEJEDHJ;GJJJIJGJIGG>@IJJIJCJJJGGJJC?HAHGFHADGCGHH?3<?DDH<<DGCFFDFDF?FDF#[email protected]#FFDDCCD?(3CDC<CCCCCC<[email protected]+#DBDC#DDDA?C#[email protected][email protected]=9
The generated varscan-file up till that line seems fine. However, I don't really know how to work around this corrupt line. Would it be easiest if I just removed that line? And how can I do this on the mpileup file? Or are there other options?
Many thanks,
Lien
I'm trying to call variants on RNA-seq data.
I aligned the paired-end reads with Bowtie/Tophat and then generated a mpileup file with Samtools version 0.1.16 using the following command:
samtools mpileup -q 1 -Q 13 -f human_g1k_v37.fasta test.sorted.bam > test.sorted.mpileup
This mpileup file looks ok. Then I try to run VarScan version 2.3.2, with the following code:
java -jar VarScan.v2.3.2.jar mpileup2snp /test.sorted.mpileup --min-var-freq 0.08 --p-value 0.01 > /test.sorted.mpileup.varscan
Only SNPs will be reported
Min coverage: 8
Min reads2: 2
Min var freq: 0.08
Min avg qual: 15
P-value thresh: 0.01
Reading input from /test.sorted.mpileup
Initially, everything seems fine, but then VarScan throws me this error:
Error: Invalid format for pileup at line 419813325
22 31372123 A 1018 ...,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,......,.....,,,,,,,,,,,,,,............,,,,,,,,,,,,,,.....................,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.......................,,,,,,,,,,.........t,,..........................................,,,,,,,,,,,,,,,,,,,,,,,,,,,..........,,,,,,,,,,,,,,,,,,,,,,..,,,,,,,,,.,,,,.................,,...........................,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,....,,,,,,,,,,,...,,..,......................................................,,,........,,,,.....................................,,,,,,,............,,................................................,.........,.....,..............,.,,,,,........,.,,,,,,,..,,,,,,.,,,,,,,,.,,..,,,,,,,,,,,,,,,,,,,,,,,,,,,,.......,,,,,,,,,,,,,,,,...........,,,,.,,,,,,,,,,,,,,,,,,,,,,,,,......,,,,,,,..,,,,..,,,,,,,,,,,,,,,,,.............,,,,,.,,,,,,,,.....,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,[email protected]<IG:9JI<DCDCD?JJJJIFJFGJ1JJIIHC)3DAHCC9G)[email protected]:[email protected]@[email protected]@JIJJJFEJJHIIJFJEGJJFGHJGJHJIIIJHCGJJ?GJHJ?F<[email protected]?DCDC?#CDCCDC?DGJCDGIEFEHFBJH?GJIJJGGIC?<[email protected]<CAIIGJJJJDJ;JEJIIIJGIEJEDHJ;GJJJIJGJIGG>@IJJIJCJJJGGJJC?HAHGFHADGCGHH?3<?DDH<<DGCFFDFDF?FDF#[email protected]#FFDDCCD?(3CDC<CCCCCC<[email protected]+#DBDC#DDDA?C#[email protected][email protected]=9
The generated varscan-file up till that line seems fine. However, I don't really know how to work around this corrupt line. Would it be easiest if I just removed that line? And how can I do this on the mpileup file? Or are there other options?
Many thanks,
Lien
Comment