Giter Site home page Giter Site logo

royludo / cd2sbgnml Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 6.0 13.74 MB

Translation between CellDesigner-flavoured SBML and SBGN-ML

Home Page: https://royludo.github.io/cd2sbgnml

License: GNU Lesser General Public License v3.0

Java 99.83% Shell 0.10% CSS 0.07%
bioinformatics biological-networks sbgn sbgnml sbml systems-biology

cd2sbgnml's People

Contributors

royludo avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cd2sbgnml's Issues

Info boxes placed incorrectly

We recently noticed in Newt that info boxes are not correctly placed around associated nodes by the converter. We now explicitly tile info boxes when importing from CellDesigner in Newt (iVis-at-Bilkent/sbgnviz.js@1d0b5ae) but other tools will not be doing this and will expect them in correct/valid locations.

Parent - child relation inconsistency

When you import from the CellDesigner sample M_phase.xml, pretty much all nodes except the process nodes go into the single compartment but not the process nodes. If there is no direct way to infer this from CD file, one could check the substrates and products of each process and if they all belong to the same compartment, the process could also be placed there.

TODO list for CD->SBGN

  • logic gates

  • modifiers pointing to direct links (without process) -> abandoned, not valid SBGN

  • anchor points for receptors

  • and truncated proteins

  • reversible reactions

  • keep style information

  • keep notes

  • residues for NA features

  • style consistency for process/logic gates

  • clone markers

  • entities pointing to UNKNOWN logic gates must point directly to concerned process

  • MIRIAM annotations

  • label location for complexes

  • logic gate reactions

Consecutive conversions result in NullPointerException

By using the compartment_closeup.xml file that is provided under samples folder, I tried converting the file from cd to sbgnml and from sbgnml to cd consecutively.

Cell Designer -> SBGNML conversion was successful.
SBGNML -> Cell Designer conversion was successful.
Cell Designer -> SBGNML conversion resulted in a NullPointerException with the following error message,

Exception in thread "main" java.lang.NullPointerException at fr.curie.cd2sbgnml.xmlcdwrappers.ModelWrapper.addBasicLists(ModelWrapper.java:105) at fr.curie.cd2sbgnml.xmlcdwrappers.ModelWrapper.create(ModelWrapper.java:62) at fr.curie.cd2sbgnml.CD2SBGNML.toSbgn(CD2SBGNML.java:53) at fr.curie.cd2sbgnml.CD2SBGNML.convert(CD2SBGNML.java:789) at fr.curie.cd2sbgnml.Cd2SbgnmlScript.convert(Cd2SbgnmlScript.java:48) at fr.curie.cd2sbgnml.Cd2SbgnmlScript.main(Cd2SbgnmlScript.java:33)

Because of this issue, I am not able to import the file that is exported by using cd2sbgnml library.

Improve GUI usability

  • Auto generate output and log in same folder if nothing specified.

  • highlight direction of translation better

Conversion failure

Could be due to ToDo items in earlier issues

  • Open newt
  • Files->Samples->Cam-Camk Dependent Signaling to the nucleus
  • Export->Cell Designer
  • Conversion fails

reaction node labels lost in translation

Hi

I noticed that the reaction node labels, i.e. the reaction names like "PGMT" do not get transferred to the GraphML files produced. It is captured in the SBGN but not the GraphML

Step1_ReconMap_2.01_Original.xml
image

Step2_ReconMap_SBGN_from_CellDesigner.sbgn, PGMT is node="pr_4e79f0a2-236d-4abd-918e-2a94b664eb90"
image

Step3_ReconMap_yEd_from_SBGN.graphml
image

Thank you.

Use libsbgn 0.2

Downgrade from the unstable to last stable version of libsbgn to ensure compatibility with most tools.

Misc issues from 0.4.2

  • On windows:
    • double arrow char in app title not recognized
    • button animation always flickers
    • BOM still causes problems
  • unnecessary 'remove' appearing in log

TODO list for SBGN -> CD

  • logic gates connecting phenotypes

  • open/closed states variables and associated ion channel state

  • notes and annotations

  • annotation glyphs

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.