This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to Detect Amino Acid Changes from a GATK VCF File and Reference Genome Using Code?

Hello,

I have a VCF file generated from GATK and the reference genome used for the analysis. I'm interested in detecting amino acid changes resulting from the variants listed in the VCF file without going for annotation like VEP or other tools. I understand that this involves interpreting the variants within coding regions and translating the resulting nucleotide changes into amino acids.

Specifically, I would like to:

  1. Parse the VCF file to extract variant information.
  2. Use the reference genome to determine the sequence context around each variant.
  3. Identify the codon changes and translate them to detect amino acid changes.
tabix codons vcf variants gatk

You would need also a GFF/GTF file with gene models annotated in that reference genome. You could then bedtools intersect your genomic variants with CDS features and work out the codon changes considering the phase.

Use the reference genome to determine the sequence context around each variant. Identify the codon changes and translate them to detect amino acid changes

that is basically what VEP and SNPEFF, bcftools csq, etc... do ...

0 answers

No answers yet.

Log in to answer this question.