Class BioAssemblyInfo
- java.lang.Object
-
- org.biojava.nbio.structure.quaternary.BioAssemblyInfo
-
- All Implemented Interfaces:
Serializable
public class BioAssemblyInfo extends Object implements Serializable
Representation of a Biological Assembly annotation as provided by the PDB. Contains all the information required to build the Biological Assembly from the asymmetric unit. Note that the PDB allows for 1 or more Biological Assemblies for a given entry. They are identified by the id field.- Author:
- Jose Duarte
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BioAssemblyInfo()Empty constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetId()The identifier for this Biological Assembly, from 1 to nintgetMacromolecularSize()Returns the macromolecular size of this biological assembly, i.e.List<BiologicalAssemblyTransformation>getTransforms()Return the list ofBiologicalAssemblyTransformations needed to generate the biological assembly.voidsetId(int id)voidsetMacromolecularSize(int macromolecularSize)voidsetTransforms(List<BiologicalAssemblyTransformation> transforms)StringtoString()
-
-
-
Constructor Detail
-
BioAssemblyInfo
public BioAssemblyInfo()
Empty constructor
-
-
Method Detail
-
getId
public int getId()
The identifier for this Biological Assembly, from 1 to n- Returns:
-
setId
public void setId(int id)
-
getTransforms
public List<BiologicalAssemblyTransformation> getTransforms()
Return the list ofBiologicalAssemblyTransformations needed to generate the biological assembly. There is one transformation per internal chain id.- Returns:
-
setTransforms
public void setTransforms(List<BiologicalAssemblyTransformation> transforms)
-
getMacromolecularSize
public int getMacromolecularSize()
Returns the macromolecular size of this biological assembly, i.e. the number of polymeric chains (protein or nucleotide chains, not sugars) in the biological assembly.- Returns:
-
setMacromolecularSize
public void setMacromolecularSize(int macromolecularSize)
-
-