This is a test version of Biostars. For the public version, visit https://www.biostars.org.
VCF file analysis

I have a VCF file and have few queries to solves. Can someone help me to proceed with the same?

The questions are as following:

  1. How many variant records does the file contain?
  2. How many genotype calls are there per variant record?
  3. Are the genotype calls phased or unphased?
  4. Write code or pseudo code (in any language of your choosing) to calculate allele frequencies for each variant in the file
  5. Design a relational database schema to store the following information: ● variant ID ● chromosomal location of the variant ● the alleles and their corresponding frequencies
  6. Write code or pseudo code to populate your database schema from the VCF file
  7. How might you store the genotypes such that they could be retrieved quickly, for a project that has produced genotypes for ~1200 individuals across ~80 million sites?
vcf variants genome gene sequence

Is this an assignment question? It sounds like it is. You need to show effort on your part if you hope to get any assistance.

I know nothing about vcf file analysis, so Im asking from where I can start atleast?

ok thank you, I will go through those

Look at the official VCF specification too. get your google fu out

Hello Nyksubuz!

We believe that this post does not fit the main topic of this site.

OP deleted the post, but I'm un-deleting it and closing it to retain the discussion.

For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.

If you disagree please tell us why in a reply below, we'll be happy to talk about it.

Cheers!

0 answers

No answers yet.

Log in to answer this question.