This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Genes with multiple chromosome locations

Hi, I am trying to annotate my list of gene IDs, some of which have multiple loci, e.g.:

   refseq_mrna hgnc_symbol   gene_biotype chromosome_name start_position end_position
7    NM_000076      CDKN1C protein_coding  HSCHR11_1_CTG7         115392       118091
8    NM_000076      CDKN1C protein_coding              11        2883213      2885775

What is the recommended practice for collapsing gene annotation with multiple entries of genes with alternative loci for a given gene?

gene annotation loci alternative

Thanks for your reply. I obtained this annotation using the biomaRt R library:

library(biomaRt)

ensembl <- useMart("ensembl", dataset = "hsapiens_gene_ensembl")

attrs <- c('refseq_mrna', 'hgnc_symbol', 'gene_biotype', 'chromosome_name', 
           'start_position', 'end_position')

annot_mrna <- getBM(attributes = attrs,
                     filters = 'refseq_mrna',
                     values = rownames(cts_mat),
                     mart = ensembl)

I have multiple gene IDs with different chromosome names like the above example.

0 answers

No answers yet.

Log in to answer this question.