This is a test version of Biostars. For the public version, visit https://www.biostars.org.
unannotated SNP ids

Hi all,

I have a list of unannotated SNPs, I want to find those genes which are present 10kb upstream and downstream of that unannotated SNP.

Thanks in advance

snp

2 answers

If I've understood correctly your question, I'd suggest you the following workflow:

  1. Take the positions of those unannotated SNP.
  2. Create a bed file with:

    SNP_chromosome    SNP_position-10000    SNP_position+10000
    
  3. Create gene .bed|.gtf|.gff3 file with gene coordinates.
  4. Intersect (bedtools intersect) these two files.

You can use the Ensembl VEP for this. To get variants 10kb up and downstream you'll need to alter the upstream/downstream distance to 10kb, which you'll find in the options.

Log in to answer this question.