Skip to content

wikipathways/wikipathways-java-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Java Client Library for WikiPathways

Introduction

Java library for the WikiPathways web service.

This library reimplements most of the methods from the original WikiPathways API client.

Instead of accessing the WikiPathways pathway database from Java through the REST web service API (http://webservice.wikipathways.org), the library now access the database via WikiPathways JSON File and WikiPathways GitHub assets for better performance and maintainability.

It provides nearly identical functionality to rWikiPathways, an R package in Bioconductor available to R programmers.

Dependencies

You need the following tools:

  • A computer with Windows, macOS, or Linux
  • JDK 11
  • Maven 3 (Tested with version 3.8.6)

Usage

Compile the code and run the tests with:

cd org.wikipathways.client
mvn clean install

New Methods

This library includes the following new methods:

  • getCommunities
  • getPathwaysByCommunity
  • getCommunitiesByPathway

Deprecated Methods

The method for maintaining a local cache of WikiPathways pathways is now deprecated. The following methods are also deprecated:

  • getRecentChanges
  • login
  • updatePathway
  • createPathway
  • removeCurationTag
  • saveCurationTag
  • getCurationTags
  • getCurationTagsByName
  • getCurationTagHistory
  • getColoredPathway
  • findInteractions
  • saveOntologyTag
  • removeOntologyTag
  • getUserByOrcid