Coder Social home page Coder Social logo

Comments (6)

brentp avatar brentp commented on July 26, 2024

Do you know about knownCanonical?

http://genome.ucsc.edu/cgi-bin/hgTables?hgta_doSchemaDb=hg19&hgta_doSchemaTable=knownCanonical

from cruzdb.

brentp avatar brentp commented on July 26, 2024

ping @lbeltrame : does knownCanonical do what you need?

from cruzdb.

lbeltrame avatar lbeltrame commented on July 26, 2024

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.

brentp avatar brentp commented on July 26, 2024

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.

lbeltrame avatar lbeltrame commented on July 26, 2024

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.

brentp avatar brentp commented on July 26, 2024

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 #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".


Reply to this email directly or view it on GitHubhttps://github.com//issues/11#issuecomment-25895238
.

from cruzdb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.