public class BiologicalAssemblyBuilder extends Object
Modifier and Type | Field and Description |
---|---|
static String |
COMPOSED_OPERATOR_SEPARATOR
The character separating operator ids that are composed.
|
static String |
SYM_CHAIN_ID_SEPARATOR
The character separating the original chain identifier from the operator id.
|
Constructor and Description |
---|
BiologicalAssemblyBuilder() |
Modifier and Type | Method and Description |
---|---|
ArrayList<BiologicalAssemblyTransformation> |
getBioUnitTransformationList(PdbxStructAssembly psa,
List<PdbxStructAssemblyGen> psags,
List<PdbxStructOperList> operators)
Returns a list of transformation matrices for the generation of a macromolecular
assembly for the specified assembly Id.
|
Structure |
rebuildQuaternaryStructure(Structure asymUnit,
List<BiologicalAssemblyTransformation> transformations,
boolean useAsymIds,
boolean multiModel)
Builds a Structure object containing the quaternary structure built from given asymUnit and transformations,
by adding symmetry partners as new models.
|
public static final String SYM_CHAIN_ID_SEPARATOR
public static final String COMPOSED_OPERATOR_SEPARATOR
public BiologicalAssemblyBuilder()
public Structure rebuildQuaternaryStructure(Structure asymUnit, List<BiologicalAssemblyTransformation> transformations, boolean useAsymIds, boolean multiModel)
asymUnit
- transformations
- useAsymIds
- if true use Chain.getId()
to match the ids in the BiologicalAssemblyTransformation (needed if data read from mmCIF),
if false use Chain.getName()
for the chain matching (needed if data read from PDB).multiModel
- if true the output Structure will be a multi-model one with one transformId per model,
if false the outputStructure will be as the original with added chains with renamed asymIds (in the form originalAsymId_transformId and originalAuthId_transformId).public ArrayList<BiologicalAssemblyTransformation> getBioUnitTransformationList(PdbxStructAssembly psa, List<PdbxStructAssemblyGen> psags, List<PdbxStructOperList> operators)
psa
- psags
- operators
- Copyright © 2000–2019 BioJava. All rights reserved.