.. FAIRMD Lipids documentation master file, created by
sphinx-quickstart on Mon Sep 4 12:07:48 2023.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
.. _index:
FAIRMD Lipids Project
==========================
FAIRMD Lipids is a community-driven catalogue of biologically relevant lipid membranes
emerging from the `NMRlipids Open Collaboration `_. It
gathers atomistic MD simulations, X-ray scattering experiments, and NMR experiments on
C-H bond order parameters in one place.
*FAIRMD Lipids is an overlay databank.* Each databank entry (molecule, simulation or
experiment) contains the metadata YAML-file, which stores all the essential information
for the data upcycling and reuse. This includes, for example, the information about
permanent location of each simulation file, but raw data is located in distributed
locations outside the FAIRMD Lipids. The organisation of the data as well as description
of metadata schemas are described in :ref:`dbstructure`. Physically, the database is
located in `BilayerData GitHub repository `_.
The scientific background and initial motivation of the project is described in the
`FAIRMD Lipids Manuscript (Nat.Comm., 2024)
`_.
databank.nmrlipids.fi web-UI
----------------------------
`FAIRMD Lipids-webUI `_ provides easy access to the
FAIRMD Lipids content. Simulations can be searched based on their molecular composition,
force field, temperature, membrane properties, and quality; the search results are
ranked based on the simulation quality as evaluated against experimental data when
available. Web-UI provides basic graphical reports for the computed properties as well
as graphical comparison between simulation and experimental data.
The Web-UI is being developed in the repository `BilayerGUI_laravel
`_.
FAIRMD Lipids-API
----------------------
The FAIRMD Lipids-API provides programmatic access to all simulation data in the FAIRMD
Lipids. This enables wide range of novel data-driven applications from construction of
machine learning models that predict membrane properties, to automatic analysis of
virtually any property across all simulations in the Databank. For examples of novel
analyses enabled by the FAIRMD Lipids API see the `FAIRMD Lipids manuscript
`_.
Functions available for simulation analyses are described in :mod:`fairmd.lipids.core`
and :mod:`fairmd.lipids.databankLibrary`. A project `Databank template
`_ designed to intialize projects that
analyse data from FAIRMD Lipids contains a `minimum example for looping over available
simulations
`_. For
further examples, see codes called by :ref:`add_simulation_py` that analyze the area per lipid (),
C-H bond order parameters (:py:func:`fairmd.lipids.analyze.computeAPL`),
X-ray scattering form factors (:py:func:`fairmd.lipids.analyze.computeMAICOS`),
and principal component equilibration time (:py:func:`fairmd.lipids.analyze.computeNMRPCA`).
For these analyses, the universal molecule and atom names are connected to simulation
specific names using ``README.yaml`` and mapping files as described in
:ref:`molecule_names`.
Adding simulations into the FAIRMD Lipids
-----------------------------------------
The FAIRMD Lipids is open for additions of simulation and experimental data by anyone.
For detailed instructions to add new data, to update databank analyses and run quality
evaluations, see :ref:`addSimulation`. Quick and minimal steps to add a new simulation
are here:
#. Add trajectory and topology (tpr for Gromacs, pdb or corresponding to other programs)
file into a `Zenodo `_ repository.
#. Login to `NMRlipids Upload Portal `_ and fill up
the form with metadata for your simulation. For instructions, see :ref:`readmesimu`
and `examples `_.
Mapping files are described in :ref:`molecule_names` and are available from `here
`_ .
#. Your simulation will be automatically processed via GitHub Actions on the server side
after the approval of your submission by one of the NMRlipids contributors.
Experimental data addition is currently not automatized and should be performed manually
via making pull request to the BilayerData repository. The instrutions are available at
:ref:`addingExpData`.
Do not hesitate to ask assistance regarding data addition on the GitHub page of
`BilayerData Issues `_.
Installation and system requirements
------------------------------------
The code has been tested in Linux, MacOS and Windows environment with python 3.10 or
newer and recent `Gromacs
`_ version installed.
Setup is straingforward using ``pip`` or ``uv pip``:
.. code-block:: bash
pip install nmrlipids_databank
fmdl_initialize_data dev
source databank_env.rc
More detailed instructions are coming soon.
**TODO: write the block**
.. toctree::
:maxdepth: 3
:caption: Python Interface
gettingstarted
dbprograms
Overview
.. toctree::
:maxdepth: 3
:caption: Membrane Databank
dbstructure
dbcontribute
Indices and tables
==================
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`