Class ProteinModificationIdentifier
- java.lang.Object
-
- org.biojava.nbio.protmod.structure.ProteinModificationIdentifier
-
public class ProteinModificationIdentifier extends Object
Identify attachment modification in a 3-D structure.- Since:
- 3.0
- Author:
- Jianjiong Gao
-
-
Constructor Summary
Constructors Constructor Description ProteinModificationIdentifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()Set<ModifiedCompound>getIdentifiedModifiedCompound()booleangetRecordAdditionalAttachments()booleangetRecordUnidentifiableCompounds()Set<StructureAtomLinkage>getUnidentifiableAtomLinkages()Set<StructureGroup>getUnidentifiableModifiedResidues()voididentify(List<Chain> chains)Identify all registered modifications in chains.voididentify(List<Chain> chains, Set<ProteinModification> potentialModifications)Identify a set of modifications in a a list of chains.voididentify(Chain chain)Identify all registered modifications in a chain.voididentify(Chain chain, Set<ProteinModification> potentialModifications)Identify a set of modifications in a a chains.voididentify(Structure structure)Identify all registered modifications in a structure.voididentify(Structure structure, Set<ProteinModification> potentialModifications)Identify a set of modifications in a structure.voidsetbondLengthTolerance(double bondLengthTolerance)voidsetRecordAdditionalAttachments(boolean recordAdditionalAttachments)voidsetRecordUnidentifiableCompounds(boolean recordUnidentifiableModifiedCompounds)
-
-
-
Constructor Detail
-
ProteinModificationIdentifier
public ProteinModificationIdentifier()
-
-
Method Detail
-
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(),getUnidentifiableModifiedResidues(),getUnidentifiableAtomLinkages()
-
getRecordUnidentifiableCompounds
public boolean getRecordUnidentifiableCompounds()
- Returns:
- true if choosing to record unidentifiable atoms; false, otherwise.
- See Also:
setRecordUnidentifiableCompounds(boolean),getUnidentifiableModifiedResidues(),getUnidentifiableAtomLinkages()
-
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()
-
getRecordAdditionalAttachments
public boolean getRecordAdditionalAttachments()
- Returns:
- true if choosing to record additional attachments that are not directly attached to a modified residue.
- See Also:
setRecordAdditionalAttachments(boolean)
-
getIdentifiedModifiedCompound
public Set<ModifiedCompound> getIdentifiedModifiedCompound()
- Returns:
- a set of identified
ModifiedCompounds from the last parse result. - See Also:
ModifiedCompound
-
getUnidentifiableAtomLinkages
public Set<StructureAtomLinkage> getUnidentifiableAtomLinkages()
- Returns:
- a set of atom linkages, which represent the
atom bonds that were not covered by the identified
ModifiedCompounds from the last parse result. Each element of the list is a array containing two atoms. - See Also:
StructureAtomLinkage,setRecordUnidentifiableCompounds(boolean)
-
getUnidentifiableModifiedResidues
public Set<StructureGroup> getUnidentifiableModifiedResidues()
- Returns:
- a set of modified residues that were not covered by the identified ModifiedCompounds from the last parse result.
- See Also:
StructureGroup,setRecordUnidentifiableCompounds(boolean),getIdentifiedModifiedCompound()
-
identify
public void identify(Structure structure)
Identify all registered modifications in a structure.- Parameters:
structure-
-
identify
public void identify(Structure structure, Set<ProteinModification> potentialModifications)
Identify a set of modifications in a structure.- Parameters:
structure- queryStructure.potentialModifications- queryProteinModifications.
-
identify
public void identify(Chain chain)
Identify all registered modifications in a chain.- Parameters:
chain- queryChain.
-
identify
public void identify(List<Chain> chains)
Identify all registered modifications in chains.- Parameters:
chains- queryChains.
-
identify
public void identify(Chain chain, Set<ProteinModification> potentialModifications)
Identify a set of modifications in a a chains.- Parameters:
chain- queryChain.potentialModifications- queryProteinModifications.
-
identify
public void identify(List<Chain> chains, Set<ProteinModification> potentialModifications)
Identify a set of modifications in a a list of chains.- Parameters:
chains- queryChains.potentialModifications- queryProteinModifications.
-
-