Entering edit mode
9.2 years ago
jjaeyun
•
0
I tried to connect a transcript (ENSTxxx)'s exons to their corresponding peptides (residues) using bioMart in R.
library("biomaRt")
ensembl<- useMart("ensembl")
ensembl<- useDataset( "ensembl", dataset="hsapiens_gene_ensembl")
getBM(c('peptide_location','exon_chrom_start','exon_chrom_end'), filters = c('ensembl_transcript_id','pdb'), values=list('ENST00000606293','2ZA5'), mart=ensembl)
Error in getBM(c("peptide_location", "exon_chrom_start", "exon_chrom_end"), :
Query ERROR: caught BioMart::Exception::Usage: Attributes from multiple attribute pages are not allowed
I wish to get some help for this problem.
Thank you so much! It worked. And, it answers for my rest of work. Thanks again!
BTW, this was my first use of Biostart. This is pretty nice
You're very welcome :D
feel free to up-vote my "answer" and mark this question as solved.
Hi Lando,
I thought your code was what I wanted, but actually, it is not.
In your merge function at the end, it was supposed to be exon range or exon id, other than transcript id. Could you correct this?
Thanks,