{"id":21344561,"url":"https://github.com/ramprasad-group/polyverse-structures","last_synced_at":"2025-04-15T04:11:51.612Z","repository":{"id":195804627,"uuid":"673515862","full_name":"Ramprasad-Group/polyverse-structures","owner":"Ramprasad-Group","description":"A python library to generate realistic, hypothetical polymers from known chemistry","archived":false,"fork":false,"pushed_at":"2025-01-09T15:50:32.000Z","size":9181,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T04:11:42.160Z","etag":null,"topics":["artificial-intelligence","data-driven-design","data-science","database","materials-informatics","materials-science","polymer","polymer-informatics","rdkit"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ramprasad-Group.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-01T20:04:41.000Z","updated_at":"2025-03-15T05:17:11.000Z","dependencies_parsed_at":"2023-12-27T16:32:17.078Z","dependency_job_id":"8c37abe3-2699-4861-9f61-4ed2354fcda2","html_url":"https://github.com/Ramprasad-Group/polyverse-structures","commit_stats":null,"previous_names":["ramprasad-group/polyverse"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ramprasad-Group%2Fpolyverse-structures","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ramprasad-Group%2Fpolyverse-structures/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ramprasad-Group%2Fpolyverse-structures/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ramprasad-Group%2Fpolyverse-structures/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ramprasad-Group","download_url":"https://codeload.github.com/Ramprasad-Group/polyverse-structures/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249003955,"owners_count":21196793,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["artificial-intelligence","data-driven-design","data-science","database","materials-informatics","materials-science","polymer","polymer-informatics","rdkit"],"created_at":"2024-11-22T01:19:59.818Z","updated_at":"2025-04-15T04:11:51.587Z","avatar_url":"https://github.com/Ramprasad-Group.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# polyverse\nThis repo contains the code used to generate the polymers studied in the companion paper, [AI-assisted discovery of high-temperature dielectrics for energy storage](https://www.nature.com/articles/s41467-024-50413-x). At a high level, the code uses known molecules and know reaction rules (for ROMP and imide polycondensation) to generate plausible polymer repeat units.\n## Installation\n1. Install [poetry](https://python-poetry.org/) on your machine.\n2. If Python3.9 is installed on your machine skip to step 3, if not you will need to install it.\n3. Clone this repo on your machine.\n4. Open a terminal at the root directory of this repository.\n5. Run `poetry env use /path/to/python3.9/executable`.\n6. Run `poetry install`.\n## Examples\nExamples of how to use the codebase are provided in the file named `tests/test_polyverse.py`. Basically, the user needs to first create a data frame of molecules. The data frame should have one column named \"id-smiles\". Each entry in this column should be a `tuple`, with the first element being a unique identifier for the molecule (I use the ZINC ID) and the second element being the SMILES string for the molecule. Then, the user can input these molecules into an instance of the `ROMP` or `Polyimide` classes (defined in `polyverse/polymerize.py`) to generate polymers.\n## Testing\nThere are two tests in this repo. One is to test the `ROMP` class, the other to test the `Polyimide` class. To execute the tests, run `poetry run pytest`.\n## Data\n- `data/romp_polymers.json` contains the ROMP polymers designed in the companion paper.\n- `data/polyimides.json` contains the polyimides designed in the companion paper.\n- The data base of monomers used in this work may be found at [doi.org/10.5281/zenodo.12535176](https://doi.org/10.5281/zenodo.12535176).\n## Reproducibility\nThe version of this codebase that was used in the companion paper is v0.1.0.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framprasad-group%2Fpolyverse-structures","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Framprasad-group%2Fpolyverse-structures","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framprasad-group%2Fpolyverse-structures/lists"}