Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Rohan Jaswal
    @rohanjaswal2507
    alt
    Rohan Jaswal
    @rohanjaswal2507
    Here is the link to repo where I will integrate all these widgets : https://github.com/rohanjaswal2507/biojsIPython
    Rohan Jaswal
    @rohanjaswal2507
    working on wrapping up of cytoscape.js in IPython
    Rohan Jaswal
    @rohanjaswal2507
    Added basic graph drawing using cytoscape.js:
    rohanjaswal2507/biojsIPython@a2fd22e
    Here is the screenshot:
    http://imgur.com/wVl6lId
    Rohan Jaswal
    @rohanjaswal2507
    Please give your reviews, comments and inputs so that I can make it better.
    A lot of work needs to be done to wrap up cytoscape completely. Therefore, In the beginning I will be focusing on the basic functionalities of the application.
    Tim Ruffles
    @timruffles
    Okay - looks great! So from these beginnings, how confident are you that we'll be able to achieve some of the project goals? The code we've written so far proves the APIs work. What more do you hope to learn from fully wrapping Cytoscape? What do we need to prove: data in/out, and UI interactions?
    for the project to be successful, we want to move towards a point where biojs authors can easily achieve and advertise iPython compatibility
    Rohan Jaswal
    @rohanjaswal2507
    Thanks @timruffles.
    I am quite confident that we will be able to achieve a BioJS specification which will enable the use of these components in Python.
    And yes, the most important thing to do is to manage data in/out and UI interactions for each component.
    For this specification to be fully compatible, we will need inputs from the people who are gonna use these components as well.
    For example, there might be some differences in the approach used by me and some other Person who wants to use a biojs component in Python.
    And as far as wrapping up of cytoscape is concerned, even I don't know what do I have to learn and achieve.
    Since cytoscape is a large library and has so many functions and features, So I would initially like to implement all the major and significant ones.
    And then I might ask for suggestions and inputs from the people who use cytoscape.
    Rohan Jaswal
    @rohanjaswal2507
    @timruffles Can we link this room to the git repo? So that we have notifications about updates on the repo here as well.
    Rohan Jaswal
    @rohanjaswal2507
    updated the repo with basic wigexplorer .
    https://github.com/rohanjaswal2507/biojsIPython
    This message was deleted
    Rohan Jaswal
    @rohanjaswal2507
    here is the screenshot of a simple example
    Rohan Jaswal
    @rohanjaswal2507
    Managed to wrap biojs-vis-sequence today.
    link to the commit: rohanjaswal2507/biojsIPython@4170665
    Rohan Jaswal
    @rohanjaswal2507
    I am working on wrapping up exon-intron-map. So, I have a question.
    As given in the example snippet (http://biojs.io/d/biojs-vis-exon-intron-map), the user manually writes the sequence in the textbox, then clicks on the submit button to render the output.
    So, I want to ask how should I design the widget class for this component. Should I create a similar textbox and then take input from the user and the render it.?
    Tim Ruffles
    @timruffles
    Doesn't seem v relevant to the project goals
    Rohan Jaswal
    @rohanjaswal2507
    Or should I just take the sequence as a string ?
    @timruffles the textbox approach?
    Tim Ruffles
    @timruffles
    This is feature development on a component in the registry
    It'd be like the people on npm worrying about a random package in npm :)
    Now you've understood what it takes to wrap a JS component for iPython, I would suggest it's time to start writing a proposal to help people do the same thing for their components
    To put this in programming terms, we're more interested in writing interface BioJSComponent than anything that class SomeRandomWidget implements BioJsComponent - does that make sense?
    This project is not about writing any particular widgets - that's just research to help us achieve the goal
    Rohan Jaswal
    @rohanjaswal2507
    yes, I understand that.
    m trying to examine some biojs components for that first. As different components have different workflows.
    Tim Ruffles
    @timruffles
    Sure - but we don't have a lot of time. Let's get into the serious stuff! :)
    We should really start aiming for A) a guide to getting your biojs comp into iPy B) thoughts on a standard API to make this easy C) tools to make this painless as possible
    if we have A, we can ask some people to try it out, which will inform B
    after they've tried B out, we can build tools that allow us to hoist a well-made biojs comp into iPy
    Rohan Jaswal
    @rohanjaswal2507
    Yeah sure.
    I am working on something same like jdfreder's jsobject.
    I will first complete and do some testing and then will start asking people to port their components.
    Tim Ruffles
    @timruffles
    Ok - what's the JSObject-alike going to help us with?
    We really need to focus on the project goals, or they're not going to happen. Perhaps you could give me some indication of when A, B and C above will happen? @rohanjaswal2507
    Rohan Jaswal
    @rohanjaswal2507
    Jsobject would expose the JS objects directly in pyhton. By utilising the object JSON used by a comm in ipyhton.
    Guide and application to convert will be soon ready after I finish the application to expose JS objects directly. As all the objects used by biojs components will be directly exposed in Python.
    I need 1-2 days to get my code working.
    After this, I believe our tasks are gonna get easy.
    Tim Ruffles
    @timruffles
    Okay - sounds interesting! Did you chat to the iPython ppl about the need for this, above the IPy communication API which you're using?
    Rohan Jaswal
    @rohanjaswal2507
    Yes, had a little chat with Jonathan Frederic, the developer of jsobject. He gave me some insights.