"Could not parse XGMML file"

575 views
Skip to first unread message

Mike Smanski

unread,
Mar 19, 2014, 2:37:12 PM3/19/14
to cytoscape...@googlegroups.com
Hi all,
 
I am new to cytoscape and am just trying to load a network file downloaded from UCSF's SFLD site. The network I want to view is pretty large, but even when I really constrain the number of edges (blast cutoff < 10e-300), such that there are <10,000 nodes and <50,000 edges, I get the error message noted in the subject line. The available memory dictated in the 'cytoscape.vmoptions" file is 3600 Mb, which should be large enough for a network this size according to the cytoscape wiki. Any suggestions?
 
Thanks,
Mike

Tim Hull

unread,
Mar 19, 2014, 3:07:37 PM3/19/14
to cytoscape...@googlegroups.com
Do you have a link to the specific network you're trying to export?

Tim


--
You received this message because you are subscribed to the Google Groups "cytoscape-helpdesk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cytoscape-helpd...@googlegroups.com.
To post to this group, send email to cytoscape...@googlegroups.com.
Visit this group at http://groups.google.com/group/cytoscape-helpdesk.
For more options, visit https://groups.google.com/d/optout.

Matthew Bauerle

unread,
Apr 10, 2014, 11:50:30 AM4/10/14
to cytoscape...@googlegroups.com
I too am having this problem.  I have downloaded the Radical SAM superfamily network to an E value of 10^-20.  Attempts to open it have given me the same "Could not parse XGMML file" message. The network is very large so I assume that the size is causing a problem. The following is the link from the SFLD website: http://sfld.rbvi.ucsf.edu/django/superfamily/29/

Thank you in advance for your help.

On Wednesday, March 19, 2014 3:07:37 PM UTC-4, Tim Hull wrote:
Do you have a link to the specific network you're trying to export?

Tim
On Wed, Mar 19, 2014 at 11:37 AM, Mike Smanski <sma...@mit.edu> wrote:
Hi all,
 
I am new to cytoscape and am just trying to load a network file downloaded from UCSF's SFLD site. The network I want to view is pretty large, but even when I really constrain the number of edges (blast cutoff < 10e-300), such that there are <10,000 nodes and <50,000 edges, I get the error message noted in the subject line. The available memory dictated in the 'cytoscape.vmoptions" file is 3600 Mb, which should be large enough for a network this size according to the cytoscape wiki. Any suggestions?
 
Thanks,
Mike

--
You received this message because you are subscribed to the Google Groups "cytoscape-helpdesk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cytoscape-helpdesk+unsub...@googlegroups.com.

Scooter Morris

unread,
Apr 10, 2014, 1:13:05 PM4/10/14
to cytoscape...@googlegroups.com
Hi all,
    I'm looking into this... stay tuned...

-- scooter
To unsubscribe from this group and stop receiving emails from it, send an email to cytoscape-helpd...@googlegroups.com.

Scooter Morris

unread,
Apr 10, 2014, 1:40:28 PM4/10/14
to cytoscape...@googlegroups.com
Mike,
    What superfamily are you downloading?

-- scooter

Scooter Morris

unread,
Apr 10, 2014, 1:44:40 PM4/10/14
to cytoscape...@googlegroups.com
On 04/10/2014 08:50 AM, Matthew Bauerle wrote:
I too am having this problem.  I have downloaded the Radical SAM superfamily network to an E value of 10^-20.  Attempts to open it have given me the same "Could not parse XGMML file" message. The network is very large so I assume that the size is causing a problem. The following is the link from the SFLD website: http://sfld.rbvi.ucsf.edu/django/superfamily/29/

Hi Matthew,
    That network may stress most Cytoscape installations -- it's a 2.4GB XGMML file with 48,000 nodes and over 9 million edges.  My suggestion would be to use a much more stringent cutoff...

-- scooter

Thank you in advance for your help.
On Wednesday, March 19, 2014 3:07:37 PM UTC-4, Tim Hull wrote:
Do you have a link to the specific network you're trying to export?

Tim


On Wed, Mar 19, 2014 at 11:37 AM, Mike Smanski <sma...@mit.edu> wrote:
Hi all,
 
I am new to cytoscape and am just trying to load a network file downloaded from UCSF's SFLD site. The network I want to view is pretty large, but even when I really constrain the number of edges (blast cutoff < 10e-300), such that there are <10,000 nodes and <50,000 edges, I get the error message noted in the subject line. The available memory dictated in the 'cytoscape.vmoptions" file is 3600 Mb, which should be large enough for a network this size according to the cytoscape wiki. Any suggestions?
 
Thanks,
Mike
--
You received this message because you are subscribed to the Google Groups "cytoscape-helpdesk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cytoscape-helpdesk+unsub...@googlegroups.com.
To post to this group, send email to cytoscape...@googlegroups.com.
Visit this group at http://groups.google.com/group/cytoscape-helpdesk.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "cytoscape-helpdesk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cytoscape-helpd...@googlegroups.com.

Satomi

unread,
Jun 5, 2014, 5:38:23 AM6/5/14
to cytoscape...@googlegroups.com
Hello!

I used to write xgmml files to create cytoscape networks, but since I got a new version of cytoscape (v3) , the same files don't seem to work....?!  As a simple test, I have exported the existing network I made before into both xml and xgmml files, but only xml file is imported correctly when I load it to cytoscape (attached).  I recently created a new xgmml file which I really want to put in cytoscape but I also get 'Could not parse XGMML file' message. 
What would be the problems in this xgmml file (expressionetc.xgmml ), or using it?

