Skip to content
Steinbeck-LabPublic

About

MOlecule fRagmenTAtion fRamework

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

DOI License: MIT Maintenance GitHub issues GitHub contributors GitHub release Java CI with Gradle Quality Gate Status Software Article - JChemInf Tutorial - Tutorial folder Tutorial - Online Download_statistics - GitHub_Release_Stats_by_tooomm

MORTAR_logo

MOlecule fRagmenTAtion fRamework (MORTAR)


SonarCloud

Contents of this document

Description

MORTAR_Screenshots

MORTAR ('MOlecule fRagmenTation fRamework') is a free and open-source graphical desktop application that supports molecular in silico fragmentation and substructure analysis. The Java/JavaFX rich client offers extensive graphical functions for visualizing the fragmentation results of individual compounds or entire compound sets. In addition to six currently integrated methods for fragmentation and substructure analysis - ErtlFunctionalGroupsFinder, Sugar Removal Utility (with the Sugar Detection Utility extension), CDK-Scaffold, MolWURCS, Circular Fragmentation analogous to HOSE codes or Morgan Fingerprints, and Exhaustive Fragmentation - MORTAR allows straightforward integration of additional fragmentation algorithms to support the development of new methods at an early stage. All cheminformatics functionalities are implemented based on the Chemistry Development Kit (CDK).
The scientific article describing MORTAR can be found here: MORTAR: a rich client application for in silico molecule fragmentation (Baensch et al. 2023) (please cite it if you are using MORTAR for your scientific work).

Contents of this repository

Sources

The "src" subfolder contains all source code packages.

Tutorial

The "Tutorial" folder contains a PDF document with a detailed tutorial on how to install and use MORTAR, together with a test data set.
The tutorial PDF document is also available online.

Images

The "Images" folder contains the MORTAR logo and icon as image files that were created by Kohulan Rajan. If you are using MORTAR for your own projects, feel free to acknowledge it by using the logo in your presentations, etc.

Installation

Application

Pre-compiled and executable MORTAR distributions can be found attached as assets to the marked releases (below the change notes).
In brief (more details in the dedicated sections below), a graphical installer executable is available for Windows, a disk image (DMG) file for installation on macOS, an RPM Package Manager (RPM) package for Red Hat-based Linux distributions like AlmaLinux, and a Debian package (DEB) is available for installation on Debian-based Linux distributions like Ubuntu. On all three operating systems (Windows, macOS, and Linux), MORTAR can also be run from the command line using the supplied “fat” Java ARchive (JAR) which gives you full control, e.g., over how much memory should be used. A Java Development Kit or Runtime Environment (JDK/JRE) of version 21.0.1 or higher (see CONTRIBUTING.md for details on compatibility with higher versions) must be pre-installed on your system to run MORTAR from the command line.

Windows: A convenient Windows OS installer executable for MORTAR is available (click here to automatically download the setup.exe of the latest version). Download the installer executable, start it, and follow the instructions to install MORTAR. During installation, you are asked whether desktop or start menu icons/shortcuts should be created. The executable (batch file) denoted "MORTAR" uses up to 4 GB of RAM, while the "MORTAR 20GB" configuration allocates up to 20 GB of your RAM for running MORTAR. Note that no start menu folder will be created, so creating at least one of the shortcuts is recommended. To start MORTAR after installation, double-click one of the created shortcuts.
The MORTAR program folder is located at "C:\Program Files\MORTAR\MORTARv1.7.0.0" by default, but can be adjusted during installation. MORTAR can be uninstalled by the provided "unins000.exe" executable in the MORTAR program folder or by standard Windows functions (Settings -> Apps -> Installed Apps). Note that the installation includes a full Java Runtime Environment (JRE).
If you want to configure your own heap space settings for running MORTAR, open one of the provided batch files (in the "bin" subfolder of the MORTAR program folder, "MORTAR.bat" or "MORTAR_20GB.bat") in a text editor and adjust the line

set DEFAULT_JVM_OPTS="-Xms4g" "-Xmx4g"

with your chosen initially allocated memory (-Xms) and maximum value (-Xmx) accordingly.

Should this installation or the execution of the batch files not work for you, you can also run MORTAR directly from the command line (see below).
Please note that x32 processor architectures are not supported by MORTAR.

MacOS: On macOS, MORTAR can be installed using the disk image (.dmg) files attached to every release since v1.2, one for devices with an x86 processor architecture and one for ARM/AArch64-based systems. Download the right file for your system and double-click on it. In the window that opens, drag the MORTAR icon into the Applications folder to install it. It might be necessary to adjust your security settings to allow MORTAR to run.
The disk images are configured to allocate up to 4 gigabytes of RAM to MORTAR. Should you want to assign more memory to analyse bigger data sets or should this installation not work for you, you can run MORTAR directly from the command line (see below).

Debian-based Linux: On Debian-based Linux distributions like Ubuntu, MORTAR can be installed using the Debian package (.deb) attached to every release since v1.2.2 (only one for devices with an x86 processor architecture). Download the package and double-click on it to install it. Alternatively, you can install it via the command line:

