|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biojava.bio.structure.io.mmcif.SimpleMMcifConsumer
public class SimpleMMcifConsumer
A MMcifConsumer implementation that build a in-memory representation of the content of a mmcif file as a BioJava Structure object.
| Field Summary | |
|---|---|
static Logger |
logger
|
| Constructor Summary | |
|---|---|
SimpleMMcifConsumer()
|
|
| Method Summary | |
|---|---|
void |
documentEnd()
called at end of document |
void |
documentStart()
Start the parsing |
Structure |
getStructure()
This method will return the parsed protein structure, once the parsing has been finished |
boolean |
isAlignSeqRes()
Flag if the SEQRES amino acids should be aligned with the ATOM amino acids. |
boolean |
isParseCAOnly()
|
void |
newAtomSite(AtomSite atom)
A new AtomSite record has been read. |
void |
newChemComp(ChemComp c)
|
void |
newDatabasePDBremark(DatabasePDBremark remark)
|
void |
newDatabasePDBrev(DatabasePDBrev dbrev)
|
void |
newEntity(Entity entity)
|
void |
newEntityPolySeq(EntityPolySeq epolseq)
The EntityPolySeq object provide the amino acid sequence objects for the Entities. |
void |
newExptl(Exptl exptl)
|
void |
newGenericData(String category,
List<String> loopFields,
List<String> lineData)
This method is called if no particular handler for the provided cif category has been implemented so far. |
void |
newPdbxEntityNonPoly(PdbxEntityNonPoly pen)
|
void |
newPdbxNonPolyScheme(PdbxNonPolyScheme ppss)
|
void |
newPdbxPolySeqScheme(PdbxPolySeqScheme ppss)
|
void |
newRefine(Refine r)
|
void |
newStructAsym(StructAsym sasym)
|
void |
newStructKeywords(StructKeywords kw)
|
void |
newStructRef(StructRef sref)
|
void |
newStructRefSeq(StructRefSeq sref)
create a DBRef record from the StrucRefSeq record: |
void |
setAlignSeqRes(boolean alignSeqRes)
define if the SEQRES in the structure should be aligned with the ATOM records if yes, the AminoAcids in structure.getSeqRes will have the coordinates set. |
void |
setParseCAOnly(boolean parseCAOnly)
|
void |
setStruct(Struct struct)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static Logger logger
| Constructor Detail |
|---|
public SimpleMMcifConsumer()
| Method Detail |
|---|
public boolean isParseCAOnly()
public void setParseCAOnly(boolean parseCAOnly)
public void newEntity(Entity entity)
newEntity in interface MMcifConsumerpublic void newStructAsym(StructAsym sasym)
newStructAsym in interface MMcifConsumerpublic void newStructKeywords(StructKeywords kw)
newStructKeywords in interface MMcifConsumerpublic void setStruct(Struct struct)
setStruct in interface MMcifConsumerpublic void newAtomSite(AtomSite atom)
MMcifConsumer
newAtomSite in interface MMcifConsumerpublic void documentStart()
documentStart in interface MMcifConsumerpublic boolean isAlignSeqRes()
public void setAlignSeqRes(boolean alignSeqRes)
alignSeqRes - public void documentEnd()
MMcifConsumer
documentEnd in interface MMcifConsumerpublic Structure getStructure()
public void newDatabasePDBrev(DatabasePDBrev dbrev)
newDatabasePDBrev in interface MMcifConsumerpublic void newDatabasePDBremark(DatabasePDBremark remark)
newDatabasePDBremark in interface MMcifConsumerpublic void newRefine(Refine r)
newRefine in interface MMcifConsumerpublic void newExptl(Exptl exptl)
newExptl in interface MMcifConsumerpublic void newStructRef(StructRef sref)
newStructRef in interface MMcifConsumerpublic void newStructRefSeq(StructRefSeq sref)
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
newStructRefSeq in interface MMcifConsumerpublic void newEntityPolySeq(EntityPolySeq epolseq)
newEntityPolySeq in interface MMcifConsumerepolseq - the EntityPolySeq record for one amino acidpublic void newPdbxPolySeqScheme(PdbxPolySeqScheme ppss)
newPdbxPolySeqScheme in interface MMcifConsumerpublic void newPdbxNonPolyScheme(PdbxNonPolyScheme ppss)
newPdbxNonPolyScheme in interface MMcifConsumerpublic void newPdbxEntityNonPoly(PdbxEntityNonPoly pen)
newPdbxEntityNonPoly in interface MMcifConsumerpublic void newChemComp(ChemComp c)
newChemComp in interface MMcifConsumer
public void newGenericData(String category,
List<String> loopFields,
List<String> lineData)
MMcifConsumer
newGenericData in interface MMcifConsumercategory - The category that is being processed.loopFields - the fields of this category.lineData - the data that is being provided.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||