GT tag in VCF spec
1
0
Entering edit mode
7.7 years ago
Jackie ▴ 70

Hi,

Is GT tag in the FORMAT col a required tag by VCF spec? If a VCF does not have GT tag, is it still a valid VCF? Or put it another way, what is the minimum information that makes a VCF valid?

Thanks

GT VCF tags valid • 1.6k views
ADD COMMENT
0
Entering edit mode

Thank you very much. This is helpful!

ADD REPLY
0
Entering edit mode

Please use ADD COMMENT to reply to earlier answers, as such this thread remains logically structured and easy to follow. I now moved your reaction but as you can see it's not optimal.

If the answer from Pierre resolved your question you should mark it as accepted.

ADD REPLY
4
Entering edit mode
7.7 years ago

if a VCF does not have GT tag, is it still a valid VCF?

https://samtools.github.io/hts-specs/VCFv4.2.pdf

The first sub-field must always be the genotype (GT) if it is present.

NO: GT is not required.

what is the minimum information that makes a VCF valid?

just a VCF header.... :-)

##fileformat=VCFv4.2
#CHROM POS ID REF ALT QUAL FILTER INFO
1 2 . N N . . .
ADD COMMENT

Login before adding your answer.

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