sudo dpkg -i <path to>MORTAR-1.7.0.deb

Execute the command in the directory where the package is situated or use its explicit path instead of <path to>. The package is configured to allocate up to 4 gigabytes of RAM to MORTAR. Should you want to assign more memory to analyse bigger data sets or should this installation not work for you, you can run MORTAR directly from the command line (see below).

Red Hat-based Linux: On Red Hat-based Linux distributions like AlmaLinux, MORTAR can be installed using the RPM Package Manager (.rpm) package attached to every release since v1.5 (only one for devices with an x86 processor architecture). Download the package and double-click on it to install it. Alternatively, you can install it via the command line:

sudo rpm -i <path to>MORTAR-1.7.0.rpm

Execute the command in the directory where the package is situated or use its explicit path instead of <path to>. The package is configured to allocate up to 4 gigabytes of RAM to MORTAR. Should you want to assign more memory to analyse bigger data sets or should this installation not work for you, you can run MORTAR directly from the command line (see below).

JAR execution via command line (all platforms): Every release has the executable JAR "MORTAR-fat-1.7.0.0.jar" attached, which contains the packaged MORTAR code together with all dependencies (click here to automatically download the JAR of the latest version). To run MORTAR (with up to 4 GB of RAM available, e.g.), execute the JAR from the command-line using

java -jar -Xms512m -Xmx4g <path to>MORTAR-fat-1.7.0.0.jar

A JDK or JRE of version 21.0.1 or higher (see CONTRIBUTING.md for details on compatibility with higher versions) needs to be installed on your system and linked to the "java" command. Otherwise, replace "java" with the path to the java command of your JDK or JRE.
Execute the command in the directory where the JAR is situated or use its explicit path instead of <path to>.
Adjust the initially allocated memory (-Xms) and maximum memory to be used (-Xmx) according to your preferences.

Further notes: Please note that MORTAR only supports x64 (not x32, on all four platforms) and AArch64/ARM (on macOS and Linux) architectures in general. For the latter, a special "fat JAR" named "MORTAR-fat-aarch64-1.7.0.0.jar" is available from the distributions attached to the releases and must be used (click here to automatically download the AArch64 JAR of the latest version).

Also note that using the Windows Subsystem for Linux (WSL) is not recommended, since a lot of additional configurations have to be made there to run Java GUI applications.

The X / X11 / X Window System can be used to run a graphical application like MORTAR on a remote server while displaying the graphical user interface on the local machine / personal computer. This setup can be beneficial if more computing power or memory is required to analyze large data sets. However, please note that while this is possible in principle, unexpected behavior from MORTAR may occur. We cannot take responsibility for or recommend this way of deployment, similar to using the WSL as mentioned above.

Source code

See the CONTRIBUTING.md file, section "Development Setup", for information on how to obtain and build the source code of MORTAR locally.

Contribution

If you want to contribute to MORTAR, please read the CONTRIBUTING.md file. The most important thing is that you should contribute on a development branch branching off the production branch, not the main branch. The main branch is reserved for stable releases only. When you have finished your development, please create a pull request to the production branch. If you are not sure about the contribution process, please contact us via email, GitHub issues, or GitHub discussions.

Dependencies

Needs to be pre-installed:

  • Java Development Kit (JDK) version 21.0.1 or higher (see CONTRIBUTING.md for details on compatibility with higher versions)

Managed by Gradle (a Gradle Build Tool wrapper of version 8.14.3 is included in this repository):

Citation

You can cite this software or this repository as it is defined in the CITATION.cff file. Also, please cite our scientific article (MORTAR: a rich client application for in silico molecule fragmentation (Baensch et al. 2023)).

References and useful links

MORTAR Download statistics: GitHub Release Stats by tooomm

Ertl algorithm

Sugar Removal Utility

Scaffold Generator

WURCS

Circular Fragmentation

Chemistry Development Kit (CDK)

Acknowledgements

Developers:

  • Felix Baensch
  • Jonas Schaub
  • Betuel Sevindik
  • Samuel Behr
  • Julian Zander
  • Zeynep Dagtekin
  • Tom Weiss
  • Martin Urban
  • Sareen Mohammad
  • Manuel Schauer

Logo:

  • Kohulan Rajan

Initialization, conceptualization, and supervision:

  • Christoph Steinbeck and Achim Zielesny

MORTAR was developed at:

Zielesny Research Group
Westphalian University of Applied Sciences
August-Schmidt-Ring 10
D-45665 Recklinghausen Germany

and

Steinbeck Research Group
Institute for Inorganic and Analytical Chemistry
Friedrich-Schiller-University Jena
Rosalind-Franklin-Strasse 5
D-07745 Jena

The MORTAR project team would like to thank the communities behind the open software libraries the application employs for their amazing work.

About

MOlecule fRagmenTAtion fRamework

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages