Code Monkey home page Code Monkey logo

renan991995 / mars Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hsuhsuanhao/mars

0.0 0.0 0.0 103 KB

MARS, Molecular Assembling and Representation Suite, is a program for general purpose computer aided molecular design. This program uses an integer arry data structure to store the information of atom type, atom connectivity, and bond order of a molecule. There are also subroutines that can be used to modify the data structure in order to generate new molecules. This program is espicially useful for computer molecular design problems.

License: GNU General Public License v3.0

C++ 99.57% Makefile 0.40% Shell 0.03%

mars's Introduction

======Introduction======

MARS, Molecular Assembling and Representation Suite, is a program for
general purpose computer aided molecular design. This program uses an 
integer arry data structure to store the information of atom type, 
atom connectivity, and bond order of a molecule. There are also 
subroutines that can be used to modify the data structure in order to
generate new molecules. This program is espicially useful for
computer molecular design problems.

The program consists of 4 header files and 5 cpp files
ATOM.h  MATRIX.h  MOLECULE.h  OPT.h
MARS.cpp ATOM.cpp  MATRIX.cpp  MOLECULE.cpp  OPT.cpp

There are additional 4 text files for running examples molecular operations
on butane, methane, and phenol
butane.gjf  methane.gjf  phenol.gjf example.in

======Compile the program======

This program is written in C++. In Linux/Unix environment, run
./compile
or
make
to create the executable (MARS) for the program


======Usage======
1. basic use (generate new molecules using butane and phenol)
use the example files provided and execute
./MARS example.in

The input file, example.in, contain the filenames of two molecules,
butane and phenol. The program will expect the 3D coordinates of
these two molecules (butane.gjf and phenol.gjf in Gaussian input 
file format) to be in the same folder as the example.in file. 
The program will perform molecular operations on these two molecules.
The results will be produced in 6 output files
combination.txt crossover.txt subtraction.txt addition.txt exchange.txt ring.txt
These files contain all possible molecules that can be generated from 
each corresponding molecular operation. The results are shown in SMILES
format. The structure of the generated molecules can be visualized using 
other programs, such as Avogadro (https://avogadro.cc/).

Furthermore, the program also generates benzene from methane. The intermediate
molecules are produced in benzene.txt. 

A log file, named molecule.log, will be produced to note any warning and error
encountered during the molecular operations. 
A Warning message is produced when a certain operation cannot be performed
successfully.
A Error message is produced when the program needs to stop because of wrong
usage (e.g., missing input files)

2. Advanced usage 
The program accept keywords, gen3d and genmds (both optional), to request the
generation of 3D coordinates and MDS structure in the output files. For
example,
./MARS example.in gen3d
./MARS example.in genmds
./MARS example.in gen3d genmds

======Developers======
This program is developed by Hsuan Hao Hsu, Chen Hsuan Huang, and Shiang Tai Lin.
Computational Molecular Engineering Laboratory
Department of Chemical Engineering, National Taiwan University, Taipei, Taiwan
[email protected]

mars's People

Contributors

hsuhsuanhao 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.