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
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.
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) ?