Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

ProteinLigandInteractionAnalysis

Symbols

  • AnalyzePoseFunctional
  • BuildConsensusMatrixForArrayPlot
  • ClassifyProteinLigandPose
  • ComputeProteinParameters
  • ConsensusHeatmapArray
  • ConsensusHeatmapByLabel
  • ConsensusSideChainFunctionalMapByLabel
  • LabelPose
  • LigandSideChainContactsDetailed
  • parseAtomLine
  • ParsePDBAtoms
  • PoseMetrics
  • ProteinAtomType
  • ProteinResidueKeys
  • SideChainFunctionalSummary
YingyingJin`ProteinLigandInteractionAnalysis`
ParsePDBAtoms
​
ParsePDBAtoms[file_String(PDBfile)]
Sorting the PDB file
​
Details and Options

Examples  
(1)
Basic Examples  
(1)
In[1]:=
examplePDB="/tmp/example.pdb";​​​​Export[examplePDB,{"ATOM 1 N VAL A 1 10.111 11.222 12.333 1.00 20.00 N","ATOM 2 CA VAL A 1 10.444 11.555 12.666 1.00 20.00 C","ATOM 3 C VAL A 1 10.777 11.888 12.999 1.00 20.00 C","HETATM 4001 C1 ZINC A 401 15.123 16.234 17.345 1.00 30.00 C","HETATM 4002 O1 ZINC A 401 15.456 16.567 17.678 1.00 30.00 O"},"Text"]​​
Out[1]=
/tmp/example.pdb
In[2]:=
Import[examplePDB,"Text"]//Print
ATOM 1 N VAL A 1 10.111 11.222 12.333 1.00 20.00 NATOM 2 CA VAL A 1 10.444 11.555 12.666 1.00 20.00 CATOM 3 C VAL A 1 10.777 11.888 12.999 1.00 20.00 CHETATM 4001 C1 ZINC A 401 15.123 16.234 17.345 1.00 30.00 CHETATM 4002 O1 ZINC A 401 15.456 16.567 17.678 1.00 30.00 O
In[3]:=
parsed=ParsePDBAtoms[examplePDB]​​
Out[3]=
{RecordNameATOM,AtomSerialNumber1,AtomNameN,ResidueNameVAL,ChainIDA,ResidueSequenceNumber1,AtomCoordinates{10.111,11.222,12.333},Occupancy1.,TempFactor20.,ElementN,Charge,RecordNameATOM,AtomSerialNumber2,AtomNameCA,ResidueNameVAL,ChainIDA,ResidueSequenceNumber1,AtomCoordinates{10.444,11.555,12.666},Occupancy1.,TempFactor20.,ElementC,Charge,RecordNameATOM,AtomSerialNumber3,AtomNameC,ResidueNameVAL,ChainIDA,ResidueSequenceNumber1,AtomCoordinates{10.777,11.888,12.999},Occupancy1.,TempFactor20.,ElementC,Charge,RecordNameHETATM,AtomSerialNumber4001,AtomNameC1,ResidueNameZIN,ChainID,ResidueSequenceNumber40A,AtomCoordinates{15.12,48.69,69.36},Occupancy5.,TempFactor0.,Element,Charge,RecordNameHETATM,AtomSerialNumber4002,AtomNameO1,ResidueNameZIN,ChainID,ResidueSequenceNumber40A,AtomCoordinates{15.45,99.36,123.69},Occupancy8.,TempFactor0.,Element,Charge}
SeeAlso
parseAtomLine
""

© 2026 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com