DataSAIL
DataSAIL is an open-source software tool that splits machine learning datasets while minimizing Information Leakage. It formulates the splitting of a dataset as a constrained minimization problem and optimizes the data split towards an objective function that accounts for information leakage.
Cite this software
Description
DataSAIL: Data Splitting Against Information Leaking
DataSAIL, short for Data Splitting Against Information Leakage, is a versatile tool designed to partition data while minimizing similarities between the partitions. Inter-sample similarities can lead to information leakage, resulting in an overestimation of the model's performance in certain training regimes.
DataSAIL was initially developed for machine learning workflows involving biological datasets, but its utility extends to any type of datasets. It can be used through a command line interface or integrated as a Python package, making it accessible and user-friendly. The tool is licensed under the MIT license, ensuring it remains open source and freely available here on GitHub.
A detailed documentation of the package, explanations, examples, and much more are given on DataSAIL's ReadTheDocs page.
Installation
NOTE: This installation instruction changed in version 1.4.0 compared to previous versions. The usage remains the same, both as a python package and as a commandline tool.
DataSAIL is available for all modern versions of Python (v3.10 or newer). You can install DataSAIL using either pip (recommended).
pip install datasail
or conda/mamba
mamba install -c conda-forge -c kalininalab datasail
Until version 1.3.0, DataSAIL was available in two versions. From version 1.4.0 onwards, we have merged the two versions into a single one. Both verions come without third-party clustering algorithms such as MMseqs2, CD-HIT, FoldSeek or MASH. If you want to use these tools, please install them separately and make sure they are in your PATH. For more information on how to install these tools, please see the documentation page.
NOTE: If you install DataSAIL from conda, it is recommended to use mamba <https://mamba.readthedocs.io/en/latest/installation/mamba-installation.html>_
because conda might not be able to resolve the dependencies of DataSAIL successfully.
By default, DataSAIL v1.4 installs NumPy v2. If you want to use DataSAIL with NumPy v1, please use
pip install datasail numpy<2
for installing from the PyPI or
mamba install -c conda-forge -c kalininalab datasail numpy<2
to install from conda/mamba.
Quick start
DataSAIL comes with a command-line interface and as a Python package. The main functionality can be accessed by, e.g., running the following command in the terminal:
datasail --output <path_to_output_path> --technique C1e --e-type P --e-data <path_to_fasta> --e-sim mmseqs
or in a Python program by
from datasail.sail import datasail
splits = datasail(technique=["C1e"], e_type="P", e_data="<path_to_fasta>", e_sim="mmseqs", output="<path_to_output_path>")
Here, the output argument is optional and saves the results in a folder in addition to returning them. For more information about the parameters, please read through the documentation page.
When to use DataSAIL and when not to use
DataSAIL offers a variety of ways to split one-dimensional and multi-dimensional data. Here exemplarily shown for a generic protein property prediction task and a protein-ligand interaction prediction dataset.
The datasplit employed should always reflect the inference reality the model is facing. So, if the model is intended to perform well on unseen data, the validation and test data shall be new between splits.
For more information, please see our guideline to selecting datasplits in the documentation.
FAQ
For frequently asked questions, please refer to the FAQ section.
Citation
If you used DataSAIL to split your data, please cite DataSAIL in your publication.
@article{joeres2025datasail,
title={Data splitting to avoid information leakage with DataSAIL},
author={Joeres, Roman and Blumenthal, David B. and Kalinina, Olga V.},
journal={Nature Communications},
volume={16},
pages={3337},
year={2025},
doi={10.1038/s41467-025-58606-8},
}
Participating organisations
Reference papers
Mentions
- 1.Author(s): C. Özkan, F. Sunar, H. AtabayPublished in Stochastic Environmental Research and Risk Assessment by Springer Science and Business Media LLC in 202610.1007/s00477-026-03226-x
- 2.Author(s): Hasan Eker, Cihan BayraktarPublished in 202610.3390/app16125784
- 3.Author(s): Mark Yu. Schneider, Daniil D. Kholmanskikh, Kirill Ya. Romanov, Elena A. Perekina, Sergei A. Nikolenko, Ruslan Yu. Lukin, Ivan V. GolovPublished in Molecules by MDPI AG in 2026, page: 76910.3390/molecules31050769
- 4.Author(s): Gökhan Özsari, Ahmet Süreyya Rifaioğlu, Aybar Can Acar, Tunca Doğan, M.Volkan AtalayPublished in SoftwareX by Elsevier BV in 2026, page: 10267110.1016/j.softx.2026.102671
- 5.Author(s): Hiranmoy Mondal, Amlan Bishal, Biplab Debnath, Aakriti Patel, Joy Das, Tahreen TajPublished in Journal of Computer-Aided Molecular Design by Springer Science and Business Media LLC in 202610.1007/s10822-026-00798-2
- 6.Author(s): Jose Romero Castro, Guinel Zapata Alfaro, Edilberto Avalos-Ortecho, Silvia Ponce AlvarezPublished in Cleaner Engineering and Technology by Elsevier BV in 2026, page: 10119810.1016/j.clet.2026.101198
- 7.Author(s): Manal A. Nael, Laxman M. Alakonda, Khaled M. ElokelyPublished in Journal of Chemical Information and Modeling by American Chemical Society (ACS) in 2026, page: 2951-295410.1021/acs.jcim.6c00514
- 8.Author(s): Mehmet Ali Balcı, Erbil Çetin, Gizem Calibasi-Kocal, Ömer AkgüllerPublished in 202610.3390/molecules31111899
- 9.Author(s): Zhaokun Jiang, Heying Dai, Yongxv Chen, Baixue Qiao, Shanwen SunPublished in Frontiers in Chemistry by Frontiers Media SA in 202610.3389/fchem.2026.1834317
- 10.Author(s): Jie Li, Xingyi Guan, Oufan Zhang, Kunyang Sun, Yingze Wang, Dorian Bagni, Teresa Head-GordonPublished in The Journal of Physical Chemistry B by American Chemical Society (ACS) in 2026, page: 730-74010.1021/acs.jpcb.5c08598
- 11.Author(s): Renfeng Liu, Ziheng Yang, Jie Ouyang, Zhengteng Yuan, Chi Cheng, Dingdong WangPublished in International Journal of Intelligent Systems by Wiley in 202610.1155/int/4159977
- 12.Author(s): Jorge Servert Lerdo de Tejada, Jan Vališ, Lukáš Hrubčík, Daniela Janstová, Jakub Tomeš, Tereza Uhlíková, Mario Vazdar, Jan Mareš, Pavel MatějkaPublished in 202610.1016/j.saa.2026.128199
- 13.Author(s): Adrienn DinevaPublished in 202610.3390/electronics15112291
- 14.Author(s): Joschka Groß, Michael Backenköhler, Paula Linh Kramer, Raquel López-Ríos de Castro, Guillermo Pérez-Hernández, Verena Wolf, Andrea VolkamerPublished in Artificial Intelligence in the Life Sciences by Elsevier BV in 2026, page: 10016910.1016/j.ailsci.2026.100169
- 15.Author(s): Endashaw Workie, Ronald Halim, Junli Xu, Tamíris da CostaPublished in 202610.1016/j.biombioe.2026.109717
- 16.Author(s): Chatter Singh, Amar Singh, Sahraoui DhelimPublished in 202610.1016/j.dsp.2026.106364
- 17.Author(s): Victor Hugo Xavier Bernardes, Rubens Gedraite, Nicolas Spogis, Sarah Arvelos AltinoPublished in International Journal of Hydrogen Energy by Elsevier BV in 2026, page: 15374710.1016/j.ijhydene.2026.153747
- 18.Author(s): Yong Wang, Peifu Han, Xue Li, Shuang Wang, Xun Wang, Tao SongPublished in Dyes and Pigments by Elsevier BV in 2026, page: 11328710.1016/j.dyepig.2025.113287
- 19.Author(s): Mohamed Ali Hussein, Gnanasekar MunirathinamPublished in Cancers by MDPI AG in 2026, page: 71910.3390/cancers18050719
- 20.Author(s): Ádám Lévárdi, Ján Matúška, Lukas Bucinsky, Marián Gall, Marek Štekláč, Michal PitoňákPublished in The Journal of Physical Chemistry B by American Chemical Society (ACS) in 2026, page: 3617-363210.1021/acs.jpcb.5c07757
- 21.Author(s): Priyesh Mohanty, Shiv Rekhi, Aahil Khambhawala, Qizan Chen, Jeetain MittalPublished in SLAS Discovery by Elsevier BV in 2026, page: 10030910.1016/j.slasd.2026.100309
- 22.Author(s): Guadalupe Gutiérrez-Esparza, Mireya Martínez-García, Luis M. Amezcua-Guerra, Martín Montes Rivera, Enrique Hernández-LemusPublished in 202610.3389/fdgth.2026.1805107
- 23.Author(s): Ahmed Baha Ben Jmaa, Cécile Hanon, Jean-Yves Parfait, Frédéric DebastePublished in 202610.1016/j.jfoodeng.2026.113175
- 24.Author(s): Steffen Docter, Benoit David, Holger GohlkePublished in Current Opinion in Biotechnology by Elsevier BV in 2026, page: 10339310.1016/j.copbio.2025.103393
- 25.Author(s): Geletaw Sahle Tegenaw, Hailin Song, Tomas WardPublished in BioData Mining by Springer Science and Business Media LLC in 202610.1186/s13040-025-00516-y
- 26.Author(s): Victor Hugo, Daniel Cruz, Javier SalazarPublished in 202610.51847/5kyoiklui1
- 27.Author(s): Henry Stephenson, Dan Voicu, Victor Novakov, Michelle Levy, Joseph MarsilioPublished in 202610.64898/2026.06.16.732304
- 28.Author(s): Cherdsak Suksiripattanapong, Chatchai Tragoolsantirat, Wisitsak Tabyang, Tavorn Kuasakul, Vacharapoom BenjaoranPublished in 202610.1016/j.rineng.2026.111711
- 29.Author(s): Daren ZhaoPublished in Frontiers in Public Health by Frontiers Media SA in 202610.3389/fpubh.2026.1811213
- 30.Author(s): Shuming Jin, Qiuyang Wu, Gaokui Fu, Dong Lu, Fang Wang, Li Deng, Kaili NiePublished in Catalysts by MDPI AG in 2025, page: 84210.3390/catal15090842
- 31.Author(s): Hosein Fooladi, Thi Ngoc Lan Vu, Miriam Mathea, Johannes KirchmairPublished in Journal of Chemical Information and Modeling by American Chemical Society (ACS) in 2025, page: 9871-989110.1021/acs.jcim.5c00475
- 32.Author(s): Abebe Wolie Yimam, Majid Vafaeipour, Maarten Messagie, Kinde Anlay Fante, Emiyamrew Minaye Molla, Tefera Mekonnen Azerefegn, Thierry CoosemansPublished in Engineering Applications of Artificial Intelligence by Elsevier BV in 2025, page: 11264510.1016/j.engappai.2025.112645
- 33.Author(s): Luc Thomès, Roman Joeres, Zeynep Akdeniz, Daniel BojarPublished in Nature Communications by Springer Science and Business Media LLC in 202510.1038/s41467-025-67590-y
- 34.Author(s): Farzaneh Firoozbakht, Maria Louise Elkjaer, Diane E. Handy, Rui-Sheng Wang, Zoe Chervontseva, Matthias Rarey, Joseph Loscalzo, Jan Baumbach, Olga TsoyPublished in Cell Reports Methods by Elsevier BV in 2025, page: 10099010.1016/j.crmeth.2025.100990
- 35.Author(s): Andrea Apicella, Francesco Isgrò, Roberto PrevetePublished in Artificial Intelligence Review by Springer Science and Business Media LLC in 202510.1007/s10462-025-11326-3
- 36.Author(s): Luciano Radrigan, Sebastián E. Godoy, Anibal S. MoralesPublished in Machine Learning and Knowledge Extraction by MDPI AG in 2025, page: 11110.3390/make7040111
- 37.Author(s): Julian Götz, Euan Richards, Iain A. Stepek, Yu Takahashi, Yi-Lin Huang, Louis Bertschi, Bertran Rubi, Jeffrey W. BodePublished in Science Advances by American Association for the Advancement of Science (AAAS) in 202510.1126/sciadv.adw6047
- 38.Author(s): Zhenqian Shen, Mingyang Zhou, Yongqi Zhang, Quanming YaoPublished in Bioinformatics by Oxford University Press (OUP) in 202510.1093/bioinformatics/btaf569
- 39.Author(s): Nure Tasnina, Maryam Haghani, T M MuraliPublished in Briefings in Bioinformatics by Oxford University Press (OUP) in 202510.1093/bib/bbaf676
- 40.Author(s): Mickael Leclercq, Arnaud DroitPublished in Journal of Proteome Research by American Chemical Society (ACS) in 2025, page: 507-52410.1021/acs.jproteome.5c00506
- 41.Author(s): Alfred Ferrer Florensa, Jose Juan Almagro Armenteros, Henrik Nielsen, Frank Møller Aarestrup, Philip Thomas Lanken Conradsen ClausenPublished in NAR Genomics and Bioinformatics by Oxford University Press (OUP) in 202410.1093/nargab/lqae106
- 42.Author(s): James Urban, Roman Joeres, Luc Thomès, Kristina A. Thomsson, Daniel BojarPublished in Analytical and Bioanalytical Chemistry by Springer Science and Business Media LLC in 2024, page: 931-94310.1007/s00216-024-05500-9
- 43.Author(s): Judith Bernett, David B. Blumenthal, Dominik G. Grimm, Florian Haselbeck, Roman Joeres, Olga V. Kalinina, Markus ListPublished in Nature Methods by Springer Science and Business Media LLC in 2024, page: 1444-145310.1038/s41592-024-02362-y
- 44.Author(s): Ferrer Florensa, Alfred, Almagro Armenteros, Jose Juan, Nielsen, Henrik, Aarestrup, Frank Møller, Clausen, Philip Thomas Lanken ConradsenPublished in 2024
- 45.Author(s): Hosein Fooladi, Steffen Hirte, Johannes KirchmairPublished in Journal of Chemical Information and Modeling by American Chemical Society (ACS) in 2024, page: 4031-404610.1021/acs.jcim.4c00160
- 1.Author(s): Vahid Atabaigi Elmi, Roman Joeres, Olga V. KalininaPublished by openRxiv in 202610.64898/2026.02.26.708291
- 2.Author(s): Nana Kofi Sarpong Morgan, Patrick Annan-NoonooPublished by JMIR Publications Inc. in 202610.2196/preprints.92079
- 3.Author(s): Runhua Wang, Yin Gao, Liang Kang, Yuxin Wu, Luping ZhuPublished in 202610.2139/ssrn.6837416
- 4.Author(s): P. G. Kubendran AmosPublished by Elsevier BV in 202610.2139/ssrn.6624062
- 5.Author(s): Mario Catalano, Gerardo Pepe, Gabriele Ausiello, Claire McWhite, Giorgio Gambosi, Manuela Helmer Citterich, Pier Federico GherardiniPublished by openRxiv in 202610.64898/2026.04.22.720174
- 6.Author(s): Anthony Lavertu, Jacques Corbeil, Pascal GermainPublished by openRxiv in 202610.64898/2026.02.03.703041
- 7.Author(s): Vahid Atabaigi Elmi, Roman Joeres, Olga V. KalininaPublished by openRxiv in 202510.1101/2025.10.09.681419
- 8.Author(s): Alper Yurtseven, Roman Joeres, Olga V. KalininaPublished by openRxiv in 202510.1101/2025.07.08.663126
- 9.Author(s): Luc Thomès, Roman Joeres, Zeynep Akdeniz, Daniel BojarPublished by openRxiv in 202510.1101/2025.06.22.660912
- 10.Author(s): Alexander Gress, Carène Benasolo, Johanna Becher, Dominique Mias-Lucquin, Roman Joeres, Sebastian Keller, Olga V. KalininaPublished by openRxiv in 202510.64898/2025.12.01.691563
- 11.Author(s): Farzaneh Firoozbakht, Maria Louise Elkjaer, Diane E. Handy, Rui-Sheng Wang, Zoe Chervontseva, Matthias Rarey, Joseph Loscalzo, Jan Baumbach, Olga TsoyPublished by openRxiv in 202410.1101/2024.07.20.602911
- 12.Author(s): James Urban, Roman Joeres, Luc Thomès, Kristina A. Thomsson, Daniel BojarPublished by openRxiv in 202410.1101/2024.06.28.601175
- 13.Author(s): Rohan Gorantla, Aryo Pradipta Gema, Ian Xi Yang, Álvaro Serrano-Morrás, Benjamin Suutari, Jordi Juárez-Jiménez, Antonia S. J. S. MeyPublished by openRxiv in 202410.1101/2024.11.01.621495
- 14.Author(s): Raúl Fernández-Díaz, Denis C. Shields, Thanh Lam Hoang, Vanessa LopezPublished by openRxiv in 202410.1101/2024.03.14.584508
- 15.Author(s): Julian Götz, Euan Richards, Iain Stepek, Yu Takahashi, Yi-Lin Huang, Louis Bertschi, Bertran Rubi, Jeffrey BodePublished by American Chemical Society (ACS) in 202410.26434/chemrxiv-2024-5328b
- 16.Author(s): Hosein Fooladi, Steffen Hirte, Johannes KirchmairPublished by American Chemical Society (ACS) in 202410.26434/chemrxiv-2024-871mt
- 17.Author(s): Shafayat Ahmed, Muhit Islam Emon, Nazifa Ahmed Moumi, Liqing ZhangPublished by openRxiv in 202410.1101/2024.11.13.623463