Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overview of pathways doesn't link them #31

Open
egonw opened this issue Jan 31, 2015 · 2 comments
Open

Overview of pathways doesn't link them #31

egonw opened this issue Jan 31, 2015 · 2 comments
Labels

Comments

@egonw
Copy link
Member

egonw commented Jan 31, 2015

For example, if I compare http://www.wikipathways.org/index.php/Pathway:WP1849 with the original [0] then the arrows seem to be missing.

0.http://www.reactome.org/PathwayBrowser/#DB=gk_current&FOCUS_SPECIES_ID=48887&FOCUS_PATHWAY_ID=556833

@pennatula pennatula added this to the Release v1.1.0 milestone Jul 9, 2015
@pennatula pennatula added the bug label Jul 13, 2015
@pennatula pennatula assigned pennatula and unassigned pennatula Jul 13, 2015
@pennatula
Copy link
Member

This pathway converted in Version 50 but the one from Version 53 gives this error.

converting pathway #556833 Metabolism of lipids and lipoproteins...
Creating new GPML pathway 556835
Warning creating a new DataSource with systemCode Re and null fullName!
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.pathvisio.core.biopax.BiopaxNode.(BiopaxNode.java:41)
at org.pathvisio.core.biopax.PublicationXref.(PublicationXref.java:32)
at org.gk.gpml.ReactometoGPML2013.addLitRef(ReactometoGPML2013.java:226)
at org.gk.gpml.ReactometoGPML2013.convertNode(ReactometoGPML2013.java:520)
at org.gk.gpml.ReactometoGPML2013.convertPathway(ReactometoGPML2013.java:794)
at org.gk.gpml.CLIConverter.convertReactomeToGPML(CLIConverter.java:170)
at org.gk.gpml.CLIConverter.convertReactomeToGPMLByID(CLIConverter.java:206)
at org.gk.gpml.CLIConverter.main(CLIConverter.java:63)
Caused by: java.lang.IllegalArgumentException: Full name does not match for DataSource Re was null so it can not be changed to Reactome
at org.bridgedb.DataSource.findOrRegister(DataSource.java:629)
at org.bridgedb.DataSource.register(DataSource.java:595)
at org.bridgedb.bio.DataSourceTxt.loadLine(DataSourceTxt.java:69)
at org.bridgedb.bio.DataSourceTxt.loadAnInputStream(DataSourceTxt.java:63)
at org.bridgedb.bio.DataSourceTxt.init(DataSourceTxt.java:42)
at org.pathvisio.core.model.GpmlFormat.(GpmlFormat.java:55)
... 8 more

@egonw
Copy link
Member Author

egonw commented Sep 22, 2015

Anwesha, can you please try the following:

  1. Replace

    DataSource ds = DataSource.getBySystemCode("Re");
    

    with

      DataSource ds = DataSource.getExistingBySystemCode("Re");
    
  2. initialize the DataSourceTxt yourself, at the very start of the convertPathway() method, with:

    DataSourceTxt.init();
    

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants