Giter VIP home page Giter VIP logo

queries's People

Contributors

arnikz avatar c-martinez avatar gnr1990 avatar matthijsbrouwer avatar

Watchers

 avatar  avatar

queries's Issues

Improve/add SPARQL queries

  • List all QTLs in an articles (using PMCID)
  • List all trait IDs give a trait term
  • List all QTLs associated with a trait ID
  • List all genes in a QTL given a QTL ID
  • List all genes associated with a QTL(s) given a trait ID
  • List all features given start/end position on a chromosome
  • Get annotations from SGN and UniProt given a gene ID
  • Get orthologs of tomato/potato genes in potato/tomato
  • Get paralogs in potato/tomato
  • Set default value(s) for input parameters (e.g., gene, QTL or trait ID)
  • Summarize QTLs per species

Query1: List all QTLS in an article not working.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX obo: <http://purl.obolibrary.org/obo/>
PREFIX faldo: <http://biohackathon.org/resource/faldo#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX so: <http://purl.obolibrary.org/obo/so#>

SELECT
   ?qtl_uri
   ?qtl_id
   ?pmc_id 
WHERE {
   GRAPH <http://europepmc.org/articles> {
      ?qtl_uri a obo:SO_0000771 ;
          dcterms:identifier ?qtl_id;
          dcterms:isReferencedBy ?pmc_id.          
      
      BIND(uri(concat("http://identifiers.org/pmc/", ?_pmc_id )) AS ?user_pmc_id)      


      BIND(bif:strcontains(?pmc_id,?user_pmc_id ) AS ?match)
      FILTER(?match = 1)
   }
}

# EXAMPLE: ?pmc_id = PMC4266912

Update getGeneAnnotations query

Currently, GO IDs are returned for a gene ID only if there is a gene name (via uniprot:encodedBy/skos:prefLabel predicate)->make these independent (or optional). In addition to GO IDs return also the corresponding GO terms.

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.