Class AbstractCifFileSupplier.WrappedAtom
- java.lang.Object
-
- org.biojava.nbio.structure.io.cif.AbstractCifFileSupplier.WrappedAtom
-
- Enclosing class:
- AbstractCifFileSupplier<S>
public static class AbstractCifFileSupplier.WrappedAtom extends Object
Wrapped atoms represent individual atoms enriched with model- and chain-level information. Also, gives control over the atomId field. Useful to convert structures (and subsets thereof) to their mmCIF representation.
-
-
Constructor Summary
Constructors Constructor Description WrappedAtom(int model, String chainName, String chainId, Atom atom, int atomId)
Construct a new atoms.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Atom
getAtom()
int
getAtomId()
String
getChainId()
String
getChainName()
int
getModel()
-
-
-
Constructor Detail
-
WrappedAtom
public WrappedAtom(int model, String chainName, String chainId, Atom atom, int atomId)
Construct a new atoms.- Parameters:
model
- the model numberchainName
- the label_asym_idchainId
- the auth_asym_idatom
- the atom instance itselfatomId
- the label_atom_id
-
-
Method Detail
-
getModel
public int getModel()
-
getChainName
public String getChainName()
-
getChainId
public String getChainId()
-
getAtomId
public int getAtomId()
-
-