Add your description here
Project description
polymerfingerprint
origin
The Polymerfingerprint is a decoder for SMILES of polymer monomer units specialised for machine learning and the product
of a prior scientific study "Fingerprint applicable for machine learning tested on LCST behavior of polymers".
Please cite us under https://doi.org/10.1016/j.xcrp.2023.101553 upon using the code or the data generated with it.
A tutorial to redo the study is available as "Protocol for creating representations of molecular structures using a
polymer-specific decoder" (https://doi.org/10.1016/j.xpro.2024.103055)
Use cases
- creating fingerprints of homo-, or random copolymers
- the polymerfingerprint consists of morgan and atom pair fingerprints by default
- constituting fingerprints can be added removed or swapped out
- reducing these sets to gain a concise representation for machine learning
Example for creating a reducing a fingerprint set
import polymerfingerprint as pfp
# the create fingerprint function can take dataframes or lists of molecules these two serve just as examples
a_polyfingerprint = pfp.create_pfp(end_units={"start": "[C](C)(C)(C#N)", "end": "[S]C(=S)OCC"},
repeating_units={0.53: "[CH2][CH1](OC(=O)C)", 0.47: "[CH2][CH](N1C(=O)CCCCC1)"},
mol_weight=35370,
fp_size=2048)
b_polyfingerprint = pfp.create_pfp(end_units={"start": "[C](C=C)(C)(C#N)", "end": "[S]C(=S)OCCCC"},
repeating_units={0.53: "[CH2][CH1](OC(=O)CC)", 0.47: "[CH2][CH](N1C(=O)CCC1)"},
mol_weight=35370, fp_size=2048)
# create a list of polymerfingerprints
list_of_pfps = [a_polyfingerprint, b_polyfingerprint]
reduced_set = pfp.reduce_fp_set(∗list_of_pfps)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file polymerfingerprint-0.1.0.tar.gz.
File metadata
- Download URL: polymerfingerprint-0.1.0.tar.gz
- Upload date:
- Size: 16.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db012ba6d6512a8d5c30d5a703ae310a3d1e817d57463d414fb637e94d8f2048
|
|
| MD5 |
ca12e9fef061748ac006ab8c393627b4
|
|
| BLAKE2b-256 |
7298f8e252e9a305f1efe68741ee145b55b71ff7b710a9e87b292bb4c7f25d00
|
Provenance
The following attestation bundles were made for polymerfingerprint-0.1.0.tar.gz:
Publisher:
version_publish_main.yml on Bizbalt/polymerfingerprint
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
polymerfingerprint-0.1.0.tar.gz -
Subject digest:
db012ba6d6512a8d5c30d5a703ae310a3d1e817d57463d414fb637e94d8f2048 - Sigstore transparency entry: 202791823
- Sigstore integration time:
-
Permalink:
Bizbalt/polymerfingerprint@ae5464a6a1f422dc438e20497f9f0990daf83e9a -
Branch / Tag:
refs/heads/master - Owner: https://github.com/Bizbalt
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
version_publish_main.yml@ae5464a6a1f422dc438e20497f9f0990daf83e9a -
Trigger Event:
push
-
Statement type:
File details
Details for the file polymerfingerprint-0.1.0-py3-none-any.whl.
File metadata
- Download URL: polymerfingerprint-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4fecfb49a292e911dadb6c39dce8b9972ff4062fb5b382e4c6c0e8b91668086
|
|
| MD5 |
4ddb736af14923d62d5e39a17038da9b
|
|
| BLAKE2b-256 |
e1b626a72fa94a24a3bbc31f5c86cc8aa53221507a99abf16264adc1c426e2e2
|
Provenance
The following attestation bundles were made for polymerfingerprint-0.1.0-py3-none-any.whl:
Publisher:
version_publish_main.yml on Bizbalt/polymerfingerprint
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
polymerfingerprint-0.1.0-py3-none-any.whl -
Subject digest:
b4fecfb49a292e911dadb6c39dce8b9972ff4062fb5b382e4c6c0e8b91668086 - Sigstore transparency entry: 202791825
- Sigstore integration time:
-
Permalink:
Bizbalt/polymerfingerprint@ae5464a6a1f422dc438e20497f9f0990daf83e9a -
Branch / Tag:
refs/heads/master - Owner: https://github.com/Bizbalt
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
version_publish_main.yml@ae5464a6a1f422dc438e20497f9f0990daf83e9a -
Trigger Event:
push
-
Statement type: