Skip to content

Commit

Permalink
change node shape
Browse files Browse the repository at this point in the history
  • Loading branch information
khanspers committed Dec 18, 2024
1 parent a9934f3 commit bb8a3ed
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions stages/draw-complex/draw-complex-solution.gpml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<Pathway xmlns="http://pathvisio.org/GPML/2013a" Name="New Pathway" Version="20241218" Organism="Homo sapiens">
<Graphics BoardWidth="538.75" BoardHeight="246.75" />
<Graphics BoardWidth="305.0" BoardHeight="228.5" />
<DataNode TextLabel="mTORC1" GraphId="dbdd7" Type="Complex" GroupRef="a0334">
<Graphics CenterX="218.0" CenterY="97.0" Width="90.0" Height="20.0" ZOrder="32772" FontSize="12" Valign="Middle" />
<Graphics CenterX="218.0" CenterY="97.0" Width="90.0" Height="25.0" ZOrder="32772" FontSize="12" Valign="Middle" ShapeType="RoundedRectangle" />
<Xref Database="Complex Portal" ID="CPX-503" />
</DataNode>
<DataNode TextLabel="MTOR" GraphId="a03c6" Type="Protein" GroupRef="a0334">
Expand Down
Binary file modified stages/draw-complex/draw-complex-solution.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions stages/draw-complex/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ <h2>Your Mission</h2>

<ul>
<!--<li>Download the starter pathway here: <a href="https://academy.wikipathways.org/data/draw-complex-start.gpml">draw-complex-start.gpml</a>.</li>-->
<li>Launch PathVisio and start a new blank pathway, select <b>Homo sapiens</b> as the organism.</li>
<li>Add three data nodes of type <b>Protein</b>, and annotate them with Uniprot-TrEMBL identifiers for MTOR, MLST8 and RPTOR, respecitvely. You can use the built-in identifier search tool for this.</li>
<li>Launch PathVisio and start a new pathway, select <b>Homo sapiens</b> as the organism.</li>
<li>Add three data nodes of type <b>Protein</b>, and annotate them with Uniprot-TrEMBL identifiers for MTOR, MLST8 and RPTOR, respectively. You can use the built-in identifier search tool for this.</li>
<li>Add a 4th node, and with the node selected, switch the node type to <b>Complex</b> in the <b>Properties</b> panel on the right.</li>
<li>Next we will need to identify the correct identifier for the mTORC1 complex by searching the <a href="https://www.ebi.ac.uk/complexportal/home" target="_blank">Complex Portal website</a>. On this website, perform a simple search for "mTORC1", and select the entry for Homo sapiens. Find the <b>ComplexAc</b> identifier; it should be CPX-4473.</li>
<li>In PathVisio, double-click on the new complex node. For <b>Text label</b>, enter <b>mTORC1</b>. In the <b>Identifier</b> field, enter the ComplexAc identifier (CPX-4473). Finally, select <b>Complex Portal</b> from the drop-down under <b>Database</b>.</li>
<li>To visually distinguish the complex node from the three protein nodes, change the height of the complex node to 20. This is done by selecting the node and updating the height in the <b>Properties</b> panel on the right.</li>
<li>In PathVisio, double-click on the new complex node. For <b>Text label</b>, enter mTORC1. In the <b>Identifier</b> field, enter the ComplexAc identifier (CPX-4473). Finally, select <b>Complex Portal</b> from the drop-down under <b>Database</b>.</li>
<li>To visually distinguish the complex node from the three protein nodes, change the <b>Shape Type</b> to <b>ROundedRectangle</b> in the <b>Properties</b> panel on the right.</li>
<li>Select all 4 nodes and click the <b>Stack vertical centers</b> button <img src="../../images/stack-vertical.png"> from the toolbar.</li>
<li>With the two data nodes selected, right-click and select <b>Create complex</b>. Alternatively, you can use the keyboard shortcut <b>Ctrl+P</b> (<b>Command+P</b> on Mac) to create the complex.</li>
<li>Done!</li>
Expand Down

0 comments on commit bb8a3ed

Please sign in to comment.