Comments (6)
Do you know about knownCanonical?
http://genome.ucsc.edu/cgi-bin/hgTables?hgta_doSchemaDb=hg19&hgta_doSchemaTable=knownCanonical
from cruzdb.
ping @lbeltrame : does knownCanonical do what you need?
from cruzdb.
In data martedì 8 ottobre 2013 07:10:06, Brent Pedersen - Bioinformatics ha
scritto:
ping @lbeltrame : does knownCanonical do what you need?
It does, through a rather convoluted query, but it does.
from cruzdb.
can you post the query? maybe we can make it simpler. probably related to #9
On Tue, Oct 8, 2013 at 8:13 AM, Luca Beltrame [email protected]:
In data martedì 8 ottobre 2013 07:10:06, Brent Pedersen - Bioinformatics
ha
scritto:ping @lbeltrame : does knownCanonical do what you need?
It does, through a rather convoluted query, but it does.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/11#issuecomment-25893218
.
from cruzdb.
can you post the query? maybe we can make it simpler. probably related to #9
It is something like this (apologies, I can't format it via replies through
email):
query(
ucsc.kgXref.geneSymbol, ucsc.knownCanonical.chromStart,
ucsc.knownCanonical.chromEnd,ucsc.refFlat.strand).filter(
(ucsc.kgXref.geneSymbol.in_(genes.values)) &
(ucsc.kgXref.kgID == ucsc.knownCanonical.transcript) &
(ucsc.refFlat.geneName == ucsc.kgXref.geneSymbol)
).distinct()
Where "ucsc" is my Genome instance, "genes" is a list of genes I'm interested
in and "query" is just an alias for "ucsc.session.query".
from cruzdb.
cheers. I'll make that simpler soon.
On Tue, Oct 8, 2013 at 8:36 AM, Luca Beltrame [email protected]:
can you post the query? maybe we can make it simpler. probably related
to #9It is something like this (apologies, I can't format it via replies
through
email):query(
ucsc.kgXref.geneSymbol, ucsc.knownCanonical.chromStart,
ucsc.knownCanonical.chromEnd,ucsc.refFlat.strand).filter(
(ucsc.kgXref.geneSymbol.in_(genes.values)) &
(ucsc.kgXref.kgID == ucsc.knownCanonical.transcript) &
(ucsc.refFlat.geneName == ucsc.kgXref.geneSymbol)
).distinct()Where "ucsc" is my Genome instance, "genes" is a list of genes I'm
interested
in and "query" is just an alias for "ucsc.session.query".—
Reply to this email directly or view it on GitHubhttps://github.com//issues/11#issuecomment-25895238
.
from cruzdb.
Related Issues (20)
- Misleading docstring for dataframe() HOT 2
- add ncbi link when annotating
- Other MySQL dialects (aside MySQLdb) are not supported HOT 4
- Figure out what needs to be done for Python 3 compatiblity HOT 8
- sqlalchemy needs to be added to requirements HOT 1
- Is it possible to continue to mirror a database to the same destination if the connection breaks? HOT 4
- Gene ABR Cruzdb shows 8 different entries in RefGene whereas RefGene in UCSC shows 5 HOT 1
- one exon missing HOT 2
- Installation Issue HOT 6
- list of tables HOT 1
- invalid syntax? HOT 6
- cruzdb issues when called within Python 3 HOT 1
- ImportError: cannot import name MapperExtension HOT 2
- unable to use package after install HOT 1
- Add as PyPI package HOT 1
- access to bioconductor's TxDb's
- protein sequence
- report which exon from annotate
- script to create knownGene with name
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cruzdb.