helm2-helmnotationparser

Module to parse HELM Notation in the format 1 and 2.

License

License

GroupId

GroupId

org.pistoiaalliance.helm
ArtifactId

ArtifactId

helm2-helmnotationparser
Last Version

Last Version

1.2.2
Release Date

Release Date

Type

Type

jar
Description

Description

helm2-helmnotationparser
Module to parse HELM Notation in the format 1 and 2.
Project URL

Project URL

https://github.com/PistoiaHELM/HELMNotationParser
Source Code Management

Source Code Management

http://github.com/PistoiaHELM/HELMNotationParser/tree/master

Download helm2-helmnotationparser

How to add to project

<!-- https://jarcasting.com/artifacts/org.pistoiaalliance.helm/helm2-helmnotationparser/ -->
<dependency>
    <groupId>org.pistoiaalliance.helm</groupId>
    <artifactId>helm2-helmnotationparser</artifactId>
    <version>1.2.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.pistoiaalliance.helm/helm2-helmnotationparser/
implementation 'org.pistoiaalliance.helm:helm2-helmnotationparser:1.2.2'
// https://jarcasting.com/artifacts/org.pistoiaalliance.helm/helm2-helmnotationparser/
implementation ("org.pistoiaalliance.helm:helm2-helmnotationparser:1.2.2")
'org.pistoiaalliance.helm:helm2-helmnotationparser:jar:1.2.2'
<dependency org="org.pistoiaalliance.helm" name="helm2-helmnotationparser" rev="1.2.2">
  <artifact name="helm2-helmnotationparser" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.pistoiaalliance.helm', module='helm2-helmnotationparser', version='1.2.2')
)
libraryDependencies += "org.pistoiaalliance.helm" % "helm2-helmnotationparser" % "1.2.2"
[org.pistoiaalliance.helm/helm2-helmnotationparser "1.2.2"]

Dependencies

compile (6)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.7.12
org.slf4j : slf4j-log4j12 jar 1.7.12
commons-cli : commons-cli jar 1.3.1
com.fasterxml.jackson.core : jackson-core jar 2.9.7
com.fasterxml.jackson.core : jackson-databind jar 2.9.7
org.jdom : jdom2 jar 2.0.6

test (1)

Group / Artifact Type Version
org.testng : testng jar 6.9.8

Project Modules

There are no modules declared in this project.

HELMNotationParser

HELMParser is a java-program to parse HELM and HELM2 notation. During the parsing process the validation of HELM2 takes place. The program not only parses but also generates so called notations objects. A file containing in each line a HELM notation is given as the input. It produces an user-defined output, either HELM2 or HELM2 in JSON-format. The created log-file can be found in ./helm2parser.log

The program is called by the following command:

java –jar helm2parser.jar –inputHELM [file] -output [HELM2/JSON]

The program is also able to convert HELM1 to HELM2. To use this additional function call the program with –translate.

java –jar helm2parser.jar –inputHELM [file] -output [HELM2/JSON] -translate

##Example

java -jar helm2parser.jar -inputHELM ./filename.txt -output JSON

##Example for Inputfile PEPTIDE1{A.G.D.A'55'}$$$$V2.0

{
"annotation" : {
"annotation" : ""
},
"listOfPolymers" : [ {
"polymerID" : {
  "id" : "PEPTIDE1"
},
"annotation" : null,
"polymerElements" : {
  "listOfElements" : [ {
    "unit" : "A",
    "annotation" : null,
    "count" : "1"
  }, {
    "unit" : "G",
    "annotation" : null,
    "count" : "1"
  }, {
    "unit" : "D",
    "annotation" : null,
    "count" : "1"
  }, {
    "unit" : "A",
    "annotation" : null,
    "count" : "55"
  } ]
}
} ],
"listOfConnections" : [ ],
"listOfGroupings" : [ ]
}

If you want to use the HELMNotationParser functionality via a GUI and don’t want to compile the code yourself, use the jar file in the release folder. Download and run and it should just work.

You will see a basic user interface you can use to convert HELM1 to HELM2 or JSON with the side-effect of providing a validation tool, since if the input HELM is not valid, it will not be converted.

org.pistoiaalliance.helm

Pistoia Alliance HELM Project

HELM - industry standard for complex biomolecule representation

Versions

Version
1.2.2
1.2.1
1.2.0
1.1.0
1.0.0