- GlycanBuilder2
- Supported OS :
- Windowds (64bit)
- macOS (64bit/Intel&M1,M2)
- Java 8 (or later)
- maven 3.6 (or later)
Please see about details.
Clone this repository in the local repository.
git clone https://github.com/glycoinfo/GlycanBuilder2.git
Move to the cloned local repository and compile the source files
cd ~/Directory_of_local_repository/GlycanBuilder2
mvn clean compile
If a certificate error such as "PKIX path validation failed" occurred during the compilation process, please you try again with the below command.
mvn clean compile -X -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Dmaven.wagon.http.ssl.ignore.validity.dates=true
Runable JAR (Java Archive) file is generate the below command.
mvn clean -P make-fat-jar package
When compilation in finished, jar file is created in the target folder.
[INFO] Building jar: /../../Directory_of_local_repository/GlycanBuilder2/target/glycanbuilder2-jar-with-dependencies.jar
- Windows or Linux
java -jar ./target/glycanbuilder2-jar-with-dependencies.jar
- Mac OS X
java -XstartOnFirstThread -jar ./target/glycanbuilder2-jar-with-dependencies.jar
- Click Add structure from string (Red marked).
- Paste WURCS string into the text area, and select WURCS2 in the input sequence format (Red marked).
- When click import button, represent glycan image on the canvas.
- Drag and select a glycan image on the canvas.
- Click Get string from structure (Red marked).
- Select WURCS2 in the String encoded.
- WURCS2 string is output.
- Drag and select a glycan image on the canvas.
- Click Export to graphical formats on the File tab and select the image format.
- Select a directory to save the image.