More specifically, I noticed that if the Image I used is not transparent, the TextGlyph that displays text will be covered by the Image. For example, the IRF1_2 glyph on the bottom right corner of the diagram has a Unit of Information auxiliary glyph, if I use a non-transparent Image as the Style for the Unit of Information, then the text ct:mRNA will be covered up. I looked at the render-version-1-draft-1.pdf specification and couldn't find anything that talks about ordering of the objects in a rendered diagram.
For reference, here's the converted SBML with RenderInformation for the and.sbgn example:
https://github.com/NRNB-GSoC2017-SBML2SBGNML-Converters/SBML2SBGNML/blob/c1ff86112350d230abb4099122106c591404fd44/code/examples/sbgnml_examples/and_SBML.xml
I found that manual import of SBML in the COPASI UI and manual
generation of diagrams requires a lot of effort. I wanted to find a
easier way to do this just like batch jobs. I looked at all the
commandline options in http://copasi.org/Support/User_Manual/Model_Creation/Commandline_Version_and_Commandline_Options/ and didn't find an option to automatically generate diagrams. Is there an easier way to generate diagrams in COPASI?
--
You received this message because you are subscribed to a topic in the Google Groups "sbml-interoperability" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sbml-interoperability/TvgE6xtKm2A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sbml-interoperability+unsub...@googlegroups.com.
To post to this group, send email to sbml-interoperability@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sbml-interoperability/85eb9f47-1ad5-4d60-a798-22f1e1a20d7f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
These problems are still present on the last post on my blog:
Problem 1:
The clone markers can't be drawn using the existing object types in SBML
'render' package. See "simple chemical" glyph above. This is because we
can't draw "half" of a circle using attributes cx, cy, rx, ry. I think
if we have an "angle" attribute for drawing circles, then we can draw
parts of a circle by specifying the "start" and "end" degrees. For
example, here's something from calculus notes.
Problem 2:
For a detailed description, please see Note 1 on my Github wiki. We mapped the 'AND' glyph to a Species+SpeciesGlyph, but we cannot draw the center Curve that connects the Arcs. We need to create a separate ReferenceGlyph to mimic the appearance of the center Curve of a ReactionGlyph. The reason that we map SBGN logic operators to Species+SpeciesGlyph is because of the restriction we faced in Rule 21111 in the sbml-level-3-version-1-core-release-2 specification. ModifierSpeciesReference cannot participate in 2 reactions (the species attribute must refer to an existing Species). In this case, if the 'AND' glyph is mapped to a Reaction, then ModifierSpeciesReference would be a Product in the 'AND' Reaction and at the same time a Modifier in the 'association' Reaction.
Maybe we can relax Rule 21111 to allow the species attribute to refer to anything so that we can map SBGN logic operators to Reaction+ReactionGlyph.
Problem 3:
We also have a drawing order problem using COPASI. If the "fill" attribute is set to a color or gradient, then the TextGlyph will get covered up. This problem was mentioned by me in a Github issue, but it still couldn't be fixed. I think this is due to the drawing order of the objects in layout. If the TextGlyph is drawn last, then it should not get covered up by any other objects. For now, I didn't set any color to the Units of Information and State Variable glyphs, this is why the texts seem to collide with lines of other objects. Similarly, with compartmentGlyphs, the drawing order problem is also present (see this blog post, the neuronal_muscle_signalling.sbgn converted diagram).
Problem 4:
Maybe this is a problem with COPASI, but I'm not sure. The CubicBezier in layout can be drawn, but the RenderCubicBezier in render couldn't be draw in the converted diagram. See "multimer nucleic acid feature" glyph above. Notice that the bottom part of the glyph should be round, but instead, it's a straight line. I noticed that the "render:basepoint1_x", etc attributes has no effect on the graphics, could this be a bug in the 'render' package?
Thank you,
--
You received this message because you are subscribed to the Google Groups "sbml-interoperability" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sbml-interoperability+unsub...@googlegroups.com.
To post to this group, send email to sbml-interoperability@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sbml-interoperability/b9cd285c-8c8e-4977-a87c-f9b303e1b94d%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to sbml-interoperability+unsubscri...@googlegroups.com.
To post to this group, send email to sbml-interoperability@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sbml-interoperability/b9cd285c-8c8e-4977-a87c-f9b303e1b94d%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "sbml-interoperability" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sbml-interoperability/TvgE6xtKm2A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sbml-interoperability+unsub...@googlegroups.com.
To post to this group, send email to sbml-interoperability@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sbml-interoperability/CAEnSYu%2BrCh77iWS1AcsT%2BWWOgVDW4QT%3DBc2KKySBEYChRgHkvw%40mail.gmail.com.