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
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidcalled at end of documentvoidStart the parsingThis method will return the parsed protein structure, once the parsing has been finishedvoidnewAtomSite(AtomSite atom) A new AtomSite record has been read.voidnewAtomSites(AtomSites atomSites) voidAuditAuthor contains the info from the PDB-AUTHOR records.voidvoidvoidnewChemCompAtom(ChemCompAtom atom) voidnewChemCompBond(ChemCompBond bond) voidvoidvoidnewDatabasePDBrev(DatabasePDBrev dbrev) voidvoidvoidnewEntityPolySeq(EntityPolySeq epolseq) The EntityPolySeq object provide the amino acid sequence objects for the Entities.voidnewEntitySrcGen(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.voidnewEntitySrcNat(EntitySrcNat entitySrcNat) voidnewEntitySrcSyn(EntitySrcSyn entitySrcSyn) voidvoidThis method is called if no particular handler for the provided cif category has been implemented so far.voidvoidvoidvoidvoidvoidnewPdbxStrucAssembly(PdbxStructAssembly strucAssembly) voidnewPdbxStrucAssemblyGen(PdbxStructAssemblyGen strucAssembly) voidnewPdbxStructOperList(PdbxStructOperList structOper) voidvoidnewStructAsym(StructAsym sasym) voidnewStructConn(StructConn structConn) voidvoidnewStructNcsOper(StructNcsOper sNcsOper) voidnewStructRef(StructRef sref) voidnewStructRefSeq(StructRefSeq sref) create a DBRef record from the StrucRefSeq record:voidvoidnewStructSite(StructSite structSite) voidnewStructSiteGen(StructSiteGen siteGen) voidnewSymmetry(Symmetry symmetry) voidvoid 
- 
Constructor Details
- 
SimpleMMcifConsumer
public SimpleMMcifConsumer() 
 - 
 - 
Method Details
- 
newEntity
- Specified by:
 newEntityin interfaceMMcifConsumer
 - 
newPdbxStructOperList
- Specified by:
 newPdbxStructOperListin interfaceMMcifConsumer
 - 
newStructAsym
- Specified by:
 newStructAsymin interfaceMMcifConsumer
 - 
newStructKeywords
- Specified by:
 newStructKeywordsin interfaceMMcifConsumer
 - 
setStruct
- Specified by:
 setStructin interfaceMMcifConsumer
 - 
newAtomSite
Description copied from interface:MMcifConsumerA new AtomSite record has been read. Contains the Atom data- Specified by:
 newAtomSitein interfaceMMcifConsumer
 - 
documentStart
public void documentStart()Start the parsing- Specified by:
 documentStartin interfaceMMcifConsumer
 - 
documentEnd
public void documentEnd()Description copied from interface:MMcifConsumercalled at end of document- Specified by:
 documentEndin 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:
 newDatabasePDBrevRecordin interfaceMMcifConsumer
 - 
newDatabasePDBrev
- Specified by:
 newDatabasePDBrevin interfaceMMcifConsumer
 - 
newDatabasePDBremark
- Specified by:
 newDatabasePDBremarkin interfaceMMcifConsumer
 - 
newRefine
- Specified by:
 newRefinein interfaceMMcifConsumer
 - 
newAuditAuthor
Description copied from interface:MMcifConsumerAuditAuthor contains the info from the PDB-AUTHOR records.- Specified by:
 newAuditAuthorin interfaceMMcifConsumer
 - 
newExptl
- Specified by:
 newExptlin interfaceMMcifConsumer
 - 
newCell
- Specified by:
 newCellin interfaceMMcifConsumer
 - 
newSymmetry
- Specified by:
 newSymmetryin interfaceMMcifConsumer
 - 
newStructNcsOper
- Specified by:
 newStructNcsOperin interfaceMMcifConsumer
 - 
newAtomSites
- Specified by:
 newAtomSitesin interfaceMMcifConsumer
 - 
newStructRef
- Specified by:
 newStructRefin 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:
 newStructRefSeqin interfaceMMcifConsumer
 - 
newStructRefSeqDif
- Specified by:
 newStructRefSeqDifin 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:
 newEntitySrcGenin interfaceMMcifConsumer
 - 
newEntitySrcNat
- Specified by:
 newEntitySrcNatin interfaceMMcifConsumer
 - 
newEntitySrcSyn
- Specified by:
 newEntitySrcSynin 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:
 newEntityPolySeqin interfaceMMcifConsumer- Parameters:
 epolseq- the EntityPolySeq record for one amino acid
 - 
newPdbxPolySeqScheme
- Specified by:
 newPdbxPolySeqSchemein interfaceMMcifConsumer
 - 
newPdbxNonPolyScheme
- Specified by:
 newPdbxNonPolySchemein interfaceMMcifConsumer
 - 
newPdbxEntityNonPoly
- Specified by:
 newPdbxEntityNonPolyin interfaceMMcifConsumer
 - 
newChemComp
- Specified by:
 newChemCompin interfaceMMcifConsumer
 - 
newGenericData
Description copied from interface:MMcifConsumerThis method is called if no particular handler for the provided cif category has been implemented so far.- Specified by:
 newGenericDatain 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:
 getFileParsingParametersin interfaceMMcifConsumer
 - 
setFileParsingParameters
- Specified by:
 setFileParsingParametersin interfaceMMcifConsumer
 - 
newChemCompDescriptor
- Specified by:
 newChemCompDescriptorin interfaceMMcifConsumer
 - 
getStructOpers
 - 
newPdbxStrucAssembly
- Specified by:
 newPdbxStrucAssemblyin interfaceMMcifConsumer
 - 
getStructAssemblies
 - 
newPdbxStrucAssemblyGen
- Specified by:
 newPdbxStrucAssemblyGenin interfaceMMcifConsumer
 - 
getStructAssemblyGens
 - 
newChemCompAtom
- Specified by:
 newChemCompAtomin interfaceMMcifConsumer
 - 
newPdbxChemCompIndentifier
- Specified by:
 newPdbxChemCompIndentifierin interfaceMMcifConsumer
 - 
newChemCompBond
- Specified by:
 newChemCompBondin interfaceMMcifConsumer
 - 
newPdbxChemCompDescriptor
- Specified by:
 newPdbxChemCompDescriptorin interfaceMMcifConsumer
 - 
newStructConn
- Specified by:
 newStructConnin interfaceMMcifConsumer
 - 
newStructSiteGen
- Specified by:
 newStructSiteGenin interfaceMMcifConsumer
 - 
newStructSite
- Specified by:
 newStructSitein interfaceMMcifConsumer
 
 -