Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error parsing genotype likelihoods #120

Open
aanderson54 opened this issue Dec 5, 2023 · 0 comments
Open

Error parsing genotype likelihoods #120

aanderson54 opened this issue Dec 5, 2023 · 0 comments

Comments

@aanderson54
Copy link

Hello,

I'm running into an error trying to parse the PL from my VCF using snp2h5 to get the gene_probs.h5 file. The error seems to indicate that PL isn't in my VCF.
ERROR: vcf.c:504: VCF format string does not specify GL, GP, or PL token so cannot obtain genotype probabilities. Format string: 'GT'.

However, PL is clearly in the format string. This is the head of my VCF:

#CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  5397-JL-0001    5397-JL-0002
chr1    11863   .       C       A       95.27   PASS    .    GT:PL   0|1:129,0,347   0|1:118,0,72
chr1    12198   .       G       C       355.27  PASS    .    GT:PL   0|1:455,0,496   1|1:312,27,0
chr1    12383   .       G       A       364.77  PASS    .    GT:PL   0|1:516,0,684   1|0:270,0,52
chr1    12719   .       G       C       50.77   PASS    .    GT:PL   0|1:79,0,391    0|0:0,12,168

Do you have any suggestions to get this to run? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant