public final class ChangeObjects extends Object
| Constructor and Description |
|---|
ChangeObjects() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addAnnotation(org.helm.notation2.parser.notation.annotation.AnnotationNotation notation,
int position,
org.helm.notation2.parser.notation.HELM2Notation helm2notation)
method to add an annotation at a specific position of the HELM2Notation
|
static void |
addAnnotationToConnection(int position,
String annotation,
org.helm.notation2.parser.notation.HELM2Notation helm2notation)
method to add an annotation to a connection of the HELM2Notation
|
static void |
addAnnotationToMonomerNotation(org.helm.notation2.parser.notation.polymer.PolymerNotation polymer,
int position,
String annotation)
method to add an annotation to a MonomerNotation
|
static org.helm.notation2.parser.notation.polymer.PolymerNotation |
addAnnotationToPolymer(org.helm.notation2.parser.notation.polymer.PolymerNotation polymer,
String annotation)
method to add an annotation to a PolymerNotation
|
static void |
addConnection(org.helm.notation2.parser.notation.connection.ConnectionNotation notation,
int position,
org.helm.notation2.parser.notation.HELM2Notation helm2notation)
method to add a new connection at the position of the HELM2Notation
|
static void |
addCountToMonomerNotation(org.helm.notation2.parser.notation.polymer.PolymerNotation polymer,
int position,
String count)
method to set the count of a MonomerNotation
|
static void |
addGroup(org.helm.notation2.parser.notation.grouping.GroupingNotation notation,
int position,
org.helm.notation2.parser.notation.HELM2Notation helm2notation)
method to add a group to the grouping section of the HELM2Notation
|
static org.helm.notation2.parser.notation.polymer.PolymerNotation |
addMonomerNotation(int position,
org.helm.notation2.parser.notation.polymer.PolymerNotation polymer,
org.helm.notation2.parser.notation.polymer.MonomerNotation monomerNotation)
method to add a new MonomerNotation to a PolymerNotation
|
static void |
addPolymerNotation(int position,
org.helm.notation2.parser.notation.polymer.PolymerNotation polymer,
org.helm.notation2.parser.notation.HELM2Notation helm2notation)
method to add a PolymerNotation at a specific position of the
HELM2Notation
|
static void |
changeAnnotation(org.helm.notation2.parser.notation.annotation.AnnotationNotation notation,
int position,
org.helm.notation2.parser.notation.HELM2Notation helm2notation)
method to change an annotation at the position of the HELM2Notation
|
static void |
changeConnection(int position,
org.helm.notation2.parser.notation.connection.ConnectionNotation notation,
org.helm.notation2.parser.notation.HELM2Notation helm2notation)
method to change a connection at the position of the HELM2Notation
|
static void |
changeGroup(org.helm.notation2.parser.notation.grouping.GroupingNotation notation,
int position,
org.helm.notation2.parser.notation.HELM2Notation helm2notation)
method to change a group of the HELM2Notation
|
static void |
changeMonomerNotation(int position,
org.helm.notation2.parser.notation.polymer.PolymerNotation polymer,
org.helm.notation2.parser.notation.polymer.MonomerNotation not)
method to change the MonomerNotation on the specific position
|
static void |
changePolymerNotation(int position,
org.helm.notation2.parser.notation.polymer.PolymerNotation polymer,
org.helm.notation2.parser.notation.HELM2Notation helm2notation)
method to change the PolymerNotation at a specific position of the
HELM2Notation
|
static void |
deleteAllAnnotations(org.helm.notation2.parser.notation.HELM2Notation helm2notation)
method to delete all annotations of the HELM2Notation
|
static void |
deleteAllConnections(org.helm.notation2.parser.notation.HELM2Notation helm2notation)
method to delete all connections of the HELM2Notation
|
static void |
deleteAllGroups(org.helm.notation2.parser.notation.HELM2Notation helm2notation)
method to delete all groups of the HELM2Notation
|
static void |
deleteAnnotation(int position,
org.helm.notation2.parser.notation.HELM2Notation helm2notation)
method to delete the annotation at the specific position of the
HELM2Notation
|
static void |
deleteAnnotationFromMonomerNotation(org.helm.notation2.parser.notation.polymer.PolymerNotation polymer,
int position)
method to delete the annotation of a MonomerNotation
|
static void |
deleteConnection(int position,
org.helm.notation2.parser.notation.HELM2Notation helm2notation)
method to delete the connection at the specific position of the
HELM2Notation
|
static void |
deleteGroup(int position,
org.helm.notation2.parser.notation.HELM2Notation helm2notation)
method to delete a group at a specific position of the HELM2Notation
|
static void |
deleteMonomerNotation(int position,
org.helm.notation2.parser.notation.polymer.PolymerNotation polymer)
method to delete a MonomerNotation at a specific position of the
PolymerNotation
|
static void |
deletePolymerNotation(int position,
org.helm.notation2.parser.notation.HELM2Notation helm2notation)
method to delete the PolymerNotation at a specific position of the
HELM2Notation
|
static void |
hybridize(org.helm.notation2.parser.notation.HELM2Notation helm2notation)
this method will automatically add base pair info into notation only if
it contains two RNA polymer notations and there is no base pairing info
|
static org.helm.notation2.parser.notation.polymer.MonomerNotationUnit |
produceMonomerNotationUnitWithOtherID(org.helm.notation2.parser.notation.polymer.MonomerNotation monomerNotation,
String newID)
method to replace the MonomerNotationUnit having the MonomerID with the
new MonomerID
|
static org.helm.notation2.parser.notation.polymer.PolymerNotation |
removeAnnotationOfPolmyer(org.helm.notation2.parser.notation.polymer.PolymerNotation polymer)
method to remove a current annotation of a PolymerNotation
|
static void |
replaceMonomer(org.helm.notation2.parser.notation.HELM2Notation helm2notation,
String polymerType,
String existingMonomerID,
String newMonomerID)
method to replace the MonomerID with the new MonomerID for a given
polymer type
|
static org.helm.notation2.parser.notation.polymer.MonomerNotation |
replaceMonomerNotation(org.helm.notation2.parser.notation.polymer.MonomerNotation monomerNotation,
String existingMonomerID,
String newMonomerID)
method to replace the MonomerNotation having the MonomerID with the new
MonomerID
|
static org.helm.notation2.parser.notation.polymer.MonomerNotationGroup |
replaceMonomerNotationGroup(org.helm.notation2.parser.notation.polymer.MonomerNotationGroup monomerNotation,
String existingMonomerID,
String newMonomerID)
method to replace the MonomerNotationGroup having the MonomerID with the
new MonomerID
|
static org.helm.notation2.parser.notation.polymer.MonomerNotationList |
replaceMonomerNotationList(org.helm.notation2.parser.notation.polymer.MonomerNotationList object,
String existingMonomerID,
String newMonomerID)
method to replace the MonomerNotationList having the MonomerID with the
new MonomerID
|
static void |
replaceSMILESWithTemporaryIds(org.helm.notation2.parser.notation.HELM2Notation helm2notation)
This function replaces smiles in complex notation with temporary ids
|
static void |
setCountToDefault(org.helm.notation2.parser.notation.polymer.PolymerNotation polymer,
int position)
method to set the count of a MonomerNotation to default (=1)
|
public static final void addAnnotation(org.helm.notation2.parser.notation.annotation.AnnotationNotation notation,
int position,
org.helm.notation2.parser.notation.HELM2Notation helm2notation)
notation - new annotationposition - position of the new annotationhelm2notation - input HELM2Notationpublic static final void changeAnnotation(org.helm.notation2.parser.notation.annotation.AnnotationNotation notation,
int position,
org.helm.notation2.parser.notation.HELM2Notation helm2notation)
notation - new changed annotationposition - position of the changed annotationhelm2notation - input HELM2Notationpublic static final void deleteAnnotation(int position,
org.helm.notation2.parser.notation.HELM2Notation helm2notation)
position - position of the to be deleted annotationhelm2notation - input HELM2Notationpublic static final void deleteAllAnnotations(org.helm.notation2.parser.notation.HELM2Notation helm2notation)
helm2notation - input HELM2Notationpublic static final void addConnection(org.helm.notation2.parser.notation.connection.ConnectionNotation notation,
int position,
org.helm.notation2.parser.notation.HELM2Notation helm2notation)
notation - new ConnectionNotationposition - position of the new ConnectionNotationhelm2notation - input HELM2Notationpublic static final void changeConnection(int position,
org.helm.notation2.parser.notation.connection.ConnectionNotation notation,
org.helm.notation2.parser.notation.HELM2Notation helm2notation)
position - position of the changed Connectionnotation - to be changed ConnectionNotationhelm2notation - input HELM2Notationpublic static final void deleteConnection(int position,
org.helm.notation2.parser.notation.HELM2Notation helm2notation)
position - of the to deleted connectionhelm2notation - input HELM2Notationpublic static final void addAnnotationToConnection(int position,
String annotation,
org.helm.notation2.parser.notation.HELM2Notation helm2notation)
position - position of the connectionannotation - new annotationhelm2notation - input HELM2Notationpublic static final void deleteAllConnections(org.helm.notation2.parser.notation.HELM2Notation helm2notation)
helm2notation - input HELM2Notationpublic static final void addGroup(org.helm.notation2.parser.notation.grouping.GroupingNotation notation,
int position,
org.helm.notation2.parser.notation.HELM2Notation helm2notation)
notation - new groupposition - position of the new grouphelm2notation - input HELM2Notationpublic static final void changeGroup(org.helm.notation2.parser.notation.grouping.GroupingNotation notation,
int position,
org.helm.notation2.parser.notation.HELM2Notation helm2notation)
notation - new groupposition - position of the to be changed grouphelm2notation - input HELM2Notationpublic static final void deleteGroup(int position,
org.helm.notation2.parser.notation.HELM2Notation helm2notation)
position - position of the to be deleted grouphelm2notation - input HELM2Notationpublic static final void deleteAllGroups(org.helm.notation2.parser.notation.HELM2Notation helm2notation)
helm2notation - input HELM2Notationpublic static final org.helm.notation2.parser.notation.polymer.PolymerNotation addAnnotationToPolymer(org.helm.notation2.parser.notation.polymer.PolymerNotation polymer,
String annotation)
polymer - PolymerNotationannotation - new annotationpublic static final org.helm.notation2.parser.notation.polymer.PolymerNotation removeAnnotationOfPolmyer(org.helm.notation2.parser.notation.polymer.PolymerNotation polymer)
polymer - PolymerNotationpublic static final org.helm.notation2.parser.notation.polymer.PolymerNotation addMonomerNotation(int position,
org.helm.notation2.parser.notation.polymer.PolymerNotation polymer,
org.helm.notation2.parser.notation.polymer.MonomerNotation monomerNotation)
position - position of the new MonomerNotationpolymer - PolymerNotationmonomerNotation - new MonomerNotationpublic static final void changeMonomerNotation(int position,
org.helm.notation2.parser.notation.polymer.PolymerNotation polymer,
org.helm.notation2.parser.notation.polymer.MonomerNotation not)
position - position of the changed MonomerNotationpolymer - PolymerNotationnot - changed MonomerNotationpublic static final void deleteMonomerNotation(int position,
org.helm.notation2.parser.notation.polymer.PolymerNotation polymer)
throws org.helm.notation2.parser.exceptionparser.NotationException
position - position of the to be deleted MonomerNotationpolymer - PolymerNotationorg.helm.notation2.parser.exceptionparser.NotationException - if the generated PolymerNotation has no elements after
deleting the MonomerNotationpublic static final void addAnnotationToMonomerNotation(org.helm.notation2.parser.notation.polymer.PolymerNotation polymer,
int position,
String annotation)
polymer - PolymerNotationposition - position of the monomerNotationannotation - new annotationpublic static final void addCountToMonomerNotation(org.helm.notation2.parser.notation.polymer.PolymerNotation polymer,
int position,
String count)
polymer - PolymerNotationposition - position of the MonomerNotationcount - new count of the MonomerNotationpublic static final void deleteAnnotationFromMonomerNotation(org.helm.notation2.parser.notation.polymer.PolymerNotation polymer,
int position)
polymer - PolymerNotationposition - position of the MonomerNotationpublic static final void setCountToDefault(org.helm.notation2.parser.notation.polymer.PolymerNotation polymer,
int position)
polymer - PolymerNotationposition - position of the MonomerNotationpublic static final void changePolymerNotation(int position,
org.helm.notation2.parser.notation.polymer.PolymerNotation polymer,
org.helm.notation2.parser.notation.HELM2Notation helm2notation)
position - position of the PolymerNotationpolymer - new PolymerNotationhelm2notation - input HELM2Notationpublic static final void deletePolymerNotation(int position,
org.helm.notation2.parser.notation.HELM2Notation helm2notation)
position - position of the PolymerNotationhelm2notation - input HELM2Notationpublic static final void addPolymerNotation(int position,
org.helm.notation2.parser.notation.polymer.PolymerNotation polymer,
org.helm.notation2.parser.notation.HELM2Notation helm2notation)
position - position of the PolymerNotationpolymer - new PolymerNotationhelm2notation - input HELM2Notationpublic static final void replaceMonomer(org.helm.notation2.parser.notation.HELM2Notation helm2notation,
String polymerType,
String existingMonomerID,
String newMonomerID)
throws org.helm.notation2.parser.exceptionparser.NotationException,
MonomerException,
ChemistryException,
org.helm.chemtoolkit.CTKException,
IOException,
org.jdom2.JDOMException
helm2notation - HELM2NotationpolymerType - String of the polymer typeexistingMonomerID - old MonomerIDnewMonomerID - new MonomerIDorg.helm.notation2.parser.exceptionparser.NotationException - if notation was not validMonomerException - if monomer is not validChemistryException - if chemistry engine could not be initializedorg.helm.chemtoolkit.CTKException - general ChemToolKit exception passed to HELMToolKitIOException - IO errororg.jdom2.JDOMException - jdome errorpublic static final org.helm.notation2.parser.notation.polymer.MonomerNotation replaceMonomerNotation(org.helm.notation2.parser.notation.polymer.MonomerNotation monomerNotation,
String existingMonomerID,
String newMonomerID)
throws org.helm.notation2.parser.exceptionparser.NotationException,
ChemistryException,
org.helm.chemtoolkit.CTKException,
MonomerLoadingException
monomerNotation - given monomer notationexistingMonomerID - existing monomer idnewMonomerID - new monomer idorg.helm.notation2.parser.exceptionparser.NotationException - if new monomer id is not validChemistryException - if chemistry engine can not be initializedorg.helm.chemtoolkit.CTKException - if it contains an invalid smilesMonomerLoadingException - if monomers can not be loadedpublic static final org.helm.notation2.parser.notation.polymer.MonomerNotationGroup replaceMonomerNotationGroup(org.helm.notation2.parser.notation.polymer.MonomerNotationGroup monomerNotation,
String existingMonomerID,
String newMonomerID)
throws org.helm.notation2.parser.exceptionparser.NotationException
monomerNotation - the to replace monomernotationgroupexistingMonomerID - the to replace existing monomer id of the monomernotationgroupnewMonomerID - the new monomeridorg.helm.notation2.parser.exceptionparser.NotationException - if the new monomer id is not validpublic static final org.helm.notation2.parser.notation.polymer.MonomerNotationUnit produceMonomerNotationUnitWithOtherID(org.helm.notation2.parser.notation.polymer.MonomerNotation monomerNotation,
String newID)
throws org.helm.notation2.parser.exceptionparser.NotationException
monomerNotation - given monomer notationnewID - new monomer idorg.helm.notation2.parser.exceptionparser.NotationException - if new id is not validpublic static final org.helm.notation2.parser.notation.polymer.MonomerNotationList replaceMonomerNotationList(org.helm.notation2.parser.notation.polymer.MonomerNotationList object,
String existingMonomerID,
String newMonomerID)
throws org.helm.notation2.parser.exceptionparser.NotationException,
ChemistryException,
org.helm.chemtoolkit.CTKException,
MonomerLoadingException
object - MonomerNotationList to changeexistingMonomerID - monomer to changenewMonomerID - new monomerorg.helm.notation2.parser.exceptionparser.NotationException - if notation is not validChemistryException - if chemistry could not be initializedorg.helm.chemtoolkit.CTKException - general ChemToolKit exception passed to HELMToolKitMonomerLoadingException - could not load monomers from sourcepublic static final void replaceSMILESWithTemporaryIds(org.helm.notation2.parser.notation.HELM2Notation helm2notation)
throws org.helm.notation2.parser.exceptionparser.NotationException,
HELM2HandledException,
ChemistryException,
org.helm.chemtoolkit.CTKException,
MonomerLoadingException,
org.jdom2.JDOMException
helm2notation - given helm2 notationorg.helm.notation2.parser.exceptionparser.NotationException - if notation is not validChemistryException - if chemistry engine can not be initializedHELM2HandledException - if it contains HELM2 specific features, so that it can not be
casted to HELM1 Formatorg.helm.chemtoolkit.CTKException - general ChemToolKit exception passed to HELMToolKitMonomerLoadingException - if monomers can not be loadedorg.jdom2.JDOMException - if smiles can not be replace with the temporary idspublic static void hybridize(org.helm.notation2.parser.notation.HELM2Notation helm2notation)
throws org.helm.notation2.parser.exceptionparser.NotationException,
RNAUtilsException,
HELM2HandledException,
NotationException,
ChemistryException
helm2notation - HELM2Notation objectorg.helm.notation2.parser.exceptionparser.NotationException - if notation is not validRNAUtilsException - if the polymer is not a RNA/DNAHELM2HandledException - if it contains HELM2 specific features, so that it can not be
casted to HELM1 FormatNotationException - if notation is not validChemistryException - if chemistry engine can not be initializedCopyright © 2017. All rights reserved.