GithubHelp home page GithubHelp logo

brendaferrari / m2o-head-tail-assign Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ibm/m2o-head-tail-assign

0.0 0.0 0.0 241 KB

This tool performs the polymerization of monomers assigning the head and tail atom positions at the oligomer.

License: BSD 3-Clause "New" or "Revised" License

Python 100.00%

m2o-head-tail-assign's Introduction

m2pCalculations (temporary name)

This project was developed using m2p software source code as a base to build a modified version that is able to perform polymerization of monomers assigning the head and tail of the polymers.

The original source-code was structured as the following:

m2p
├── .github
    ├── workflows
        └── pypi_publish.yml
├── build
    ├── lib
        ├── m2p
            └── __init__.py
├── examples
    ├── Example for Creating Thermoplastic Structures.ipynb
    └── Example for Stereoenumerating Ester Monomers.ipynb
├── m2p
    ├── __init__.py
    ├── _version.py
    ├── monomers.py
    ├── polyestimator.py
    ├── polymaker.py
    ├── stereo_reactions.py
    └── utils.py
├── tests
    ├── test_monomers.py
    └── test_rxns.py
├── .gitattributes
├── .gitignore
├── travis.yml
├── Dockerfile
├── LICENSE
├── MANIFEST.in
├── README.md
├── __init__.py
├── environment.yml
├── requirements.txt
├── setup.cfg
├── setup.py
└── versioneer.py

The present modified source-code is structured as following (New* and Modified**):

m2pCalc
├── datasets*
    ├── monomers.original.csv
    ├── monomers.csv
    ├── output_monomers.csv
    ├── polymerization_output.csv
    └── polymerization.csv
├── examples
    ├── performance.ipynb*
    ├── polymerization.ipynb*
    └── separation-polymerization.ipynb*
├── m2pCalc
    ├── __init__.py
    ├── data.py*
    ├── monomers.py
    ├── performance.py*
    ├── polyestimator.py
    ├── polymaker.py**
    ├── stereo_reactions.py
    └── utils.py
├── tests
    ├── test_monomers.py
    └── test_rxns.py
├── .gitignore**
├── LICENSE**
├── README.md**
├── __init__.py**
├── environment.yml
├── requirements.txt
└── setup.py**

Documentation

Installation

  • Download the code file to your desired directory and unzip it

Running the script

  • To polymerize: The polymerization.ipynb file has all the steps needed to run the code.

    By default, head and tail option is False. To enable add head_tail=True to Polymaker class and to thermoplastic function.

  • To polymerize homopolymers and copolymers separately: The separation-polymerization.ipynb file has all the steps needed to run the code.

    By default, head and tail option is False. To enable add head_tail=True to Polymaker class and to thermoplastic function.

  • To verify results: The performance.ipynb file has all the steps needed to calculte perfomance, validate and verify all remaining data that was not calculated.

More information about the functions can be found at the m2pCalc directory


Authorship

  • Author: Brenda Ferrari ([bferrari])
  • Co-author: Ronaldo Giro (rgiro)
  • Co-author: Mathias Steiner ([mathiast])

m2o-head-tail-assign's People

Contributors

rgiro avatar ibm-open-source-bot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.