genebe-cli installation
This guide walks you through installing genebe-cli, a Java command-line tool for annotating variant files and working with GeneBe Hub databases. It requires Java 21 or later.
Prerequisitesβ
Before installing genebe-cli, ensure you have the following:
- Java 21 (or later) installed on your system.
- A compatible operating system (Windows, macOS, or Linux).
Verify Java Installationβ
To check if Java 21 is installed, run the following command in your terminal or command prompt:
java -version
You should see output indicating Java version 21 or higher, such as:
java version "21.0.1" 2023-10-17 LTS
If Java 21 is not installed, download and install it from one of the following sources:
Follow the providerβs instructions to set up Java and ensure the JAVA_HOME environment variable is configured correctly.
Installation Stepsβ
Download the Pre-built Binary
- Visit the genebe-cli Releases page on GitHub.
- Download the latest release (e.g.,
GeneBeClient-<version>.jar). - Save the
.jarfile to a directory of your choice, such as/path/to/genebe-cli/.
Running genebe-cliβ
To run genebe-cli, use the following command, replacing <version> with the actual version number:
java -jar /path/to/GeneBeClient-<version>.jar
For example:
java -jar GeneBeClient-1.0.0.jar
You can also check available commands by running:
java -jar GeneBeClient-<version>.jar --help
Troubleshootingβ
- "Java not found" or "UnsupportedClassVersionError": Ensure Java 21 is installed and correctly configured in your
PATHorJAVA_HOME. Reinstall Java 21 if needed.
If you encounter other issues, check the genebe-cli GitHub Issues page or file a new issue.
Next Stepsβ
After installation, continue with Annotate a VCF file or the GeneBe Hub quick start.