Code Monkey home page Code Monkey logo

resource_access_tools's Introduction

Resource Access Tools

Resource Access Tools (RATs) are used to generate data as the first step in the NCBO Resource Index Workflow. The code was originally written by Optra as a part of a larger project that contained both the RATs and the Population (Annotation) code. The code base has since been split into two separate projects:

When the code base was separated, we attempted to remove anything that didn't directly pertain to RATs from this repository. There are still some questions around where the source data for the RAT process lives, e.g., the SOAP services for data retrieval from NCBI and PharmGKB are retired.

The PubMed RAT was reimplemented in October, 2016 and is now located in a separate repository.

Config

There is a configuration file located in src/main/filters that allows you to designate the Resource to process and database username and password information. You shouldn't need to tweak this much, mainly just these two settings unless you hit problems.

Local Maven External Libraries

There are many specialized libraries that the RATs use to access biomedical resources which aren't available in a hosted Maven repository. Though it's against the "Maven spirit", those libraries have been included in the git repo. However, to make them accessible to Maven you will need to run a bash script (see below) that installs them into your local Maven repo (typically located in ~/.m2).

  • cd external_lib
  • ./maven_local_install.sh

Build

You can use Maven to compile and package a runnable jar file. There is a jar produced that contains all dependencies to be used for distribution.

  • mvn package

Run

Running the project requires access to a MySQL database (configured as above) and the source files for the RATs you are going to process. Check the source files for each RAT for more information.

  • java -jar target/resource-access-tools-1.0-SNAPSHOT-jar-with-dependencies.jar

resource_access_tools's People

Contributors

jvendetti avatar palexander avatar rmalviya avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.