How to add @RG tags in vcf file?
1
0
Entering edit mode
2.3 years ago

Dear all,

I want to run POPBAM tool on my pooled-seq data to compute Fay and wu's statistics. This tool requires vcf with @RG tags in its header. I have already present vcf file without these tags. Now I am finding a way to add @RG tags directly in the vcf rather than in BAM file. Kindly guide me, is it possible to add it and from which tool? Any help would be highly appreciated.

Thanks in advance

vcf H_statistics POPBAM • 744 views
ADD COMMENT
1
Entering edit mode
2.3 years ago

there is no such tag @RG in the VCF files. @RG tags are for the bam file. Once the RG group( containing the sample name) is specified in the BAM file, the variant caller will use the BAM metadata to infer the sample name(s) in the VCF

ADD COMMENT
0
Entering edit mode

Ah alright, thank you so much for the guidance.

ADD REPLY

Login before adding your answer.

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