Modify ID column in VCF file

Modify ID column in VCF file

1

Hello,

I have a vcf file that has the following first three columns:

chr1 121 .
chr1 125 .
chr1 127 .
chr2 100 .

how can I change the Column “ID” so that it consists out of CHROM + ID like in the following example:

chr1 121 chr1:121
chr1 125 chr1:125
chr1 127 chr1:127
chr2 100 chr2:100

Thank you all for your help!
Max


SNP


VCF

• 23 views

Read more here: Source link