𧬠superdarks: Code files : 1-query_code/library
- π 3rd_party_requirements.txt β Download
- π compGeometry.py β Download
- π convexHull3D_2_0.py β Download
- π convexHull4D_2_22.py β Download
- π determinants.py β Download
- π goFo.py β Download
- π pHinderSurface.py β Download
- π pdbFile.py β Download
- π pdbFile_cif.py β Download
- π ssco.py β Download
π Scripts in this folder
These are the shared computational-geometry / PDB-I/O modules imported by the stage-1 query scripts. They are the Isom-Lab library core and are also used (copied) by other stages and projects.
compGeometry.pyβ Core computational-geometry primitives: tolerance estimation (geom_tol),Vertex/Vertex4Dtypes,Edge/Trianglesimplex classes, plane coefficients (planeCoefficients3D/4D), general-position tests (gp2D/3D/4D), distance and centroid helpers.determinants.pyβ Explicit inline 2Γ2 / 3Γ3 / 4Γ4 determinants (no matrix-library dependency), tuned for tight orientation-test loops.convexHull3D_2_0.pyβ Incremental 3D convex-hull builder plus atriangulation2Dhelper that extracts and labels Delaunay edges for downstream network construction.convexHull4D_2_22.pyβ Incremental 4D convex-hull builder that uses the horizon-ridge trick,Simplex1..3classes, and general-position jostling β the basis for reduced Delaunay-like representations of aligned structures.pdbFile.pyβ Hand-rolled PDB parser:PDBfile(atom / hetatm dicts, chain selection from-chains.filenames, gzip-aware I/O),PseudoAtom, and the residue-class constants (NONPOLAR/POLAR/IONIZABLE/ALL_SIDECHAINS/ACTIVE).pdbFile_cif.pyβ Sibling ofpdbFile.pyfor mmCIF input: streams_atom_site.*records into the samePseudoAtom/ residue data model.pHinderSurface.pyβ pHinder surface reducer: builds ionizable / polar / apolar surface networks from a PDB usingconvexHull4D_2_22+goFo, with gzip output andperf_countertimers.goFo.pyβ Recursive βgo-forwardβ walk through a triangulation or network: forbids revisits, carries level / edge bookkeeping, and supportsPSAfiltering and edge-skip lists β the graph-traversal primitive reused across pHinder and superdarks.ssco.pyβ Secondary-Structure Constrained-Object extractor:grab_sscopulls helical and sheet CA residues from a PDB (viaPseudoAtom+ 4D circumspheres) and optionally writes_helix,_sheet, or combined PDBs.3rd_party_requirements.txtβ External dependencies required by the stage-1 scripts:bjobs,bsub(LSF), andnumpy.
β οΈ Disclaimer
This is research-grade code provided for academic and exploratory purposes only. It is not intended for professional or clinical deployment.