UnityMol  1.0.25beta
UMol.PDBxReader Class Reference

Creates a Molecule object from a local or remote PDBx/mmCIF file file More...

Inheritance diagram for UMol.PDBxReader:
UMol.Reader

Public Member Functions

 PDBxReader (string fileName="", string PDBxServer="")
 
IEnumerator Fetch (string entryCode, System.Action< UnityMolStructure > result, bool readHet=true, bool readWater=true)
 Fetches compressed PDBx/mmCIF file from RCSB servers and parses the data More...
 
UnityMolStructure Fetch (string entryCode, bool readHet=true, bool readWater=true)
 
- Public Member Functions inherited from UMol.Reader
 Reader ()
 
 Reader (string fileName)
 
void updateFileNames ()
 
UnityMolStructure Read (bool readHet=true, bool readWater=true)
 Reads a file from local HDD and parses the data More...
 

Static Public Attributes

static string [] PDBxextensions = {"cif", "cif.gz", "mmcif", "mmcif.gz"}
 
- Static Public Attributes inherited from UMol.Reader
static int limitBigMolecule = 5000
 

Protected Member Functions

override UnityMolStructure ReadData (StreamReader sr, bool readHET, bool readWater, bool simplyParse=false)
 Parses a PDBx/mmCIF file file to a Molecule object More...
 

Additional Inherited Members

- Static Public Member Functions inherited from UMol.Reader
static void identifyStructureMolecularType (UnityMolStructure s)
 Fills the structureType field in the UnityMolStructure class based on atom names More...
 
static Reader GuessReaderFrom (string filename, string format="")
 
- Static Protected Member Functions inherited from UMol.Reader
static void FillSecondaryStructure (UnityMolStructure structure, List< secStruct > secStructsList)
 
static void CreateColliders (UnityMolSelection sel)
 Creates sphere collider for each atom of the current model of the structure More...
 
static bool QuickStartWith (string full, string comp)
 Check if the string full contains at the begining, the string comp More...
 
static string findNewAtomName (HashSet< string > residueAtoms, string name)
 
- Protected Attributes inherited from UMol.Reader
string fileName
 
string fileNameWithoutExtension
 

Detailed Description

Creates a Molecule object from a local or remote PDBx/mmCIF file file

Constructor & Destructor Documentation

◆ PDBxReader()

UMol.PDBxReader.PDBxReader ( string  fileName = "",
string  PDBxServer = "" 
)

Member Function Documentation

◆ Fetch() [1/2]

IEnumerator UMol.PDBxReader.Fetch ( string  entryCode,
System.Action< UnityMolStructure result,
bool  readHet = true,
bool  readWater = true 
)

Fetches compressed PDBx/mmCIF file from RCSB servers and parses the data

◆ Fetch() [2/2]

UnityMolStructure UMol.PDBxReader.Fetch ( string  entryCode,
bool  readHet = true,
bool  readWater = true 
)

◆ ReadData()

override UnityMolStructure UMol.PDBxReader.ReadData ( StreamReader  sr,
bool  readHET,
bool  readWater,
bool  simplyParse = false 
)
protectedvirtual

Parses a PDBx/mmCIF file file to a Molecule object

Implements UMol.Reader.

Member Data Documentation

◆ PDBxextensions

string [] UMol.PDBxReader.PDBxextensions = {"cif", "cif.gz", "mmcif", "mmcif.gz"}
static

The documentation for this class was generated from the following file: