You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello.
As a test I ran GTShark on chrX of 1KGP3 (available from the FTP link below) ftp://ftp.1000genomes.ebi.ac.uk/vol1/ftp/release/20130502/ALL.chrX.phase3_shapeit2_mvncall_integrated_v1c.20130502.genotypes.vcf.gz
(I transformed this file to BCF with bcftools and named it chrX.bcf in the scripts below to save space).
Samples that were originally haploid ref 0 on chrX are now shown as phased diploid second alt allele 0|2, alt allele that doesn't exist.
It seems to be a recurring problem at all variant sites that have haploid genotype sample values.
The value should be MISSING or END_OF_VECTOR as per VCF/BCF specifications. https://samtools.github.io/hts-specs/VCFv4.2.pdf
there is an example on page 26.
Best.
Rick
The text was updated successfully, but these errors were encountered:
Each input VCF file must have the homogeneous ploidy (1 or 2). Therefore, files not satisfying this feature must be split before compression to a few files by external tools.
Hello.
As a test I ran GTShark on chrX of 1KGP3 (available from the FTP link below) ftp://ftp.1000genomes.ebi.ac.uk/vol1/ftp/release/20130502/ALL.chrX.phase3_shapeit2_mvncall_integrated_v1c.20130502.genotypes.vcf.gz
(I transformed this file to BCF with bcftools and named it chrX.bcf in the scripts below to save space).
I ran the following commands :
Then I compared the input
chrX.bcf
and the outputout/chrX.bcf
usingbcftools view
For example with variant at position
6000044
Original BCF :
GTShark output BCF :
Samples that were originally haploid ref
0
on chrX are now shown as phased diploid second alt allele0|2
, alt allele that doesn't exist.It seems to be a recurring problem at all variant sites that have haploid genotype sample values.
The value should be
MISSING
orEND_OF_VECTOR
as per VCF/BCF specifications.https://samtools.github.io/hts-specs/VCFv4.2.pdf
there is an example on page 26.
Best.
Rick
The text was updated successfully, but these errors were encountered: