Coder Social home page Coder Social logo

fragit-main's Introduction

FragIt

GitHub release

FragIt is a python based tool that allows you to quickly fragment "any" molecule and use the produced output file(s) as an a starting point for input files in quantum chemistry programs that supports such fragment based methods.

FragIt was made out of the need to quickly benchmark many different molecules while developing new fragment based methods and is now being released in the hope that it is useful for others in their research. You can read about FragIt in the published paper.

Currently, FragIt supports the fragment molecular orbital method in GAMESS. FragIt also comes with a standard purpose XYZ writer that dumps each fragment in a separate .xyz file. Finally, there is a new XYZ-MFCC writer to support molecular fragmentation with conjugate caps that will yield capped fragments and caps for MFCC. New output writers can be added easily to support other methods and programs.

Obtaining FragIt

Since you found this file, it is obvious that you also found the source code. You can obtain the latest version from github where tagged releases are also available. You get the source code by cloning the repository

git clone https://github.com/FragIt/fragit-main.git

s

Installing FragIt in a Conda Environment With Pip

The easiest installation option is to use conda and pip. We have supplied an environment.yml file for you to use. Simply run

cd fragit-main
conda env create -f environment.yml

which creates an environment called fragit. After activating the fragit environment

conda activate fragit

you can install fragit using pip with the following command

pip install .

Installing FragIt Without Conda

Without conda, the installation of FragIt becomes slightly more tedious and of course system dependent. If you have root access, you can install all dependencies using the system package manager, but if you don't, then you have to install OpenBabel manually (Github user andersx wrote a guide to how that is accomplished.) Finally, the recommended installation method for FragIt is to use pip again

pip install . --user

but it is also possible using the old school approach (deprecated and not recommended)

python setup.py build
python setup.py install

remember to make sure that environment variables (PATH and PYTHONPATH at least!) are set up correctly or else FragIt will complain that it cannot find itself.

Running FragIt

in a terminal, you can type

fragit

to see its help message.

See the wiki for more examples of how to use FragIt.

Requirements

In order to run FragIt, you need the following installed on your system:

fragit-main's People

Contributors

cstein avatar iwatobipen 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.