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): Endashaw Workie, Ronald Halim, Junli Xu, Tamíris da CostaPublished in Biomass and Bioenergy by Elsevier BV in 2027, page: 10971710.1016/j.biombioe.2026.109717
- 2.Author(s): Ahmed Baha Ben Jmaa, Cécile Hanon, Jean-Yves Parfait, Frédéric DebastePublished in Journal of Food Engineering by Elsevier BV in 2027, page: 11317510.1016/j.jfoodeng.2026.113175
- 3.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
- 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): Victor Hugo, Daniel Cruz, Javier SalazarPublished in Pharmacophore by Polaris in 2026, page: 72-8010.51847/5kyoiklui1
- 7.Author(s): Cherdsak Suksiripattanapong, Chatchai Tragoolsantirat, Wisitsak Tabyang, Tavorn Kuasakul, Vacharapoom BenjaoranPublished in 202610.1016/j.rineng.2026.111711
- 8.Author(s): Daren ZhaoPublished in Frontiers in Public Health by Frontiers Media SA in 202610.3389/fpubh.2026.1811213
- 9.Author(s): Runhua Wang, Yin Gao, Liang Kang, Yuxin Wu, Luping ZhuPublished in 202610.1016/j.comptc.2026.115959
- 10.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
- 11.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
- 12.Author(s): Mehmet Ali Balcı, Erbil Çetin, Gizem Calibasi-Kocal, Ömer AkgüllerPublished in Molecules by MDPI AG in 2026, page: 189910.3390/molecules31111899
- 13.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
- 14.Author(s): Amira Khalil, Sara Fathy, Mahmoud Adel, Hany Nabil, Rania MostafaPublished in 202610.51847/5iltp1c6fq
- 15.Author(s): Zhiqiang Liang, Yupeng Hao, Junjie ChenPublished in 202610.1016/j.biotechadv.2026.108987
- 16.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
- 17.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
- 18.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 Spectrochimica Acta Part A: Molecular and Biomolecular Spectroscopy by Elsevier BV in 2026, page: 12819910.1016/j.saa.2026.128199
- 19.Author(s): Adrienn DinevaPublished in Electronics by MDPI AG in 2026, page: 229110.3390/electronics15112291
- 20.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
- 21.Author(s): Wenqi Qiao, Jingjing HePublished in 202610.3390/buildings16142741
- 22.Author(s): Mahendro Prasetyo Kusumo, Slamet Riyadi, Karisma Trinanda Putra, Deasy ArdianyPublished in 202610.3389/ijph.2026.1609599
- 23.Author(s): Hasan Eker, Cihan BayraktarPublished in Applied Sciences by MDPI AG in 2026, page: 578410.3390/app16125784
- 24.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
- 25.Author(s): Zhengtong Qiu, Haoyu Yuan, Ao Chen, Chaonan MuPublished in 202610.1039/d6re00116e
- 26.Author(s): Chatter Singh, Amar Singh, Sahraoui DhelimPublished in 202610.1016/j.dsp.2026.106364
- 27.Author(s): Rodne Andrés Quijije, Enrique Pelaez, Ana Tapia-Rosero, Francis R. Loayza, Edwin Valarezo, Gabriel Herrera-Perez, Juan Pisco-Jordán, Lus Ramos-Pozo, Isaac Leon, Freddy Magdama, Juan Manuel Cevallos-CevallosPublished in 202610.3389/frai.2026.1861135
- 28.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
- 29.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
- 30.Author(s): Mohamed Ali Hussein, Gnanasekar MunirathinamPublished in Cancers by MDPI AG in 2026, page: 71910.3390/cancers18050719
- 31.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
- 32.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
- 33.Author(s): Guadalupe Gutiérrez-Esparza, Mireya Martínez-García, Luis M. Amezcua-Guerra, Martín Montes Rivera, Enrique Hernández-LemusPublished in Frontiers in Digital Health by Frontiers Media SA in 202610.3389/fdgth.2026.1805107
- 34.Author(s): Adnan Amin, Wajid ZamanPublished in 202610.1080/87559129.2026.2715571
- 35.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
- 36.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
- 37.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
- 38.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
- 39.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
- 40.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
- 41.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
- 42.Author(s): Victor Santos, Ana Beatriz, Joaquim DiasPublished in 202510.51847/ofw9syzsje
- 43.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
- 44.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
- 45.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
- 46.Author(s): Zhenqian Shen, Mingyang Zhou, Yongqi Zhang, Quanming YaoPublished in Bioinformatics by Oxford University Press (OUP) in 202510.1093/bioinformatics/btaf569
- 47.Author(s): Nure Tasnina, Maryam Haghani, T M MuraliPublished in Briefings in Bioinformatics by Oxford University Press (OUP) in 202510.1093/bib/bbaf676
- 48.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
- 49.Author(s): Alper Yurtseven, Roman Joeres, Olga V KalininaPublished in 202510.1093/bioinformatics/btag545
- 50.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
- 1.Author(s): Gabriel Costa, Lucas Ribeiro, Ricardo AlvesPublished in 202610.51847/bwgxspydzm
- 2.Author(s): P. G. Kubendran AmosPublished by Elsevier BV in 202610.2139/ssrn.6624062
- 3.Author(s): Nana Kofi Sarpong Morgan, Patrick Annan-NoonooPublished by JMIR Publications Inc. in 202610.2196/preprints.92079
- 4.Author(s): Lisa-Marie Rolli, Loulwah Arnaout, Andrea VolkamerPublished in 202610.21203/rs.3.rs-10470980/v1
- 5.Author(s): Vahid Atabaigi Elmi, Roman Joeres, Olga V. KalininaPublished by openRxiv in 202610.64898/2026.02.26.708291
- 6.Author(s): Tao Song, Yong Wang, Shuang Wang, Xun WangPublished in 202610.21203/rs.3.rs-9951586/v1
- 7.Author(s): Yu Yan, Jia Zeng, Jian LiPublished in 202610.1109/icaim69488.2026.11601543
- 8.Author(s): Md Abu Ahammed Babu, Miroslaw Staron, András Bálint, Darko Durisic, Sushant Kumar PandeyPublished in 202610.1109/iv66570.2026.11623865
- 9.Author(s): Peishuo Liu, Mianzhi Pan, Chenyang Yan, Fuhao Li, Jianbing ZhangPublished in 202610.64898/2026.06.30.735486
- 10.Author(s): Aleksandra Ata, Stanisław Lota, Karol KozakPublished in 202610.2139/ssrn.7190904
- 11.Author(s): Henry Stephenson, Dan Voicu, Victor Novakov, Michelle Levy, Joseph MarsilioPublished by openRxiv in 202610.64898/2026.06.16.732304
- 12.Author(s): Runhua Wang, Yin Gao, Liang Kang, Yuxin Wu, Luping ZhuPublished by Elsevier BV in 202610.2139/ssrn.6837416
- 13.Author(s): Da Lin¹, Ying Chen², Yue Liu², Yu Zhang¹Published in 202610.21203/rs.3.rs-10446347/v1
- 14.Author(s): Mario Catalano, Gerardo Pepe, Gabriele Ausiello, Romina Appierdo, Claire McWhite, Giorgio Gambosi, Manuela Helmer Citterich, PierFederico GherardiniPublished by openRxiv in 202610.64898/2026.04.22.720174
- 15.Author(s): Anthony Lavertu, Jacques Corbeil, Pascal GermainPublished by openRxiv in 202610.64898/2026.02.03.703041
- 16.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
- 17.Author(s): Luc Thomès, Roman Joeres, Zeynep Akdeniz, Daniel BojarPublished by openRxiv in 202510.1101/2025.06.22.660912
- 18.Author(s): Vahid Atabaigi Elmi, Roman Joeres, Olga V. KalininaPublished by openRxiv in 202510.1101/2025.10.09.681419
- 19.Author(s): James Urban, Roman Joeres, Luc Thomès, Kristina A. Thomsson, Daniel BojarPublished by openRxiv in 202410.1101/2024.06.28.601175
- 20.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
- 21.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
- 22.Author(s): Hosein Fooladi, Steffen Hirte, Johannes KirchmairPublished by American Chemical Society (ACS) in 202410.26434/chemrxiv-2024-871mt
- 23.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
- 24.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
- 25.Author(s): Shafayat Ahmed, Muhit Islam Emon, Nazifa Ahmed Moumi, Liqing ZhangPublished by openRxiv in 202410.1101/2024.11.13.623463