Entering edit mode
8.1 years ago
Niek De Klein
★
2.6k
Is there a tool that can add information to the sample columns of a VCF file, similar to bcftools --annotations but instead of changing the INFO column the FORMAT column + all the sample information? So if I have the line
20 14370 rs6054257 G A 29 PASS NS=3;DP=14;AF=0.5;DB;H2 GT:GQ:DP:HQ 0|0:48:1:51,51 1|0:48:8:51,51 1/1:43:5:.,.
I would like to add sample info :I with a number:
20 14370 rs6054257 G A 29 PASS NS=3;DP=14;AF=0.5;DB;H2 GT:GQ:DP:HQ:I 0|0:48:1:51,51:3 1|0:48:8:51,51:4 1/1:43:5:.,.:6
With a different number for each of the samples.
what would be your input for the 'I', another VCF ?
I have a tab delimited file
but I can put it in a different format.
for ALL the positions ?
Yes, saw my mistake and edited it