convert and merge somatic vcf file to plink format
1
0
Entering edit mode
8 months ago
Palgrave ▴ 130

I want to convert vcf files to plink format, but the vcf are missing IDs (annotated as "." for all variants) instead of the usual rsXXX that we usually see for germline mutations. After I convert I try to merge all the plink files using this command:

plink --bfile sample1.vcf --merge-list files.bed.txt --make-bed --out Merged.Plink

But I get a lot of warnings:

Warning: Multiple chromosomes seen for variant '.'.

Is it possible to work with somatic vcf files using plink?

gwas plink vcf • 407 views
ADD COMMENT
1
Entering edit mode
8 months ago
LChart 4.6k

You can use --set-missing-var-ids "@:#" to re-set the (missing) variant IDs to chromosome:position nomenclature. See https://www.cog-genomics.org/plink/1.9/data#set_missing_var_ids.

ADD COMMENT

Login before adding your answer.

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