Class SimpleMMcifConsumer
java.lang.Object
org.biojava.nbio.structure.io.mmcif.SimpleMMcifConsumer
- All Implemented Interfaces:
MMcifConsumer
A MMcifConsumer implementation that builds an in-memory representation of the
content of a mmcif file as a BioJava Structure object.
- Since:
- 1.7
- Author:
- Andreas Prlic
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
called at end of documentvoid
Start the parsingThis method will return the parsed protein structure, once the parsing has been finishedvoid
newAtomSite
(AtomSite atom) A new AtomSite record has been read.void
newAtomSites
(AtomSites atomSites) void
AuditAuthor contains the info from the PDB-AUTHOR records.void
void
void
newChemCompAtom
(ChemCompAtom atom) void
newChemCompBond
(ChemCompBond bond) void
void
void
newDatabasePDBrev
(DatabasePDBrev dbrev) void
void
void
newEntityPolySeq
(EntityPolySeq epolseq) The EntityPolySeq object provide the amino acid sequence objects for the Entities.void
newEntitySrcGen
(EntitySrcGen entitySrcGen) Data items in the ENTITY_SRC_GEN category record details of the source from which the entity was obtained in cases where the source was genetically manipulated.void
newEntitySrcNat
(EntitySrcNat entitySrcNat) void
newEntitySrcSyn
(EntitySrcSyn entitySrcSyn) void
void
This method is called if no particular handler for the provided cif category has been implemented so far.void
void
void
void
void
void
newPdbxStrucAssembly
(PdbxStructAssembly strucAssembly) void
newPdbxStrucAssemblyGen
(PdbxStructAssemblyGen strucAssembly) void
newPdbxStructOperList
(PdbxStructOperList structOper) void
void
newStructAsym
(StructAsym sasym) void
newStructConn
(StructConn structConn) void
void
newStructNcsOper
(StructNcsOper sNcsOper) void
newStructRef
(StructRef sref) void
newStructRefSeq
(StructRefSeq sref) create a DBRef record from the StrucRefSeq record:void
void
newStructSite
(StructSite structSite) void
newStructSiteGen
(StructSiteGen siteGen) void
newSymmetry
(Symmetry symmetry) void
void
-
Constructor Details
-
SimpleMMcifConsumer
public SimpleMMcifConsumer()
-
-
Method Details
-
newEntity
- Specified by:
newEntity
in interfaceMMcifConsumer
-
newPdbxStructOperList
- Specified by:
newPdbxStructOperList
in interfaceMMcifConsumer
-
newStructAsym
- Specified by:
newStructAsym
in interfaceMMcifConsumer
-
newStructKeywords
- Specified by:
newStructKeywords
in interfaceMMcifConsumer
-
setStruct
- Specified by:
setStruct
in interfaceMMcifConsumer
-
newAtomSite
Description copied from interface:MMcifConsumer
A new AtomSite record has been read. Contains the Atom data- Specified by:
newAtomSite
in interfaceMMcifConsumer
-
documentStart
public void documentStart()Start the parsing- Specified by:
documentStart
in interfaceMMcifConsumer
-
documentEnd
public void documentEnd()Description copied from interface:MMcifConsumer
called at end of document- Specified by:
documentEnd
in interfaceMMcifConsumer
-
getStructure
This method will return the parsed protein structure, once the parsing has been finished- Returns:
- a BioJava protein structure object
-
newDatabasePDBrevRecord
- Specified by:
newDatabasePDBrevRecord
in interfaceMMcifConsumer
-
newDatabasePDBrev
- Specified by:
newDatabasePDBrev
in interfaceMMcifConsumer
-
newDatabasePDBremark
- Specified by:
newDatabasePDBremark
in interfaceMMcifConsumer
-
newRefine
- Specified by:
newRefine
in interfaceMMcifConsumer
-
newAuditAuthor
Description copied from interface:MMcifConsumer
AuditAuthor contains the info from the PDB-AUTHOR records.- Specified by:
newAuditAuthor
in interfaceMMcifConsumer
-
newExptl
- Specified by:
newExptl
in interfaceMMcifConsumer
-
newCell
- Specified by:
newCell
in interfaceMMcifConsumer
-
newSymmetry
- Specified by:
newSymmetry
in interfaceMMcifConsumer
-
newStructNcsOper
- Specified by:
newStructNcsOper
in interfaceMMcifConsumer
-
newAtomSites
- Specified by:
newAtomSites
in interfaceMMcifConsumer
-
newStructRef
- Specified by:
newStructRef
in interfaceMMcifConsumer
-
newStructRefSeq
create a DBRef record from the StrucRefSeq record:PDB record DBREF Field Name mmCIF Data Item Section n.a. PDB_ID_Code _struct_ref_seq.pdbx_PDB_id_code Strand_ID _struct_ref_seq.pdbx_strand_id Begin_Residue_Number _struct_ref_seq.pdbx_auth_seq_align_beg Begin_Ins_Code _struct_ref_seq.pdbx_seq_align_beg_ins_code End_Residue_Number _struct_ref_seq.pdbx_auth_seq_align_end End_Ins_Code _struct_ref_seq.pdbx_seq_align_end_ins_code Database _struct_ref.db_name Database_Accession_No _struct_ref_seq.pdbx_db_accession Database_ID_Code _struct_ref.db_code Database_Begin_Residue_Number _struct_ref_seq.db_align_beg Databaes_Begin_Ins_Code _struct_ref_seq.pdbx_db_align_beg_ins_code Database_End_Residue_Number _struct_ref_seq.db_align_end Databaes_End_Ins_Code _struct_ref_seq.pdbx_db_align_end_ins_code
- Specified by:
newStructRefSeq
in interfaceMMcifConsumer
-
newStructRefSeqDif
- Specified by:
newStructRefSeqDif
in interfaceMMcifConsumer
-
newEntitySrcGen
Data items in the ENTITY_SRC_GEN category record details of the source from which the entity was obtained in cases where the source was genetically manipulated. The following are treated separately: items pertaining to the tissue from which the gene was obtained, items pertaining to the host organism for gene expression and items pertaining to the actual producing organism (plasmid).- Specified by:
newEntitySrcGen
in interfaceMMcifConsumer
-
newEntitySrcNat
- Specified by:
newEntitySrcNat
in interfaceMMcifConsumer
-
newEntitySrcSyn
- Specified by:
newEntitySrcSyn
in interfaceMMcifConsumer
-
newEntityPolySeq
The EntityPolySeq object provide the amino acid sequence objects for the Entities. Later on the entities are mapped to the BioJava Chain and Compound objects.- Specified by:
newEntityPolySeq
in interfaceMMcifConsumer
- Parameters:
epolseq
- the EntityPolySeq record for one amino acid
-
newPdbxPolySeqScheme
- Specified by:
newPdbxPolySeqScheme
in interfaceMMcifConsumer
-
newPdbxNonPolyScheme
- Specified by:
newPdbxNonPolyScheme
in interfaceMMcifConsumer
-
newPdbxEntityNonPoly
- Specified by:
newPdbxEntityNonPoly
in interfaceMMcifConsumer
-
newChemComp
- Specified by:
newChemComp
in interfaceMMcifConsumer
-
newGenericData
Description copied from interface:MMcifConsumer
This method is called if no particular handler for the provided cif category has been implemented so far.- Specified by:
newGenericData
in interfaceMMcifConsumer
- Parameters:
category
- The category that is being processed.loopFields
- the fields of this category.lineData
- the data that is being provided.
-
getFileParsingParameters
- Specified by:
getFileParsingParameters
in interfaceMMcifConsumer
-
setFileParsingParameters
- Specified by:
setFileParsingParameters
in interfaceMMcifConsumer
-
newChemCompDescriptor
- Specified by:
newChemCompDescriptor
in interfaceMMcifConsumer
-
getStructOpers
-
newPdbxStrucAssembly
- Specified by:
newPdbxStrucAssembly
in interfaceMMcifConsumer
-
getStructAssemblies
-
newPdbxStrucAssemblyGen
- Specified by:
newPdbxStrucAssemblyGen
in interfaceMMcifConsumer
-
getStructAssemblyGens
-
newChemCompAtom
- Specified by:
newChemCompAtom
in interfaceMMcifConsumer
-
newPdbxChemCompIndentifier
- Specified by:
newPdbxChemCompIndentifier
in interfaceMMcifConsumer
-
newChemCompBond
- Specified by:
newChemCompBond
in interfaceMMcifConsumer
-
newPdbxChemCompDescriptor
- Specified by:
newPdbxChemCompDescriptor
in interfaceMMcifConsumer
-
newStructConn
- Specified by:
newStructConn
in interfaceMMcifConsumer
-
newStructSiteGen
- Specified by:
newStructSiteGen
in interfaceMMcifConsumer
-
newStructSite
- Specified by:
newStructSite
in interfaceMMcifConsumer
-