The SPIKE program. A collaborative development for a FT-spectroscopy processing program
1/ What is SPIKE ?
SPIKE a collaborative development for a FT-spectroscopy processing library.
This is the version 0.99.30 - March 2022
WARNING - version 0.99.14 to 0.99.19 should be avoided for FTICR handling because of a hidden bug that corrupted m/z calibration.
SPIKE allows the processing, the display and the analysis of data-sets obtained from various Fourier-Transform spectroscopies. The name stands for Spectrometry Processing Innovative KErnel.
It allows the processing of 1D and 2D FT spectroscopies, mostly NMR and FTICR-MS, but also Orbitrap, and other to come.
It implements all needed tools for Data analysis (Fourier Transform, Baseline correction, noise reduction, peak-picking, etc...)
To our knowledge, it is the first program freely available allowing the processing, display and analysis of 2D-FT-ICR (Fourier Transform Ion Cyclotron Resonance), as well as Orbitrap time domain data processing.
It is written in python (currently 3.7 and in python 2.7 up to version 0.99.10).
It is mostly a library for processing, analysis and display of spectral data-sets.
The natural interface is either a python program or a
jupyter notebook as an interactive front-end.
SpI (Spike Interactive)
An additional program, called SPike Interactive (or SpI ) is also developed, it consists in a set of stand alone jupyter Notebooks which allow to use SPIKE process and analyse NMR and MS datasets without any programming knowledge.
It is still in very active development, but also the basis for our research.
Many features are missing, and many other while present, are not fully fixed. However, considering the amount of efforts already present in this code, we decided to make it available. We believe that even in this current development stage, this program might prove useful for certain usages.
Basic presentation of functionalities can be found Here
A complete documentation, with the full API, can be found Here. We try to keep it up to date, but it may lag a little behind the current program state.
Most of the documentation is in the code itself, available directly while programming (try
Another source of documentation are Notebooks directory. There are two type of Notebooks, fully developed ones, with interactive tools, which can be used as is, and example Notebooks, meant for pedagogic purposes. This is an ongoing effort, and always short of what we'd like to do.
Can be found Here
3/ How to get SPIKE ?
You might have python installed on your system, however, SPIKE relies on a whole set of scientific libraries which may dont be installed (see Dependencies below). We advise to install a scientific python environment such as Anaconda or Enthough. Then install SPIKE with the following command in the terminal:
pip install spike-py
This will install the latest version on your machine. (be sure to use the pip command which came with the scientific python environment).
If you already have SPIKE installed and want to upgrade to the last version do:
pip install -U spike-py
Installing additional tools
Several additional tools may be of interest.
a/ Interactive jupyter notebooks from SpI can be found in the Notebooks directory or on github. You will find there fully developed interactive notebooks allowing data analysis without any knowledge in python programming, as well as examples to starting writing small pyhton programs for specific needs.
First the tool
ipympl needs to be installed (it may not be installed along the scientific environment)
To install it, simply do:
pip install ipympl
Then copy the related NotBooks to a directory by typing
python -m spike.installSpI in a terminal in this directory.
If you want to use them, create a directory called
Spike in your HOME directory, and a directory called
plugins in this one (hence
$HOME/Spike/plugins), and put then there, they will be directly activated.
You can also develop your own plugins and put them here.
Note that some plugins or extension require additional libraries (
The Spike program is distributed under the
CeCILL 2.1 FREE SOFTWARE LICENSE AGREEMENT
Which is the GPL license adapted to the French law.
It includes the following additional programs/algorithms:
- urQRd L.Chiron and M-A Delsuc (denoising of large harmonic signals) under CeCiLL licence
- PALMA A.Cherni & M-A.Delsuc (Processing of DOSY based on ILT) under CeCiLL licence
- progressbar N.Volpato - under LGPL licence
source and dependencies
The SPIKE source is available at https://github.com/spike-project/spike
SPIKE is written in pure Python, and relies on several external libraries:
It is compatible and fully tested with python 3.7 (many parts are still compatible with python 2.7 but this is not tested)
developping for SPIKE
4/ Citing SPIKE
If you happen to use SPIKE successfully for your research, please cite it, and refer to this site, as well as the following possible references :
- Main Reference: first publication of the program itself - rejected from Anal. Chem. with no real critics except that Reviewer 1 said "too much NMR", Reviewer 2 said "too much MS", !! so I decided to let it on ArXiV)
- Chiron L., Coutouly M-A., Starck J-P., Rolando C., Delsuc M-A. SPIKE a Processing Software dedicated to Fourier Spectroscopies https://arxiv.org/abs/1608.06777 (2016)
Other references are also related
- The renewal of Gifa: 2. Delsuc M-A. "Gifa V.4: A complete package for NMR data set processing" (2020) https://doi.org/10.5281/zenodo.3904595
- presentation of the automation possibilities in NMR 3. Margueritte, L., Markov, P., Chiron, L., Starck, J.-P., Vonthron Sénécheau, C., Bourjot, M., & Delsuc, M.-A. (2018). "Automatic differential analysis of NMR experiments in complex samples." Magn. Reson. Chem., 80(5), 1387. http://doi.org/10.1002/mrc.4683
- first version of the 2D FT-ICR-MS processing 4. van Agthoven, M. A., Chiron, L., Coutouly, M.-A., Delsuc, M.-A. & Rolando, C. "Two-Dimensional ECD FT-ICR" Mass Spectrometry of Peptides and Glycopeptides." Anal Chem 84, 5589-95 (2012).
- first version of the python set-up on which the current SPIKE is loosely based 5. Tramesel, D., Catherinot, V. & Delsuc, M.-A. "Modeling of NMR processing, toward efficient unattended processing of NMR experiments. J Magn Reson 188, 56-67 (2007).
ref 1) is a general purpose reference, the other ones are more specific.
5/ Contents of this repository
spike/- the python code of the program itself
doc/- a directory containing various files used to generate the documentation
Notebooks/- the repository of the SpI notebooks
QC.txta small utility to check the quality of the code using pylint.
6/ Origin of the program
SPIKE is originated from the Gifa program, developed by M-A Delsuc and others in
FORTRAN 77 since the late eighties, it still shares similarities, such as command names, or internal data organisation.
Gifa was abandoned around 2005, but it actually experienced a revival in 2020 thanks to the " ten years challenge " organised by the ReScience C Journal. You can find an installable and runnable version here: https://github.com/delsuc/Gifa
Gifa has known several mutations, and finally ended as a partial rewrite called NPK.
The NPK program is based on some of the original
FORTRAN code, wrapped in Java and Python, which allows to control all the program possibilities from the Python level.
NPK is purely a computing kernel, with no graphical possibilities, and has been used as a kernel embedded in the commercial program NMRNoteBook, commercialized by NMRTEC.
However, NPK was showing many weaknesses, mostly due to the 32bits organization, and a poor file format. So, when a strong scientific environment became available in Python, a rewrite in pure Python was undertaken. To this initial project, called NPK-V2, many new functionalities were added, and mostly the capability to work in other spectroscopies than NMR.
At some point in 2014, we chose to fork NPK-V2 to SPIKE, and make it public.
6/ Authors and Licence
Current Active authors for SPIKE are:
- Marc-André Delsuc
madelsuc -at- unistra.fr
- Laura Duciel
laura.duciel -at- casc4de.eu
- Christian Rolando
christian.rolando -at- univ-lille1.fr
- Lionel Chiron
Lionel.Chiron -at- casc4de.eu
- Petar Markov
petar.markov -at- igbmc.fr
- Marie-Aude Coutouly .
Marie-Aude.COUTOULY - at- datastorm.fr
Covered code is provided under this license on an "as is" basis, without warranty of any kind, either expressed or implied, including, without limitation, warranties that the covered code is free of defects. The entire risk as to the quality and performance of the covered code is with you. Should any covered code prove defective in any respect, you (not the initial developer or any other contributor) assume the cost of any necessary servicing, repair or correction.
Downloading code and datasets from this page signifies acceptance of the hereunder License Agreement. The code distributed here is covered under the CeCILL license : http://www.cecill.info/index.en.html
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.