Closed verne91 closed 5 years ago
you can simply make new vcf files.
bcftools can assign new IDs.
ex> bcftools annotate --set-id +'%CHROM_%POS_%REF_%FIRST_ALT' file.vcf
Thank you! The command line should add '\' before ''. ` bcftools annotate --set-id +'%CHROM_%POS_%RE\%FIRST_ALT' file.vcf `
you can simply make new vcf files.
bcftools can assign new IDs.
ex> bcftools annotate --set-id +'%CHROM%POS%REF_%FIRST_ALT' file.vcf
I am trying to build the index with my own VCF files which are generated from WGS data. There is no variant ID on the third column of VCF files.
I found that this python script would skip the variants with the same ID.
Therefore, how can I deal with my VCF files?