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 int
getId()
The identifier for this Biological Assembly, from 1 to nint
getMacromolecularSize()
Returns the macromolecular size of this biological assembly, i.e.List<BiologicalAssemblyTransformation>
getTransforms()
Return the list ofBiologicalAssemblyTransformation
s needed to generate the biological assembly.void
setId(int id)
void
setMacromolecularSize(int macromolecularSize)
void
setTransforms(List<BiologicalAssemblyTransformation> transforms)
String
toString()
-
-
-
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 ofBiologicalAssemblyTransformation
s 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)
-
-