Skip to content

Adds physicochemical properties to output#18

Merged
matthewtoholland merged 5 commits intomainfrom
PhysChemProps
Dec 11, 2025
Merged

Adds physicochemical properties to output#18
matthewtoholland merged 5 commits intomainfrom
PhysChemProps

Conversation

@matthewtoholland
Copy link
Copy Markdown
Member

Adds calculation and display of physicochemical properties:

  • Calculates physicochemical properties (MW, cLogP, TPSA, HBD, HBA, HeavyAtoms, Heteroatoms) for both query and result molecules.
  • Includes these properties and their deltas (difference between query and result) in the output CSV file for easier analysis.
  • Updates .gitignore to ignore a results folder.

Adds a function to calculate physicochemical properties, such as molecular weight, cLogP, TPSA, hydrogen bond donors/acceptors, and heavy/heteroatom counts.
These properties are stored in a dictionary associated with the Molecule class.
Minimum working example
Updates the output format from plain text to CSV for improved data handling.

Facilitates easier importing of results into spreadsheet programs and other data analysis tools.
Adds a new folder to .gitignore to prevent tracking of local result files.
This avoids accidentally committing large or sensitive files.
Calculates and includes the differences in physicochemical properties (MW, cLogP, TPSA, HBD, HBA, heavy atoms, and heteroatoms) between the query molecule and each hit in the search results.

This provides additional context for assessing the similarity of hits to the query, improving the usefulness of the results.
Updates column names in the result table to fix bug with Greek Delta not displaying correctly, using "Delta_" prefix for changes in physicochemical properties.
@matthewtoholland matthewtoholland added the enhancement New feature or request label Dec 11, 2025
@matthewtoholland matthewtoholland merged commit 120822a into main Dec 11, 2025
0 of 8 checks passed
@matthewtoholland matthewtoholland deleted the PhysChemProps branch December 11, 2025 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant