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.
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Well I don't see an -s option in that usage description just a < to specify the input.
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??
could you suggest anything else??