Pileup To Vcf Format
1
1
Entering edit mode
13.6 years ago
Pri ▴ 20

I have a pileup file generated using samtools. I need to convert this to vcf. Which tools can be used for this??

pileup vcf • 9.7k views
ADD COMMENT
3
Entering edit mode
13.6 years ago

there is a tool named sam2vcf.pl in the misc folder of samtools

Usage: sam2vcf.pl [OPTIONS] < in.pileup > out.vcf
Options:
   -r, -refseq <file.fa>            The reference sequence, required when indels are present.
   -h, -?, --help                   This help message.
ADD COMMENT
1
Entering edit mode

Well I don't see an -s option in that usage description just a < to specify the input.

ADD REPLY
0
Entering edit mode

I tried this several times but i m getting this error:

C:wishsamtools-0.1.15misc>perl sam2vcf.pl -s hg19_bwa_target2.pileup > out.vcf Unknown parameter "hg19_bwa_target2.pileup". Run -h for help. at sam2vcf.pl line 22 main::error('Unknown parameter "hg19_bwa_target2.pileup". Run -h for hel p.x{a}') called at sam2vcf.pl line 52 main::parse_params() called at sam2vcf.pl line 12

What might be my mistake here??

ADD REPLY
0
Entering edit mode

could you suggest anything else??

ADD REPLY

Login before adding your answer.

Traffic: 1677 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6