Question: How do you find the number of SNPs per gene given a genotype and a map file?
gravatar for eternalshadowrose
3 days ago by
eternalshadowrose0 wrote:

Given one file: genotype.csv which has the nucleotides of SNPs (just assuming its the less represented nucleotide at this point) at different positions of a chromosome and another file which provides the range of nucleotides for the gene, how do you count the number of SNPs within all genes? The X6114, etc being the sample number.

I'm assuming that I will need to create a loop to find the major allele first for every row, and then make sure its above the starting position and below the ending position of a given gene.

Example files

snp R gene • 80 views
ADD COMMENTlink modified 3 days ago • written 3 days ago by eternalshadowrose0

See this post:

ADD REPLYlink written 3 days ago by zx87546.0k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1629 users visited in the last hour