Giter Club home page Giter Club logo

Comments (8)

yocontra avatar yocontra commented on July 27, 2024

0.4.0 pushed

from gql.

arvindr21 avatar arvindr21 commented on July 27, 2024

Thanks @contra.

Wanted to know, if I can add more genosets to the Genome project. Also wanted to create a Yeoman/Slush generator as well. Your thoughts?

Thanks.

from gql.

yocontra avatar yocontra commented on July 27, 2024

@arvindr21

Generators: go for it
genosets: You want them on the genomejs page? There isn't really any reason for that, you can publish your own and add the genoset keyword on npm

from gql.

arvindr21 avatar arvindr21 commented on July 27, 2024

Great! I was planning to add it as part of this organization, genoset keyword also works!

QQ on the genoset testing, for a given GS, I am sure we do not have enough test data to validate a given case, so how do we approach it?

And is there any GS Criteria to GQL mapping documentation? I tried to create a Genoset for Female using : http://www.snpedia.com/index.php/Gs145/criteria but could not as I was not sure how to represent

or(rs2032651(-;-),
        atleast(3,
      rs1034428(A;G), 
...

in GQL.

Tried this

var query = gql.query();
var q1 = gql.query();
var q2 = gql.query();

q1.exists("rs2032651");

q2.needs(3);
q2.exact("rs1034428", "AG");
q2.exact("rs10521792", "AG");
// snipp

query.or(q1, q2);

var genoStream = query.stream();

and it did not work.

Thanks.

from gql.

yocontra avatar yocontra commented on July 27, 2024

Yeah there are some cases that can't be expressed in GQL yet, still figuring out how to do those (like atleast). Mainly nesting of conditions is tricky right now. I'm totally open to scrapping what I have and rewriting it differently if you have any better syntax ideas

from gql.

arvindr21 avatar arvindr21 commented on July 27, 2024

Perfect. Thanks! I will go through the same and get back to you!

Thanks for creating a platform like this to explore @contra :)

from gql.

yocontra avatar yocontra commented on July 27, 2024

I was thinking about redoing it as a JSON thing or just writing a parser for the existing GQL format

from gql.

arvindr21 avatar arvindr21 commented on July 27, 2024

Ok, You may be a better judge here.

from gql.

Related Issues (8)

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.