This is the repository containing the core components and documentation of the tranSMART platform, an open source data sharing and analytics platform for translational biomedical research. tranSMART is maintained by the tranSMART Foundation. Official releases can be found on the tranSMART Foundation website, and the tranSMART Foundation's development repositories can be found at https://github.com/transmart/.
The platform provides an API, which is available under transmart-rest-api.
Its v1
endpoints are documented there, the v2
endpoints are documented using Swagger in open-api.
There is a frontend application transmartApp built on Grails, and an Angular based
front end named glowing bear is being developed.
The OAuth2 authentication of the API is currently also part of transmartApp
.
Database definitions and installation instructions are in transmart-data. A data loading tool based on Spring Batch is available as transmart-batch.
Before version 17.1, the tranSMART source code was split over a number of different repositories with names such as transmartApp, transmart-core-api, transmart-core-db, transmart-rest-api, RModules, etc. As of version 17.1 the components that make up the core server have been merged into a single repository. If you want the source for tranSMART 16.x or older, look at the separate repositores, if you want the sources for version 17+, you will want this repository.
The project is built using gradle. Any version > 2.12
should suffice.
To build the project, run:
gradle :transmartApp:bootRepackage
This should create the file transmartApp/build/libs/transmartApp-17.1-SNAPSHOT.war
.
Run it with:
java -jar transmartApp/build/libs/transmartApp-17.1-SNAPSHOT.war
The application expects configuration in ~/.grails/transmartConfig
. Check transmart-data on how to set up the database and generate the required configuration files.
This repository is a merge of several, previously separated, repositories from github.com/transmart.
The history of those repositories is merged in as well (branch transmart-history), but the current master
branch is disconnected from
these histories. The master branch can locally be connected to the history with git replace
.
# replace the master-base object with transmart-history
git replace 58a48ff dd57ce1
Copyright © 2008-2017 See the COPYRIGHT file.
tranSMART is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
Some subprojects may have more permissive licenses. Check the individual projects and files for details.