Creates a UnityMolStructure object from a local or remote PDB file
More...
|
static UnityMolStructure | ParseFromString (string pdbContent) |
|
static string | Write (UnityMolStructure structure) |
| PDB writer Uses a structure and outputs a string containing all the models Ignores secondary structure information More...
|
|
static string | Write (UnityMolSelection select, bool writeModel=false, bool writeHET=true, bool forceHetAsAtom=false, Vector3[] overridedPos=null) |
| PDB writer Uses a selection Ignores secondary structure information More...
|
|
static bool | isLigand (string resName) |
|
static string | GuessElementFromAtomName (string atomName, string resName, bool isHET) |
| Guess atom element from atom name By default, if the element cannot be guessed, returns X. More...
|
|
static void | AddToStructure (string lines, UnityMolStructure structure) |
| Add atoms to a structure using pdb lines Atoms are only added to the current model of the structure More...
|
|
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="") |
|
Creates a UnityMolStructure object from a local or remote PDB file
◆ PDBReader()
UMol.PDBReader.PDBReader |
( |
string |
fileName = "" , |
|
|
string |
PDBServer = "" |
|
) |
| |
◆ AddToStructure()
static void UMol.PDBReader.AddToStructure |
( |
string |
lines, |
|
|
UnityMolStructure |
structure |
|
) |
| |
|
static |
Add atoms to a structure using pdb lines Atoms are only added to the current model of the structure
◆ Fetch() [1/2]
IEnumerator UMol.PDBReader.Fetch |
( |
string |
entryCode, |
|
|
System.Action< UnityMolStructure > |
result, |
|
|
bool |
readHet = true , |
|
|
bool |
readWater = true |
|
) |
| |
◆ Fetch() [2/2]
UnityMolStructure UMol.PDBReader.Fetch |
( |
string |
EntryCode, |
|
|
bool |
readHet = true , |
|
|
bool |
readWater = true |
|
) |
| |
◆ GuessElementFromAtomName()
static string UMol.PDBReader.GuessElementFromAtomName |
( |
string |
atomName, |
|
|
string |
resName, |
|
|
bool |
isHET |
|
) |
| |
|
static |
Guess atom element from atom name By default, if the element cannot be guessed, returns X.
◆ isLigand()
static bool UMol.PDBReader.isLigand |
( |
string |
resName | ) |
|
|
static |
◆ ParseFromString()
◆ ReadData()
override UnityMolStructure UMol.PDBReader.ReadData |
( |
StreamReader |
sr, |
|
|
bool |
readHET, |
|
|
bool |
readWater, |
|
|
bool |
ignoreStructureM = false |
|
) |
| |
|
protectedvirtual |
◆ Write() [1/2]
PDB writer Uses a structure and outputs a string containing all the models Ignores secondary structure information
◆ Write() [2/2]
static string UMol.PDBReader.Write |
( |
UnityMolSelection |
select, |
|
|
bool |
writeModel = false , |
|
|
bool |
writeHET = true , |
|
|
bool |
forceHetAsAtom = false , |
|
|
Vector3 [] |
overridedPos = null |
|
) |
| |
|
static |
PDB writer Uses a selection Ignores secondary structure information
◆ PDBextensions
string [] UMol.PDBReader.PDBextensions = {"pdb", "pdb.gz", "ent", "pqr"} |
|
static |
The documentation for this class was generated from the following file:
- C:/Users/Xavier/Dev/UnityMolX/Assets/Scripts/ParseData/PDBReader.cs