You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @param multiModel if true the output Structure will be a multi-model one with one transformId per model,
139
+
* if false the outputStructure will be as the original with added chains with renamed asymIds (in the form originalAsymId_transformId and originalAuthId_transformId).
130
140
* @return a Structure object or null if that assembly is not available
* Returns the biological assembly for the given PDB id and bioassembly identifier.
147
-
* If the assembly occurs through crystallographic symmetry, the symmetry partners
148
-
* are added as new models.
174
+
* <p>
175
+
* The output Structure will be different depending on the multiModel parameter:
176
+
* <li>
177
+
* the symmetry-expanded chains are added as new models, one per transformId. All original models but
178
+
* the first one are discarded.
179
+
* </li>
180
+
* <li>
181
+
* as original with symmetry-expanded chains added with renamed chain ids and names (in the form
182
+
* originalAsymId_transformId and originalAuthId_transformId)
183
+
* </li>
149
184
* @param pdbId
150
185
* @param biolAssemblyNr - the ith biological assembly that is available for a PDB ID (we start counting at 1, 0 represents the asym unit).
186
+
* @param multiModel if true the output Structure will be a multi-model one with one transformId per model,
187
+
* if false the outputStructure will be as the original with added chains with renamed asymIds (in the form originalAsymId_transformId and originalAuthId_transformId).
151
188
* @return a Structure object or null if that assembly is not available
152
189
* @throws StructureException if there is no bioassembly available for given biolAssemblyNr or some other problems encountered while loading it
* Returns all biological assemblies for the given PDB id.
168
-
* If the assembly occurs through crystallographic symmetry, the symmetry partners
169
-
* are added as new models.
170
219
* <p>
220
+
* The output Structure will be different depending on the multiModel parameter:
221
+
* <li>
222
+
* the symmetry-expanded chains are added as new models, one per transformId. All original models but
223
+
* the first one are discarded.
224
+
* </li>
225
+
* <li>
226
+
* as original with symmetry-expanded chains added with renamed chain ids and names (in the form
227
+
* originalAsymId_transformId and originalAuthId_transformId)
228
+
* </li>
171
229
* If only one biological assembly is required use {@link #getBiologicalAssembly(String)} or {@link #getBiologicalAssembly(String, int)} instead.
172
230
* @param pdbId
231
+
* @param multiModel if true the output Structure will be a multi-model one with one transformId per model,
232
+
* if false the outputStructure will be as the original with added chains with renamed asymIds (in the form originalAsymId_transformId and originalAuthId_transformId).
@@ -249,13 +256,15 @@ public Atom[] getRepresentativeAtoms(StructureIdentifier name) throws IOExceptio
249
256
* the PDB ID
250
257
* @param bioAssemblyId
251
258
* the 1-based index of the biological assembly (0 gets the asymmetric unit)
259
+
* @param multiModel if true the output Structure will be a multi-model one with one transformId per model,
260
+
* if false the outputStructure will be as the original with added chains with renamed asymIds (in the form originalAsymId_transformId and originalAuthId_transformId).
252
261
* @return a structure object
253
262
* @throws IOException
254
263
* @throws StructureException if biassemblyId < 0 or other problems while loading structure
@@ -314,14 +323,15 @@ public Structure getBiologicalAssembly(String pdbId, int bioAssemblyId)
314
323
*
315
324
* <p>Biological assemblies can also be accessed using
316
325
* <tt>getStructure("BIO:<i>[pdbId]</i>")</tt>
317
-
* @param pdbId
318
-
* the PDB ID
326
+
* @param pdbId the PDB id
327
+
* @param multiModel if true the output Structure will be a multi-model one with one transformId per model,
328
+
* if false the outputStructure will be as the original with added chains with renamed asymIds (in the form originalAsymId_transformId and originalAuthId_transformId).
* Returns all biological assemblies for given PDB id.
371
381
* @param pdbId
382
+
* @param multiModel if true the output Structure will be a multi-model one with one transformId per model,
383
+
* if false the outputStructure will be as the original with added chains with renamed asymIds (in the form originalAsymId_transformId and originalAuthId_transformId).
Copy file name to clipboardExpand all lines: biojava-structure/src/main/java/org/biojava/nbio/structure/quaternary/BiologicalAssemblyBuilder.java
+46-9Lines changed: 46 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -59,15 +59,24 @@ public BiologicalAssemblyBuilder(){
59
59
/**
60
60
* Builds a Structure object containing the quaternary structure built from given asymUnit and transformations,
61
61
* by adding symmetry partners as new models.
62
-
* If the input Structure is multi-model, then only model 1 is retained and the quaternary structure is built
63
-
* in the same way with additional models.
62
+
* The output Structure will be different depending on the multiModel parameter:
63
+
* <li>
64
+
* the symmetry-expanded chains are added as new models, one per transformId. All original models but
65
+
* the first one are discarded.
66
+
* </li>
67
+
* <li>
68
+
* as original with symmetry-expanded chains added with renamed chain ids and names (in the form
69
+
* originalAsymId_transformId and originalAuthId_transformId)
70
+
* </li>
64
71
* @param asymUnit
65
72
* @param transformations
66
73
* @param useAsymIds if true use {@link Chain#getId()} to match the ids in the BiologicalAssemblyTransformation (needed if data read from mmCIF),
67
74
* if false use {@link Chain#getName()} for the chain matching (needed if data read from PDB).
75
+
* @param multiModel if true the output Structure will be a multi-model one with one transformId per model,
76
+
* if false the outputStructure will be as the original with added chains with renamed asymIds (in the form originalAsymId_transformId and originalAuthId_transformId).
0 commit comments