Question: How do you find the number of SNPs per gene given a genotype and a map file?
gravatar for eternalshadowrose
2.1 years 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 • 587 views
ADD COMMENTlink modified 2.1 years ago • written 2.1 years ago by eternalshadowrose0

See this post:

ADD REPLYlink written 2.1 years ago by zx87549.9k
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: 1588 users visited in the last hour