structure
Analyze a single topology or structure file without requiring a trajectory.
Results are written to a .psa (Pharmacon Structure Analysis) HDF5 artifact.
Supported formats: .mol2, .smi (properties); .pdb, .gro,
.crd (sequence). .sdf is accepted by the parser but the reader is
not yet implemented — use .mol2 or .smi.
properties
Compute structural and chemical descriptors for small molecules using RDKit.
Computed properties:
Molecular weight, LogP, TPSA (topological polar surface area)
Rotatable bond count, ring count, aromaticity
Stereocenter count, net charge
Element composition, molecular volume, fragment counts
Computed fingerprints:
Morgan / ECFP
Topological torsion
Atom pair
MACCS keys
Arguments
Flag |
Required |
Description |
|---|---|---|
|
Yes |
Input small-molecule file ( |
|
No |
Output |
|
No |
Overwrite existing output file |
|
No |
Log file (default: |
|
No |
File log verbosity (default: |
|
No |
Terminal log verbosity (default: |
Examples
Compute properties for a single MOL2 ligand:
pharmacon structure properties \
-i ligand.mol2 \
-o ligand_props.psa
Process a SMILES file with multiple molecules:
pharmacon structure properties \
-i ligands.smi \
-o ligand_props.psa
Then export to CSV:
pharmacon export psa -i ligand_props.psa -f csv -o ./results/
Overwrite an existing output:
pharmacon structure properties \
-i ligands.smi \
-o ligand_props.psa \
--overwrite
sequence
Extract the amino-acid sequence from a protein topology, organized by chain.
Outputs single-letter and three-letter representations with residue ID
mappings. Supports FASTA export via pharmacon export psa.
Arguments
Flag |
Required |
Description |
|---|---|---|
|
Yes |
Input topology file ( |
|
No |
Output |
|
No |
Overwrite existing output file |
|
No |
Log file (default: |
|
No |
File log verbosity (default: |
|
No |
Terminal log verbosity (default: |
Examples
Extract sequence from a PDB file:
pharmacon structure sequence \
-p protein.pdb \
-o sequence.psa
Extract from a GROMACS structure:
pharmacon structure sequence \
-p protein.gro \
-o sequence.psa
Export the sequence to FASTA for downstream bioinformatics:
pharmacon structure sequence -p protein.pdb -o sequence.psa
pharmacon export psa -i sequence.psa -f fasta -o ./results/