Thank you very much in advance.
updated ETC050614.xgmml
updated ETC050614.xml
expressionetc.xgmml

Tim Hull

unread,
Jun 5, 2014, 11:29:07 AM6/5/14
to cytoscape...@googlegroups.com
First of all, did you export these networks using the "File-Export-Network" or "File-Export-Network and View" option? Note that using "Network and View" is necessary if you want to preserve the view (as the "updated ETC050614.xml" does, but the "updated ETC050614.xgmml" does not).

Finally, with respect to the "expressionetc.xgmml" that will not load - can you share the session file from which this was exported, or another session file that produces a similarly invalid XGMML file when exported?

Tim


To unsubscribe from this group and stop receiving emails from it, send an email to cytoscape-helpd...@googlegroups.com.

Satomi

unread,
Jun 5, 2014, 12:25:49 PM6/5/14
to cytoscape...@googlegroups.com
Thank you very much for your quick help!!
I attach the session file.....thank you again!!
To unsubscribe from this group and stop receiving emails from it, send an email to cytoscape-helpdesk+unsubscribe@googlegroups.com.

To post to this group, send email to cytoscape...@googlegroups.com.
Visit this group at http://groups.google.com/group/cytoscape-helpdesk.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "cytoscape-helpdesk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cytoscape-helpdesk+unsubscribe@googlegroups.com.

To post to this group, send email to cytoscape...@googlegroups.com.
Visit this group at http://groups.google.com/group/cytoscape-helpdesk.
For more options, visit https://groups.google.com/d/optout.
DR-ETC90.cys

Scooter Morris

unread,
Jun 5, 2014, 12:43:15 PM6/5/14
to cytoscape...@googlegroups.com
Hi Satomi,
    I've been able to successfully export this as File->Export->Network and View "/tmp/DR-ETC90.xgmml" and then been able re-import it after doing a "New->Session".

-- scooter
To unsubscribe from this group and stop receiving emails from it, send an email to cytoscape-helpd...@googlegroups.com.

Scooter Morris

unread,
Jun 5, 2014, 12:53:37 PM6/5/14
to cytoscape...@googlegroups.com
So, the problem with expressionetc.xgmml is that for node ATP5I there are real values that are exported as 'value=""':

<node id="9" label="ATP5I">
  <att type="real" name="ID" value="9"/>
  <att type="string" name="name" value="ATP5I"/>
  <att type="real" name="3m-1" value=""/>
  <att type="real" name="3m-2" value="9"/>
  <att type="string" name="3m-3" value="ATP5I"/>
  <att type="real" name="AL15-1" value="-920.6"/>
  <att type="real" name="AL15-2" value="490.3"/>
  <att type="real" name="AL15-3" value=""/>
  <att type="real" name="DR15-1" value="9"/>
  <att type="string" name="DR15-2" value="ATP5I"/>
  <att type="real" name="DR15-3" value="-920.6"/>
  <att type="real" name="AL24-1" value="490.3"/>
  <att type="real" name="AL24-2" value=""/>
  <att type="real" name="AL24-3" value="9"/>
  <att type="string" name="DR24-1" value="ATP5I"/>
  <att type="real" name="DR24-2" value="-920.6"/>
  <att type="real" name="DR24-3" value="490.3"/>
  <att type="real" name="AL30-1" value=""/>
  <att type="real" name="AL30-2" value="9"/>
  <att type="string" name="AL30-3" value="ATP5I"/>
  <att type="real" name="DR30-1" value="-920.6"/>
  <att type="real" name="DR30-2" value="490.3"/>
  <att type="real" name="DR30-3" value=""/>
  <graphics type="ELLIPSE" x="490.3" y="-920.6" fill="#ff0000"/>
</node>

Note the instances where you have 'value=""'.  The right thing to do would be:

<node id="9" label="ATP5I">
  <att type="real" name="ID" value="9"/>
  <att type="string" name="name" value="ATP5I"/>
  <att type="real" name="3m-2" value="9"/>
  <att type="string" name="3m-3" value="ATP5I"/>
  <att type="real" name="AL15-1" value="-920.6"/>
  <att type="real" name="AL15-2" value="490.3"/>
  <att type="real" name="DR15-1" value="9"/>
  <att type="string" name="DR15-2" value="ATP5I"/>
  <att type="real" name="DR15-3" value="-920.6"/>
  <att type="real" name="AL24-1" value="490.3"/>
  <att type="real" name="AL24-3" value="9"/>
  <att type="string" name="DR24-1" value="ATP5I"/>
  <att type="real" name="DR24-2" value="-920.6"/>
  <att type="real" name="DR24-3" value="490.3"/>
  <att type="real" name="AL30-2" value="9"/>
  <att type="string" name="AL30-3" value="ATP5I"/>
  <att type="real" name="DR30-1" value="-920.6"/>
  <att type="real" name="DR30-2" value="490.3"/>
  <graphics type="ELLIPSE" x="490.3" y="-920.6" fill="#ff0000"/>
</node>
 
Note that we've dropped all entries where the value isn't set.

-- scooter
To unsubscribe from this group and stop receiving emails from it, send an email to cytoscape-helpd...@googlegroups.com.

Satomi

unread,
Jun 6, 2014, 6:41:21 AM6/6/14
to cytoscape...@googlegroups.com
Thank you so much!!!!! Now working! 

Satomi
Reply all
Reply to author
Forward
0 new messages