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

keyError: 'gnomAD_AF' #50

Open
HomoPolyethylen opened this issue Aug 2, 2024 · 1 comment
Open

keyError: 'gnomAD_AF' #50

HomoPolyethylen opened this issue Aug 2, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@HomoPolyethylen
Copy link
Contributor

Description of the bug

  • querynator uses the gnmoAD allele frequency, annotated by VEP
  • VEP annotates the gnomAD AF based on their genomic data or exonic only
  • VEP names the fields gnomADg_AF and gnomADe_AF respectively
  • there does not seem to be gnomAD_AF anymore (see vep option docs and a search on the vep website yielding no results)

until the issue is fixed in the querynator you can simply alter the annotation field string in your vcf from gnomADg_AF to gnomAD_AF:

bcftools view -Ov INFILE.vcf.gz | sed "s/gnomADg_AF/gnomAD_AF/g" | bcftools view -Oz -o OUTFILE.vcf.gz

Command used and terminal output

No response

System information

No response

@HomoPolyethylen HomoPolyethylen added the bug Something isn't working label Aug 2, 2024
@HomoPolyethylen
Copy link
Contributor Author

apply changes for all samples in samplesheet:

parallel --bar --skip-first-line --colsep , "bcftools view -Ov {2} | sed 's/gnomADg_AF/gnomAD_AF/g' | bcftools view -Oz -o {2}" :::: samplesheet.csv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant