Converting vcf to pileup
1
0
Entering edit mode
8.9 years ago
sckinta ▴ 730

I have vcf output from bayesfree and want to convert vcf output to pileup format which will be taken as input for popoolation2. Any script or software?

Thank you

vcf pilup popoolation2 freebayes • 4.6k views
ADD COMMENT
0
Entering edit mode

VCF files won't typically contain all of the information required to generate a pileup of the original data. You'll need to do what Nicola Casiraghi wrote and simply make the pileup from the alignment files (assuming you have them).

ADD REPLY
1
Entering edit mode
8.9 years ago

Hi, you can perform pileup using samtools mpileup and specifying with option -l your positions of interest.

ADD COMMENT
0
Entering edit mode

In other words, you'll need the BAM files.

ADD REPLY
0
Entering edit mode

Yes exactly, mandatory inputs.

ADD REPLY

Login before adding your answer.

Traffic: 1865 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