Gviz - BiomartGeneRegionTrack and gene symbol
2
0
Entering edit mode
@romainfenouil-9584
Last seen 8.2 years ago

Hello,

after my first question (Gviz - Split a GeneRegionTrack by strand), I keep experimenting with Gviz but I have trouble understanding some behavior of BiomartGeneRegionTrack constructor.

When trying to use the 'symbol' argument to limit the result of annotation fetching from biomart, I observe a 'discrepancy' when using different genomes.

 

> annoTrack <- BiomartGeneRegionTrack(genome="hg18", name="ENSEMBL", symbol="ACTB");
> annoTrack
GeneRegionTrack 'ENSEMBL'
| genome: hg18
| active chromosome: chr7
| annotation features: 8
> min(annoTrack)
[1] 5533313
> max(annoTrack)
[1] 5536758

But when trying the same selection on "hg19" genome version, I get a huge range of genomic coordinates, and all associated annotations :

> annoTrack <- BiomartGeneRegionTrack(genome="hg19", name="ENSEMBL", symbol="ACTB");
> annoTrack
GeneRegionTrack 'ENSEMBL'
| genome: hg19
| active chromosome: chr7
| annotation features: 3176
> min(annoTrack)
[1] 70972
> max(annoTrack)
[1] 5603415

 

I think this is why I had trouble with my first post.

Can someone help me with this problem ?

 

Thank you.

My R version :
system         x86_64, linux-gnu                                 
status         Under development (unstable)                      
major          3                                                 
minor          3.0                                               
year           2015                                              
month          10                                                
day            14                                                
svn rev        69514
gviz • 2.3k views
ADD COMMENT
0
Entering edit mode
Robert Ivanek ▴ 730
@robert-ivanek-5892
Last seen 4 months ago
Switzerland

I believe the problem is link to data available via biomart in version hg19 there is additional gene with the same gene symbol.

http://grch37.ensembl.org/biomart/martview/d96a971d42e19b989d617c68a2109be3?VIRTUALSCHEMANAME=default&ATTRIBUTES=hsapiens_gene_ensembl.default.feature_page.ensembl_gene_id|hsapiens_gene_ensembl.default.feature_page.ensembl_transcript_id|hsapiens_gene_ensembl.default.feature_page.start_position|hsapiens_gene_ensembl.default.feature_page.end_position|hsapiens_gene_ensembl.default.feature_page.hgnc_symbol|hsapiens_gene_ensembl.default.feature_page.chromosome_name&FILTERS=hsapiens_gene_ensembl.default.filters.hgnc_symbol."ACTB"&VISIBLEPANEL=resultspanel

which does not exist in previous version

http://may2009.archive.ensembl.org/biomart/martview/91586135767a99e1153709f1afa2d64a/91586135767a99e1153709f1afa2d64a/91586135767a99e1153709f1afa2d64a?VIRTUALSCHEMANAME=default&ATTRIBUTES=hsapiens_gene_ensembl.default.feature_page.ensembl_gene_id|hsapiens_gene_ensembl.default.feature_page.ensembl_transcript_id|hsapiens_gene_ensembl.default.feature_page.chromosome_name|hsapiens_gene_ensembl.default.feature_page.start_position|hsapiens_gene_ensembl.default.feature_page.end_position|hsapiens_gene_ensembl.default.feature_page.hgnc_symbol&FILTERS=hsapiens_gene_ensembl.default.filters.hgnc_symbol."ACTB"&VISIBLEPANEL=resultspanel

hopefully this helps

ADD COMMENT
0
Entering edit mode
@romainfenouil-9584
Last seen 8.2 years ago

Thank you !

I finally understand what happen.

However, should it be considered as a normal behavior ? These genes are not even defined on the same chromosome which explains why I could not find them in the GeneRegionTrack object nor in the plot.

I should have looked at the original database, a big thank you again for that !

ADD COMMENT
0
Entering edit mode

It is not possible to combine symbol filter with a range restriction.

And unfortunately in this particular case exactly the same gene symbol is used for completely different genes.

ADD REPLY
0
Entering edit mode

Thank you. I understand, maybe a warning should be raised in this case.

I actually found some other bugs when using the library, is there a better place to report them (github) ?

ADD REPLY
0
Entering edit mode
Please do it here, we are happy to fix them Best Robert > On 11 Feb 2016, at 16:03, romain.fenouil [bioc] <noreply@bioconductor.org> wrote: > > Activity on a post you are following on support.bioconductor.org > User romain.fenouil wrote Comment: Gviz - BiomartGeneRegionTrack and gene symbol: > > > Thank you. I understand, maybe a warning should be raised in this case. > > I actually found some other bugs when using the library, is there a better place to report them (github) ? > > > Post tags: gviz > > You may reply via email or visit C: Gviz - BiomartGeneRegionTrack and gene symbol >
ADD REPLY

Login before adding your answer.

Traffic: 570 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6