Uses of Interface
org.biojava.nbio.structure.Chain
Package
Description
Interfaces and classes for protein structure (PDB).
Some utility classes for the protein structure GUIs.
Input and Output of Structures
-
Uses of Chain in org.biojava.nbio.protmod.structure
Modifier and TypeMethodDescriptionStructureUtil.getAminoAcids
(Chain chain) Get all amino acids in a chain.void
Identify all registered modifications in a chain.void
ProteinModificationIdentifier.identify
(Chain chain, Set<ProteinModification> potentialModifications) Identify a set of modifications in a a chains.Modifier and TypeMethodDescriptionvoid
Identify all registered modifications in chains.void
ProteinModificationIdentifier.identify
(List<Chain> chains, Set<ProteinModification> potentialModifications) Identify a set of modifications in a a list of chains. -
Uses of Chain in org.biojava.nbio.structure
Modifier and TypeMethodDescriptionstatic Chain
StructureTools.addGroupToStructure
(Structure s, Group g, int model, Chain chainGuess, boolean clone) Adds a particular group to a structure.Group.getChain()
Returns the parent Chain of the Group.HetatomImpl.getChain()
Returns the parent Chain of the Group.Retrieve a Chain (polymeric, non-polymeric or water) based on the 'internal' chain id (asymId) for the first modelRetrieve a Chain (polymeric, non-polymeric or water) based on the 'internal' chain id (asymId) for the given model indexRetrieve a Chain (polymeric, non-polymeric or water) based on the 'internal' chain id (asymId) for the first modelRetrieve a Chain (polymeric, non-polymeric or water) based on the 'internal' chain id (asymId) for the given model indexStructure.getChainByIndex
(int chainIndex) Retrieve a chain by its index within the Structure .Structure.getChainByIndex
(int modelnr, int chainIndex) Retrieve a chain by its indices within the Structure and model.StructureImpl.getChainByIndex
(int number) Retrieve a chain by its index within the Structure .StructureImpl.getChainByIndex
(int modelnr, int number) Retrieve a chain by its indices within the Structure and model.AtomIterator.getCurrentChain()
Get the chain that contains the current atom.GroupIterator.getCurrentChain()
Get the current Chain.Structure.getNonPolyChain
(String asymId) Retrieve a non-polymeric Chain based on the 'internal' chain id (asymId) for the first modelStructure.getNonPolyChain
(String asymId, int modelIdx) Retrieve a non-polymeric Chain based on the 'internal' chain id (asymId) for the given model indexStructureImpl.getNonPolyChain
(String asymId) StructureImpl.getNonPolyChain
(String asymId, int modelIdx) Structure.getPolyChain
(String asymId) Retrieve a polymeric Chain based on the 'internal' chain id (asymId) for the first modelStructure.getPolyChain
(String asymId, int modelIdx) Retrieve a polymeric Chain based on the 'internal' chain id (asymId) for the given model indexStructureImpl.getPolyChain
(String asymId) StructureImpl.getPolyChain
(String asymId, int modelIdx) Structure.getPolyChainByPDB
(String authId) Retrieve a polymeric Chain based on the 'public' chain name (authId) for the first modelStructure.getPolyChainByPDB
(String authId, int modelIdx) Retrieve a polymeric Chain based on the 'public' chain name (authId) for the given model index.StructureImpl.getPolyChainByPDB
(String authId) StructureImpl.getPolyChainByPDB
(String authId, int modelIdx) EntityInfo.getRepresentative()
Get the representative Chain for this EntityInfo.Structure.getWaterChain
(String asymId) Retrieve a water Chain based on the 'internal' chain id (asymId) for the first modelStructure.getWaterChain
(String asymId, int modelIdx) Retrieve a water chain based on the 'internal' chain id (asymId) for the given model indexStructureImpl.getWaterChain
(String asymId) StructureImpl.getWaterChain
(String asymId, int modelIdx) Structure.getWaterChainByPDB
(String authId) Retrieve a water Chain based on the 'public' chain name (authId) for the first modelStructure.getWaterChainByPDB
(String authId, int modelIdx) Retrieve a water Chain based on the 'public' chain name (authId) for the given model indexStructureImpl.getWaterChainByPDB
(String authId) StructureImpl.getWaterChainByPDB
(String authId, int modelIdx) Modifier and TypeMethodDescriptionEntityInfo.getChains()
Get the list of chains that are part of this EntityInfo.Model.getChains()
Get all chains: polymeric, non-polymeric and waterStructure.getChains()
Retrieve all chains for the first model.Structure.getChains
(int modelnr) Retrieve all chains of a model.StructureImpl.getChains()
Retrieve all chains for the first model.StructureImpl.getChains
(int modelIdx) Retrieve all chains of a model.Structure.getModel
(int modelnr) Retrieve all Chains belonging to a model .StructureImpl.getModel
(int modelnr) Retrieve all Chains belonging to a model .Model.getNonPolyChains()
Structure.getNonPolyChains()
Return all non-polymeric chains for the first modelStructure.getNonPolyChains
(int modelIdx) Return all non-polymeric chains for the given model index.StructureImpl.getNonPolyChains()
StructureImpl.getNonPolyChains
(int modelIdx) Structure.getNonPolyChainsByPDB
(String authId) Retrieve all non-polymeric Chains corresponding to the given 'public' chain name (authId) for the first model.Structure.getNonPolyChainsByPDB
(String authId, int modelIdx) Retrieve all non-polymeric Chains corresponding to the 'public' chain name (authId) and the given model index.StructureImpl.getNonPolyChainsByPDB
(String authId) StructureImpl.getNonPolyChainsByPDB
(String authId, int modelIdx) Model.getPolyChains()
Structure.getPolyChains()
Return all polymeric chains for the first modelStructure.getPolyChains
(int modelIdx) Return all polymeric chains for the given model index.StructureImpl.getPolyChains()
StructureImpl.getPolyChains
(int modelIdx) Model.getWaterChains()
Structure.getWaterChains()
Return all water chains for the first modelStructure.getWaterChains
(int modelIdx) Return all water chains for the given model indexStructureImpl.getWaterChains()
StructureImpl.getWaterChains
(int modelIdx) Modifier and TypeMethodDescriptionvoid
Add new Chain to this EntityInfovoid
void
Add a new chain to the first modelvoid
Add a new chain to the model specified by the given indexvoid
Add a new chain to the first modelvoid
Add a new chain to the model specified by the given indexstatic Chain
StructureTools.addGroupToStructure
(Structure s, Group g, int model, Chain chainGuess, boolean clone) Adds a particular group to a structure.int
EntityInfo.getAlignedResIndex
(Group g, Chain c) Given a Group g of Chain c (member of this EntityInfo) return the corresponding position in the alignment of all member sequences (1-based numbering), i.e. the index (1-based) in the SEQRES sequence.static Atom[]
StructureTools.getAllAtomArray
(Chain c) Returns and array of all atoms of the chain, including Hydrogens (if present) and all HETATOMs.static Atom[]
StructureTools.getAllNonHAtomArray
(Chain c, boolean hetAtoms) Returns and array of all non-Hydrogen atoms in the given Chain, optionally including HET atoms or not Waters are not included.static javax.vecmath.Point3d[]
StructureTools.getAllNonHCoordsArray
(Chain c, boolean hetAtoms) Returns and array of all non-Hydrogen atoms coordinates in the given Chain, optionally including HET atoms or not Waters are not included.static Atom[]
StructureTools.getAtomArray
(Chain c, String[] atomNames) Returns an array of the requested Atoms from the Chain object.static Atom[]
StructureTools.getAtomCAArray
(Chain c) Returns an Atom array of the C-alpha atoms.static AtomContactSet
StructureTools.getAtomsCAInContact
(Chain chain, double cutoff) Returns the set of intra-chain contacts for the given chain for C-alpha atoms (including non-standard aminoacids appearing as HETATM groups), i.e. the contact map.static AtomContactSet
StructureTools.getAtomsInContact
(Chain chain, double cutoff) Returns the set of intra-chain contacts for the given chain for all non-H atoms of non-hetatoms, i.e. the contact map.static AtomContactSet
StructureTools.getAtomsInContact
(Chain chain, String[] atomNames, double cutoff) Returns the set of intra-chain contacts for the given chain for given atom names, i.e. the contact map.static AtomContactSet
StructureTools.getAtomsInContact
(Chain chain1, Chain chain2, double cutoff, boolean hetAtoms) Returns the set of inter-chain contacts between the two given chains for all non-H atoms.static AtomContactSet
StructureTools.getAtomsInContact
(Chain chain1, Chain chain2, String[] atomNames, double cutoff, boolean hetAtoms) Returns the set of inter-chain contacts between the two given chains for the given atom names.static Atom[]
StructureTools.getRepresentativeAtomArray
(Chain c) Gets a representative atom for each group that is part of the chain backbone.static AtomContactSet
StructureTools.getRepresentativeAtomsInContact
(Chain chain, double cutoff) Returns the set of intra-chain contacts for the given chain for C-alpha or C3' atoms (including non-standard aminoacids appearing as HETATM groups), i.e. the contact map.void
Sets the back-reference to its parent Chain.void
Sets the back-reference to its parent Chain.static final void
Transforms a chain object, given a Matrix4d (i.e. the vecmath library double-precision 4x4 rotation+translation matrix).static final void
Translates a chain object, given a Vector3d (i.e. the vecmath library double-precision 3-d vector)Modifier and TypeMethodDescriptionvoid
Add a new model.void
Add a new model.void
Set the chains for this EntityInfovoid
void
Set the chains for a modelvoid
Set the chains of a structure, if this is a NMR structure, this will only set model 0.void
Set the chains for a modelvoid
Set the chains of a structure, if this is a NMR structure, this will only set model 0.void
A convenience function if one wants to edit and replace the models in a structure.void
A convenience function if one wants to edit and replace the models in a structure.ModifierConstructorDescriptionConstruct a Structure object that contains a particular chain -
Uses of Chain in org.biojava.nbio.structure.align.util
Modifier and TypeMethodDescriptionAlignmentTools.getAlignedModel
(Atom[] ca) get an artificial List of chains containing the Atoms and groups. -
Uses of Chain in org.biojava.nbio.structure.basepairs
Modifier and TypeMethodDescriptionBasePairParameters.getNucleicChains
(boolean removeDups) This method reports all the nucleic acid chains and has an option to remove duplicates if you are considering an analysis of only unique DNA or RNA helices in the Structure.Modifier and TypeMethodDescriptionThis method performs a search for base pairs in the structure.This is an implementation for finding non-canonical base pairs when there may be missing or overhanging bases.This is an alternative implementation of findPair() that looks for anything that would fit the criteria for a base-pair, useful for the context of tertiary structure of RNA. -
Uses of Chain in org.biojava.nbio.structure.contact
Modifier and TypeMethodDescriptionStructureInterface.getParentChains()
Finds the parent chains by looking up the references of first atom of each side of this interface -
Uses of Chain in org.biojava.nbio.structure.gui.util
-
Uses of Chain in org.biojava.nbio.structure.io
Modifier and TypeMethodDescriptionstatic Chain
SeqRes2AtomAligner.getMatchingAtomRes
(Chain seqRes, List<Chain> atomList, boolean useChainId) static Chain
CAConverter.getRepresentativeAtomsOnly
(Chain chain) Convert a Chain to a new Chain containing C-alpha atoms only.Modifier and TypeMethodDescriptionCAConverter.getRepresentativeAtomsOnly
(List<Chain> chains) Convert a List of chain objects to another List of chains, containing Representative atoms only.Modifier and TypeMethodDescriptionstatic Chain
SeqRes2AtomAligner.getMatchingAtomRes
(Chain seqRes, List<Chain> atomList, boolean useChainId) static Chain
CAConverter.getRepresentativeAtomsOnly
(Chain chain) Convert a Chain to a new Chain containing C-alpha atoms only.void
SeqRes2AtomAligner.mapSeqresRecords
(Chain atomRes, Chain seqRes) Map the seqRes groups to the atomRes chain.static String
Convert a chain to its CIF representation.static String
Convert a Chain object to PDB representationModifier and TypeMethodDescriptionvoid
static void
EntityFinder.createPurelyNonPolyEntities
(List<List<Chain>> nonPolyModels, List<List<Chain>> waterModels, List<EntityInfo> entities) Given all chains of all models find entities for the nonpolymers and water chains within them, assigning entity ids, types and descriptions to them.static List
<EntityInfo> EntityFinder.findPolyEntities
(List<List<Chain>> polyModels) Utility method that employs some heuristics to find theEntityInfo
s for the polymeric chains given in constructor.static Chain
SeqRes2AtomAligner.getMatchingAtomRes
(Chain seqRes, List<Chain> atomList, boolean useChainId) CAConverter.getRepresentativeAtomsOnly
(List<Chain> chains) Convert a List of chain objects to another List of chains, containing Representative atoms only.static void
SeqRes2AtomAligner.storeUnAlignedSeqRes
(Structure structure, List<Chain> seqResChains, boolean headerOnly) Storing unaligned SEQRES groups in a Structure. -
Uses of Chain in org.biojava.nbio.structure.io.cif
Modifier and TypeMethodDescriptionorg.rcsb.cif.model.CifFile
protected void
AbstractCifFileSupplier.handleChain
(Chain chain, int model, List<AbstractCifFileSupplier.WrappedAtom> wrappedAtoms) static org.rcsb.cif.model.CifFile
Convert Chain to CifFilestatic String
Convert a chain to mmCIF format. -
Uses of Chain in org.biojava.nbio.structure.io.mmtf
Modifier and TypeMethodDescriptionstatic void
Add the missing groups to the SeqResGroups.static void
MmtfUtils.insertSeqResGroup
(Chain chain, Group group, int sequenceIndexId) Insert the group in the given position in the sequence.