Skip to main content

用于计算分子性质和绘制性质分布的工具。

Project description

Molecular Descriptor Stat Analysis Tools

This Python command calculates various molecular descriptors for a given set of molecules from an SDF file and plots the molecular weight distribution.

Features

  • Calculate TPSA (Topological Polar Surface Area)
  • Calculate LogP (Molecular LogP)
  • Calculate Molecular Weight (MW)
  • Calculate Hydrogen Bond Donors (HBD)
  • Calculate Hydrogen Bond Acceptors (HBA)
  • Plot the distribution of molecular weights

Requirements

  • RDKit: A collection of cheminformatics and machine-learning tools
  • NumPy: The fundamental package for scientific computing with Python
  • Matplotlib: A plotting library for the Python programming language

Installation

To install the required packages, run:

pip install molstat 

Usage

Run the script with an SDF file as an argument:

molstat  your_file.sdf

Output

The script will generate a plot of the molecular weight distribution and save it as a PNG file with the name structure: MW<basename>.png, where <basename> is the name of the input file without the extension.

Example

To analyze a file named test.sdf, you would run:

molstat test.sdf

This will generate a plot named MWtest.png.

License

MIT License

Contact

For any questions or issues, please contact zqchen_simm@qq.com .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

molstat-0.3.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

molstat-0.3-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file molstat-0.3.tar.gz.

File metadata

  • Download URL: molstat-0.3.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.7

File hashes

Hashes for molstat-0.3.tar.gz
Algorithm Hash digest
SHA256 d539c0d9ce316076d1e6a5b0ccfd9a21c3c65dd97b2fcf398b5e649dded8461a
MD5 e5d27cfc0196584dcda4369c004daa6a
BLAKE2b-256 485613e064bd6b23854263feb9840c19fe56a1cfa671f2de30dcd387fe0e9f34

See more details on using hashes here.

File details

Details for the file molstat-0.3-py3-none-any.whl.

File metadata

  • Download URL: molstat-0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.7

File hashes

Hashes for molstat-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4e257b8b3b52c797b69ff2355b7b647dfec39413b1439eb59f527b401570a0b8
MD5 45fc59471730c4020baa1ed7aaf1872b
BLAKE2b-256 4cd850ab9782d5ca3fdde425449a05551070e2b481d95cd7ed139cc2f48e0498

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page