-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from monarch-initiative/update_docs
cleaned up docs and adapted to the two use cases
- Loading branch information
Showing
3 changed files
with
31 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,36 @@ | ||
# Set-up | ||
|
||
phenopacket2prompt requires at least Java 17. To build it from scratch, maven is also required. | ||
|
||
## Download command | ||
Before running the batch command, run the download command to get the necessary files | ||
|
||
``` | ||
java -jar target/phenopacket2prompt.jar download | ||
``` | ||
|
||
|
||
*phenopacket2prompt* requires at least Java 17. To build it from scratch, [Apache Maven](https://maven.apache.org/){:target="_blank"} is also required. | ||
|
||
## Installation | ||
|
||
|
||
Most users should download the prebuilt executable file from the | ||
[Releases](https://github.com/monarch-initiative/phenopacket2prompt/releases) page of the GutHub repository. | ||
[Releases](https://github.com/monarch-initiative/phenopacket2prompt/releases){:target="_blank"} page of the GutHub repository. | ||
|
||
It is also possible to build the application from source using standard Maven and Java tools. | ||
|
||
```shell title="building the app" | ||
git clone https://github.com/monarch-initiative/phenopacket2prompt.git | ||
cd phenopacket2prompt | ||
maven package | ||
java -jar target/phenopacket2prompt.jar | ||
java -jar target/phenopacket2prompt.jar [OPTIONS] | ||
``` | ||
|
||
## Setup | ||
|
||
|
||
First download the latest copy of the [Human Phenotype Ontology](https://hpo.jax.org/app/) hp.json file. This file is | ||
used for text mining of clinical signs and symptoms. For more information about the HPO, see | ||
[Koehler et al. (2021)](https://pubmed.ncbi.nlm.nih.gov/33264411/). Adjust the path to the `phenopacket2prompt.jar` | ||
file as necessary. | ||
[Koehler et al. (2021)](https://pubmed.ncbi.nlm.nih.gov/33264411/). | ||
|
||
## Download command | ||
Before running the [batch](batch.md) command, run the download command to get the necessary files. Adjust the path to the `phenopacket2prompt.jar` | ||
file as necessary, the default is `target/phenopacket2prompt`. | ||
|
||
|
||
|
||
```shell title="download" | ||
java -jar phenopacket2prompt.jar download | ||
java -jar target/phenopacket2prompt.jar download | ||
``` | ||
|