An application for curation of LOINC2HPO annotations.
Loinc2HpoMiner requires Java 16 or higher.
Loinc2HpoMiner uses loinc2hpo. Currently, this needs to be downloaded and installed locally.
git clone https://github.com/monarch-initiative/loinc2hpo
cd loinc2hpo
mvn install
Following this, download this repository and build it with maven.
git clone https://github.com/pnrobinson/loinc2hpoMiner
cd loinc2hpoMiner
mvn package
The app can then be started with
java -jar target/loinc2hpo-miner-0.1.1.jar
The Loinc2HpoMiner code uses the following to access data in the POM file.
@Autowired
BuildProperties buildProperties;
In order for the build system of IntelliJ to understand this, we need to set the following: Settings/Build, Execution, Deployment/Build Tools/Maven/Runner: select the option "Delegate IDE build/run actions to Maven."
Before using loinc2hpoMiner, we need to set a few things up using the configuration
menu.
- Set path to the LOINC
LoincTableCore.csv
file, which is freely available (after registration) at this site: https://loinc.org/downloads/loinc-table/ - Download HPO file (activating this menu item will download the latest hp.json file to the loinc2hpominer user directory)
- Set path to curation file. It is easiest to clone this repository (https://github.com/TheJacksonLaboratory/loinc2hpoAnnotation). Point the tool to the loinc2hpo-annotations.tsv file. If you would like to contribute new annotations, please checkout the develop branch and make a pull request against develop.
- Set biocurator ID. This could be your ORCID id (e.g., ORCID:0000-0000-0000-0042) or something like HPO:probinson
- The show settings item shows the results of the first four steps. The show annotations item is still work in progress.