This is a test version of Biostars. For the public version, visit https://www.biostars.org.
miRNA corresponds to multiple ensembl gene IDs

Hi there,

I'd like to know why a microRNA could correspond to multiple ensembl gene IDs? For examples, we can see "hsa-mir-1302-2" corresponds to 4 ensembl gene IDs:

ensembl_gene_id gene_biotype ensembl_transcript_id mirbase_id

ENSG00000284332 miRNA ENST00000607096 hsa-mir-1302-2

ENSG00000284557 miRNA ENST00000408734 hsa-mir-1302-2

ENSG00000283921 miRNA ENST00000408365 hsa-mir-1302-2

ENSG00000283801 miRNA ENST00000408051 hsa-mir-1302-2

The GTF file is downloaded from: ftp://ftp.ensembl.org/pub/release-90/gtf/homo_sapiens/

Could any one please tell me why? I want to get the sequence length for each miRNA and it seems that I should not add up the length of all the transcripts together.

ensembl mirna mirbase

2 answers

Thanks for your help! Really appreciated!

miRNAs tend to be replicated over the genome. miRbase work per sequence, so will have one miRNA ID, whereas in Ensembl we work in terms of the genome, which means if one sequence occurs multiple times in the genome, each will be assigned its own Ensembl ID.

Really thanks for you help. I am wondering if there is any attribute that can tell the miRNA I required with those paralogs apart when using the getBM() function from the R package biomaRt? To be more precise, I found that for each of the four miRNAs: hsa-mir-1302-2, hsa-mir-1302-9, hsa-mir-1302-10, hsa-mir-1302-11, the getBM() function will return the same information including all the four miRNAs. That seems to be quite tedious. The R code is as follows:

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

miRNA_res <- getBM(attributes=c("ensembl_gene_id", "gene_biotype", "ensembl_transcript_id", "mirbase_id"), mart=mart)

The following four commands will get the same results :

miRNA_res[miRNA_res$mirbase_id=="hsa-mir-1302-2",]
miRNA_res[miRNA_res$mirbase_id=="hsa-mir-1302-9",]
miRNA_res[miRNA_res$mirbase_id=="hsa-mir-1302-10",]
miRNA_res[miRNA_res$mirbase_id=="hsa-mir-1302-11",]

Any hint would be really appreciated.

The gene name for miRNAs will be from the miRbase IDs, so if you filter by gene name with, say, MIR1302-2, you'll get just that one.

Thanks for the hint! It perferctly solved my problem!

Log in to answer this question.