| Package | Description |
|---|---|
| org.biojava.nbio.structure |
Interfaces and classes for protein structure (PDB).
|
| org.biojava.nbio.structure.io |
Input and Output of Structures
|
| Modifier and Type | Class and Description |
|---|---|
class |
ChainImpl
A Chain in a PDB file.
|
| Modifier and Type | Method and Description |
|---|---|
Chain |
StructureImpl.findChain(String chainId) |
Chain |
Structure.findChain(String chainId)
Request a particular chain from a structure.
|
Chain |
StructureImpl.findChain(String chainId,
int modelnr) |
Chain |
Structure.findChain(String chainId,
int modelnr)
Request a particular chain from a particular model
|
Chain |
HetatomImpl.getChain()
Returns the parent Chain of the Group.
|
Chain |
Group.getChain()
Returns the parent Chain of the Group.
|
Chain |
StructureImpl.getChain(int number) |
Chain |
Structure.getChain(int pos)
Retrieve a chain by its position within the Structure .
|
Chain |
StructureImpl.getChain(int modelnr,
int number) |
Chain |
Structure.getChain(int modelnr,
int pos)
Retrieve a chain by its position within the Structure and model number.
|
Chain |
StructureImpl.getChainByPDB(String chainId) |
Chain |
Structure.getChainByPDB(String chainId)
Request a chain by its PDB code
by default takes only the first model
|
Chain |
StructureImpl.getChainByPDB(String chainId,
int modelnr) |
Chain |
Structure.getChainByPDB(String chainId,
int modelnr)
Request a chain by its PDB code
by default takes only the first model
|
Chain |
AtomIterator.getCurrentChain()
Get the chain that contains the current atom.
|
Chain |
GroupIterator.getCurrentChain()
Get the current Chain.
|
Chain |
Compound.getRepresentative()
Get the representative Chain for this Compound.
|
| Modifier and Type | Method and Description |
|---|---|
List<Chain> |
StructureImpl.getChains() |
List<Chain> |
Structure.getChains()
Retrieve all chains - if it is a NMR structure will return the chains of the first model.
|
List<Chain> |
Compound.getChains()
Get the list of chains that are part of this Compound
|
List<Chain> |
StructureImpl.getChains(int modelnr)
retrieve all chains of a model.
|
List<Chain> |
Structure.getChains(int modelnr)
Retrieve all chains of a model.
|
List<Chain> |
StructureImpl.getModel(int modelnr)
retrieve all Chains belonging to a model .
|
List<Chain> |
Structure.getModel(int modelnr)
Retrieve all Chains belonging to a model .
|
| Modifier and Type | Method and Description |
|---|---|
void |
StructureImpl.addChain(Chain chain) |
void |
Structure.addChain(Chain chain)
Add a new chain.
|
void |
Compound.addChain(Chain chain)
Add new Chain to this Compound
|
void |
StructureImpl.addChain(Chain chain,
int modelnr) |
void |
Structure.addChain(Chain chain,
int modelnr)
Add a new chain, if several models are available.
|
static Atom[] |
StructureTools.getAllAtomArray(Chain c)
Returns and array of all atoms of the chain (first model), 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 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.
|
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 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.
|
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.
|
static GroupType |
StructureTools.getPredominantGroupType(Chain c)
Get the predominant
GroupType for a given Chain, following these rules:
if the ratio of number of residues of a certain GroupType to total
non-water residues is above the threshold 0.95, then that GroupType is returned
if there is no GroupType that is above the threshold then the GroupType
with most members is chosen, logging it |
static boolean |
StructureTools.isChainWaterOnly(Chain c)
Returns true if the given chain is composed of water molecules only
|
static boolean |
StructureTools.isNucleicAcid(Chain c)
Tell whether given chain is DNA or RNA
|
static boolean |
StructureTools.isProtein(Chain c)
Tell whether given chain is a protein chain
|
void |
HetatomImpl.setChain(Chain chain)
Sets the back-reference to its parent Chain.
|
void |
Group.setChain(Chain chain)
Sets the back-reference to its parent Chain.
|
static void |
Calc.transform(Chain chain,
javax.vecmath.Matrix4d m)
Transforms a chain object, given a Matrix4d (i.e.
|
| Modifier and Type | Method and Description |
|---|---|
void |
StructureImpl.addModel(List<Chain> model) |
void |
Structure.addModel(List<Chain> model)
Add a new model.
|
void |
StructureImpl.setChains(int modelnr,
List<Chain> chains) |
void |
Structure.setChains(int modelnr,
List<Chain> chains)
Set the chains for a model
|
void |
StructureImpl.setChains(List<Chain> chains) |
void |
Structure.setChains(List<Chain> chains)
Set the chains of a structure, if this is a NMR structure,
this will only set model 0.
|
void |
Compound.setChains(List<Chain> chains)
Set the chains for this Compound
|
void |
StructureImpl.setModel(int position,
List<Chain> model) |
void |
Structure.setModel(int position,
List<Chain> model)
A convenience function if one wants to edit and replace the
models in a structure.
|
| Constructor and Description |
|---|
StructureImpl(Chain c)
construct a Structure object that contains a particular chain
|
| Modifier and Type | Method and Description |
|---|---|
static Chain |
CAConverter.getCAOnly(Chain chain)
Convert a Chain to a new Chain containing C-alpha atoms only.
|
static Chain |
SeqRes2AtomAligner.getMatchingAtomRes(Chain seqRes,
List<Chain> atomList) |
| Modifier and Type | Method and Description |
|---|---|
static List<Chain> |
CAConverter.getCAOnly(List<Chain> chains)
Convert a List of chain objects to another List of chains, containing C-alpha atoms only.
|
| Modifier and Type | Method and Description |
|---|---|
static Chain |
CAConverter.getCAOnly(Chain chain)
Convert a Chain to a new Chain containing C-alpha atoms only.
|
static Chain |
SeqRes2AtomAligner.getMatchingAtomRes(Chain seqRes,
List<Chain> atomList) |
void |
SeqRes2AtomAligner.mapSeqresRecords(Chain atomRes,
Chain seqRes)
Map the seqRes groups to the atomRes chain.
|
static String |
FileConvert.toPDB(Chain chain)
Convert a Chain object to PDB representation
|
| Modifier and Type | Method and Description |
|---|---|
void |
SeqRes2AtomAligner.align(Structure s,
List<Chain> seqResList) |
static List<Chain> |
CAConverter.getCAOnly(List<Chain> chains)
Convert a List of chain objects to another List of chains, containing C-alpha atoms only.
|
static Chain |
SeqRes2AtomAligner.getMatchingAtomRes(Chain seqRes,
List<Chain> atomList) |
Copyright © 2000-2015 BioJava. All Rights Reserved.