This is a test version of Biostars. For the public version, visit https://www.biostars.org.
match CpG positions to genes

Hello, I want to map the CpGs I have to their correspondant genes. I have the following information:

chr     CpG_position     sample1        sample2    ...
1            1058335       .....          ....
1            1058345       .....          ....
3              ....        .....          ....

How can I map those cpgs to a gene name if I only know that hg37 has been used? They are TAB seq and BS seq results (EPIC)

meth-seq cpg epigenomics rna-seq

1 answer

bedtools intersect or bedtools annotate would come to mind. Download or make a BED file with the bounds of genes to use with that.

Log in to answer this question.