Regarding vcf to bed
1
0
Entering edit mode
6.7 years ago
DL ▴ 50

Hello everyone,

Can any one tell me that how can i convert vcf to bed ?? i coverted it using vcf2bed and the command is ==>

vcf2bed   < DK_results_snps.vcf >DK_snp.bed

but when i count number of snp in bed file and snp from vcf file then its different in number. i even removed the # tag from bed file and then use

wc -l dk_snp.bed

while for vcf file, i used bcftools. Please tell me how can i convert it?? Thanks in advance Deepika

SNP snp next-gen genome • 1.8k views
ADD COMMENT
0
Entering edit mode
6.7 years ago

http://bedops.readthedocs.io/en/latest/content/reference/file-management/conversion/vcf2bed.html

If the ALT field contains more than one allele, multiple BED records will be printed.

ADD COMMENT
0
Entering edit mode

Thank you for your quick response. So, in summary of analysis, i should count number of snps from vcf file or from the bed file ??

ADD REPLY

Login before adding your answer.

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