Skip to content

Instantly share code, notes, and snippets.

@yochannah
Created November 14, 2016 12:20
Show Gist options
  • Save yochannah/95976e77b94ec2bf607e1cf3c50c8b41 to your computer and use it in GitHub Desktop.
Save yochannah/95976e77b94ec2bf607e1cf3c50c8b41 to your computer and use it in GitHub Desktop.
SBGN-ML representation of EBI-10828997 interaction
{
name:"sbgn",
attrs: 'xmlns="http://sbgn.org/libsbgn/0.2"',
children: [
{name:'map',
attrs:{language:'entity relationship'},
children: [
{name:'glyph',
attrs : {id: "sufu_human", class : "entity"},
children: [
{name : 'label', attrs: {text:"sufu_human"}},
{name : 'bbox', attrs : {y : 10.0, x: 10.0, h:40.0, w:70.0}},
{name:'glyph',
attrs : {id: "sufu_human_type", class : "unit of information"},
children: [
{name : 'label', attrs: {text:"mt:prot"}},
{name : 'bbox', attrs : {y : 40.0, x: 20.0, h:20.0, w:50.0}}
]}
]},
{name:'glyph',
attrs : {id: "gli3_human", class : "entity"},
children: [
{name : 'label', attrs: {text:"gli3_human"}},
{name : 'bbox', attrs : {y : 90.0, x: 90.0, h:40.0, w:70.0}},
{name:'glyph',
attrs : {id: "gli3_human_type", class : "unit of information"},
children: [
{name : 'label', attrs: {text:"mt:prot"}},
{name : 'bbox', attrs : {y : 120.0, x: 100.0, h:20.0, w:50.0}}
]}
]},
{name : 'arc',
attrs: {
target : 'sufu_human',
source : 'gli3_human',
class : "interaction",
id : "x"},
children: [
{name:'glyph',
attrs : {id: "gli3_human_sufu_human" },
children: [
{name : 'bbox', attrs : {y : 50, x: 10, h:170.0, w:170.0}},
{name : 'start', attrs : {y : 50, x:80}},
{name : 'end', attrs : {y : 90, x:90}}
]}
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<sbgn xmlns="http://sbgn.org/libsbgn/0.2">
<map language="entity relationship">
<glyph id="sufu_human" class="entity"><label text="sufu_human"/><bbox y="10" x="10" h="40" w="70"/>
<glyph id="sufu_human_type" class="unit of information"><label text="mt:prot"/><bbox y="40" x="20" h="20" w="50"/></glyph>
</glyph>
<glyph id="gli3_human" class="entity"><label text="gli3_human"/><bbox y="90" x="90" h="40" w="70"/>
<glyph id="gli3_human_type" class="unit of information"><label text="mt:prot"/><bbox y="120" x="100" h="20" w="50"/></glyph>
</glyph>
<arc target="sufu_human" source="gli3_human" class="interaction" id="x">
<glyph id="gli3_human_sufu_human"><bbox y="50" x="10" h="170" w="170"/><start y="50" x="80"/><end y="90" x="90"/></glyph>
</arc>
</map>
</sbgn>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment