Class ProteinModificationIdentifier
java.lang.Object
org.biojava.nbio.protmod.structure.ProteinModificationIdentifier
Identify attachment modification in a 3-D structure.
- Since:
- 3.0
- Author:
- Jianjiong Gao
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
boolean
boolean
void
Identify all registered modifications in chains.void
identify
(List<Chain> chains, Set<ProteinModification> potentialModifications) Identify a set of modifications in a a list of chains.void
Identify all registered modifications in a chain.void
identify
(Chain chain, Set<ProteinModification> potentialModifications) Identify a set of modifications in a a chains.void
Identify all registered modifications in a structure.void
identify
(Structure structure, Set<ProteinModification> potentialModifications) Identify a set of modifications in a structure.void
setbondLengthTolerance
(double bondLengthTolerance) void
setRecordAdditionalAttachments
(boolean recordAdditionalAttachments) void
setRecordUnidentifiableCompounds
(boolean recordUnidentifiableModifiedCompounds)
-
Constructor Details
-
ProteinModificationIdentifier
public ProteinModificationIdentifier()
-
-
Method Details
-
destroy
public void destroy() -
setbondLengthTolerance
public void setbondLengthTolerance(double bondLengthTolerance) - Parameters:
bondLengthTolerance
- tolerance of error (in Angstroms) of the covalent bond length, when calculating the atom distance threshold.
-
setRecordUnidentifiableCompounds
public void setRecordUnidentifiableCompounds(boolean recordUnidentifiableModifiedCompounds) - Parameters:
recordUnidentifiableModifiedCompounds
- true if choosing to record unidentifiable atoms; false, otherwise.- See Also:
-
getRecordUnidentifiableCompounds
public boolean getRecordUnidentifiableCompounds()- Returns:
- true if choosing to record unidentifiable atoms; false, otherwise.
- See Also:
-
setRecordAdditionalAttachments
public void setRecordAdditionalAttachments(boolean recordAdditionalAttachments) - Parameters:
recordAdditionalAttachments
- true if choosing to record additional attachments that are not directly attached to a modified residue.- See Also:
-
getRecordAdditionalAttachments
public boolean getRecordAdditionalAttachments()- Returns:
- true if choosing to record additional attachments that are not directly attached to a modified residue.
- See Also:
-
getIdentifiedModifiedCompound
- Returns:
- a set of identified
ModifiedCompound
s from the last parse result. - See Also:
-
getUnidentifiableAtomLinkages
- Returns:
- a set of atom linkages, which represent the
atom bonds that were not covered by the identified
ModifiedCompound
s from the last parse result. Each element of the list is a array containing two atoms. - See Also:
-
getUnidentifiableModifiedResidues
- Returns:
- a set of modified residues that were not covered by the identified ModifiedCompounds from the last parse result.
- See Also:
-
identify
Identify all registered modifications in a structure.- Parameters:
structure
-
-
identify
Identify a set of modifications in a structure.- Parameters:
structure
- queryStructure
.potentialModifications
- queryProteinModification
s.
-
identify
Identify all registered modifications in a chain.- Parameters:
chain
- queryChain
.
-
identify
Identify all registered modifications in chains.- Parameters:
chains
- queryChain
s.
-
identify
Identify a set of modifications in a a chains.- Parameters:
chain
- queryChain
.potentialModifications
- queryProteinModification
s.
-
identify
Identify a set of modifications in a a list of chains.- Parameters:
chains
- queryChain
s.potentialModifications
- queryProteinModification
s.
-