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" pyarrow"<26"
for installing from the PyPI or
mamba install -c conda-forge -c kalininalab datasail numpy"<2" pyarrow"<26"
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): Prashik Bhimrao Dudhe, Sujata P. Dudhe, Ashish A. Gawai, Sachin A. Dhawale, Atul Arunrao Kulkarni, Rajashri Eknath Badadare, Jeevan M. Ghormade, Dinesh P. Kawade, Mrunalini H. Kulkarni, Hemantkumar Arvind Ranpise, Nagaraju Bandaru, Makarand S. Gambhire, Dyandevi M. Mathure, Shrikant Shivkumar NilewarPublished in 202610.4018/979-8-3373-6400-1.ch003
- 2.Author(s): Floriane Odje, Lisa-Marie Rolli, Andrea VolkamerPublished in 201210.1007/978-1-0716-4985-5_8
- 1.Author(s): Xinyuan Wang, Fanrui Sun, Michael AndersonPublished in 202610.1177/24723444261488123
- 2.Author(s): Victor Hugo Xavier Bernardes, Rubens Gedraite, Nicolas Spogis, Sarah Arvelos AltinoPublished in 202610.1016/j.ijhydene.2026.153747
- 3.Author(s): Jose Romero Castro, Guinel Zapata Alfaro, Edilberto Avalos-Ortecho, Silvia Ponce AlvarezPublished in 202610.1016/j.clet.2026.101198
- 4.Author(s): Esraa Sabeeh, Mohammed Zuhair Al-TaiePublished in 202610.1007/s11686-026-01295-0
- 5.Author(s): Roxana Irina Iancu, Călin Gheorghe Buzea, Florin Nedeff, Diana Mirilă, Valentin Nedeff, Maricel Agop, Denisa Batir-Marin, Dragoș Petru Teodor IancuPublished in 202610.3390/pharmaceutics18111408
- 6.Author(s): Manal A. Nael, Laxman M. Alakonda, Khaled M. ElokelyPublished in 202610.1021/acs.jcim.6c00514
- 7.Author(s): Mehmet Ali Balcı, Erbil Çetin, Gizem Calibasi-Kocal, Ömer AkgüllerPublished in 202610.3390/molecules31111899
- 8.Author(s): Ádám Lévárdi, Ján Matúška, Lukas Bucinsky, Marián Gall, Marek Štekláč, Michal PitoňákPublished in 202610.1021/acs.jpcb.5c07757
- 9.Author(s): Zhaokun Jiang, Heying Dai, Yongxv Chen, Baixue Qiao, Shanwen SunPublished in 202610.3389/fchem.2026.1834317
- 10.Author(s): Vahid Atabaigi Elmi, Roman Joeres, Olga V KalininaPublished in 202610.1093/bioinformatics/btag733
- 11.Author(s): Zankhana Sheth, Chirag Parmar, Niraj Pandya, Adil PatelPublished in 202610.63001/tbs.2026.v21.i03.s.i(3).pp779-798
- 12.Author(s): Yashuai Wu, Xudong Zhang, Wenjing Tian, Dongrui Zhao, Mingtao Huang, Jinyuan Sun, Mingquan Huang, Baoguo SunPublished in 202610.3390/foods15173043
- 13.Author(s): Amira Khalil, Sara Fathy, Mahmoud Adel, Hany Nabil, Rania MostafaPublished in 202610.51847/5iltp1c6fq
- 14.Author(s): Fatih Ekinci, Özge Demir, Neşet Koçkar, Güney Uğurlu, Mehmet Özdemir, Faruk Bostancı, Mehmet Tekerek, Mehmet Serdar GüzelPublished in 202610.1016/j.ijhydene.2026.158028
- 15.Author(s): Keyu Chen, Juan Huang, Jiangcheng Xu, Dengwen Bai, Tao Bi, Zengjin Liu, Qin Sun, Yong DaiPublished in 202610.1039/d6ra03044k
- 16.Author(s): Noman Hassan, Umar Farooq, Shumaila Raheem, Ariba Anwar, Tasawar Abbas, Allah Ditta Shah, Areeba Mumtaz, Alishba Zaheer, Sidra Rehman, Laraib UmarPublished in 202610.36348/sijcms.2026.v09i04.002
- 17.Author(s): Wenran Li, Xavier Cadet, David Medina-Ortiz, Philippe Charton, Mehdi D. Davari, Yu Li, Cedric Damour, Alain Miranville, Alexandre de Brevern, Frederic CadetPublished in 202610.1016/j.ailsci.2026.100191
- 18.Author(s): C. Özkan, F. Sunar, H. AtabayPublished in 202610.1007/s00477-026-03226-x
- 19.Author(s): Wan QinPublished in 202610.1016/j.lddd.2026.100556
- 20.Author(s): Wenchi Ge, Qijia Yu, Jincen Shuai, Qi ZhaoPublished in 202610.1021/acs.jcim.6c01919
- 21.Author(s): Emilio Moreno, Joe Moscatelli, Jason HeikenfeldPublished in 202610.1016/j.ailsci.2026.100185
- 22.Author(s): Ahmet Haşim Yurttakal, Hasan ErbayPublished in 202610.1007/s44163-026-01861-5
- 23.Author(s): Adeel Ahmed Abbasi, Nasrollah MoradikorPublished in 202610.21926/obm.neurobiol.2604354
- 24.Author(s): Karunganathan Sakthikumar, R.A. HarrisPublished in 202610.1016/j.etap.2026.105224
- 25.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
- 26.Author(s): Qingyang Zou, Jiaye Huang, Hanbo Xie, Jiayue Yin, Youyi Song, Jinfeng LiuPublished in 202610.1021/acs.jcim.6c02897
- 27.Author(s): Anthony Lavertu, Jacques Corbeil, Pascal GermainPublished in 202610.1038/s41598-026-56004-8
- 28.Author(s): Akram Lichani, Radouane Nouara, Nabil BelalaPublished in 202610.1080/1206212x.2026.2744183
- 29.Author(s): Suyue Wang, Ayan Sengupta, Songling Li, Daron M StandleyPublished in 202610.1093/bib/bbag614
- 30.Author(s): Jie Li, Xingyi Guan, Oufan Zhang, Kunyang Sun, Yingze Wang, Dorian Bagni, Teresa Head-GordonPublished in 202610.1021/acs.jpcb.5c08598
- 31.Author(s): Sedat Arslan, Şuheda Uğur, Bartłomiej ZieniukPublished in 202610.1080/87559129.2026.2757756
- 32.Author(s): Xiaoyu Ma, Ximing Yang, Xinran Liu, Xue Sang, Long Wu, Shuzhen Cheng, Ming DuPublished in 202610.1016/j.fbio.2026.110348
- 33.Author(s): Abuzar Khan, Ahmad Junaid, Abid Iqbal, Ghassan Husnain, Sangsoon LimPublished in 202610.1109/jiot.2026.3730808
- 34.Author(s): Renfeng Liu, Ziheng Yang, Jie Ouyang, Zhengteng Yuan, Chi Cheng, Dingdong WangPublished in 202610.1155/int/4159977
- 35.Author(s): Chien-Han Yuan, Pei-Wen Wu, Ing-Luen Shyu, Johnathan Lin, Chun-Jui Chien, Lu-Hsin Hsu, Hsiang-Ying Lee, Sung-Huan YuPublished in 202610.1016/j.nbt.2026.10.006
- 36.Author(s): Joseph Wasswa, Bharath RamsundarPublished in 202610.1021/acsestengg.6c00559
- 37.Author(s): Endashaw Workie, Ronald Halim, Junli Xu, Tamíris da CostaPublished in 202610.1016/j.biombioe.2026.109717
- 38.Author(s): Ahmed Baha Ben Jmaa, Cécile Hanon, Jean-Yves Parfait, Frédéric DebastePublished in 202610.1016/j.jfoodeng.2026.113175
- 39.Author(s): Adnan Amin, Wajid ZamanPublished in 202610.1080/87559129.2026.2715571
- 40.Author(s): Eder Soares de Almeida Santos, Gustavo Felizardo Santos Sandes, Artur Christian Garcia da Silva, Holli‐Joi Martin, Eugene N. Muratov, Rodolpho de Campos Braga, Bruno Junior NevesPublished in 202610.1002/advs.202519897
- 41.Author(s): Yujing Huang, Congzhen Shen, Xiaoqing Mu, Chengyin Huang, Shasha Zhao, Jinlian Liang, Zhipeng Gu, Yingxin Zhang, Zezhong Yang, Jianni Yang, Haibo Zhou, Pinghua Sun, Shengrong Li, Junxia ZhengPublished in 202610.1016/j.aca.2026.346228
- 42.Author(s): Henghui Fan, Chuanmei Bi, Dayu Tan, Fei Wang, Junfeng XiaPublished in 202610.1021/acs.jcim.6c02822
- 43.Author(s): Runhua Wang, Yin Gao, Liang Kang, Yuxin Wu, Luping ZhuPublished in 202610.1016/j.comptc.2026.115959
- 44.Author(s): Bartosz Gręziak, Ewa Syguła, Andrzej BiałowiecPublished in 202610.3390/su18178702
- 45.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
- 46.Author(s): Bayu Priya MuktiPublished in 202610.30871/jaic.v10i5.13801
- 47.Author(s): Hutama Arif Bramantyo, Mukarram Ali Faridi, Rui Chen, Clarissa Harris, Yin SunPublished in 202610.1109/access.2026.3669074
- 48.Author(s): Xiyao YuPublished in 202610.1002/jcc.70497
- 49.Author(s): Adrienn DinevaPublished in 202610.3390/electronics15112291
- 50.Author(s): Derek van Tilborg, Francesca GrisoniPublished in 202610.1021/acs.jcim.6c00638
- 1.Author(s): Gökhan Özsari, Ahmet Süreyya Rifaioğlu, Aybar Can Acar, Tunca Doğan, M.Volkan AtalayPublished in 202610.1016/j.softx.2026.102671
- 2.Author(s): Hiranmoy Mondal, Amlan Bishal, Biplab Debnath, Aakriti Patel, Joy Das, Tahreen TajPublished in 202610.1007/s10822-026-00798-2
- 3.Author(s): Da Lin¹, Ying Chen², Yue Liu², Yu Zhang¹Published in 202610.21203/rs.3.rs-10446347/v1
- 4.Author(s): Mark Yu. Schneider, Daniil D. Kholmanskikh, Kirill Ya. Romanov, Elena A. Perekina, Sergei A. Nikolenko, Ruslan Yu. Lukin, Ivan V. GolovPublished in 202610.3390/molecules31050769
- 5.Author(s): Zhi’ang Cheng, Seno Judaprawira, James Perez, Adam GoldsteinPublished in 202610.64898/2026.09.08.26362488
- 6.Author(s): Zheng, Jiacheng, Guo, Chang, Wang, Zixuan, Liu, Xinyu, Chen, HaoPublished in 202610.48550/arxiv.2607.10729
- 7.Author(s): Yiwen Huang, Suresh NeethirajanPublished in 202610.2139/ssrn.7535078
- 8.Author(s): Zhengtong Qiu, Haoyu Yuan, Ao Chen, Chaonan MuPublished in 202610.1039/d6re00116e
- 9.Author(s): Ülke Balcı Yeşilkaya, İlker YeşilkayaPublished in 202610.1016/j.procs.2026.09.240
- 10.Author(s): Justin LiPublished in 202610.26434/chemrxiv.15010766/v1
- 11.Author(s): Sheng-Ya Chen, Shan-Ju YehPublished in 202610.21203/rs.3.rs-10812497/v1
- 12.Author(s): Shun Yao, Xiaoxin ChenPublished in 202610.3389/fphar.2026.1962508
- 13.Author(s): Aleksandra Ata, Stanisław Lota, Karol KozakPublished in 202610.2139/ssrn.7190904
- 14.Author(s): Chen, Wanchao, Li, Wen, He, Yanan, Yang, YanPublished in 202610.48550/arxiv.2609.16809
- 15.Author(s): Huang, Yiwen, Neethirajan, Suresh RajaPublished in 202610.48550/arxiv.2610.32989
- 16.Author(s): Mohamed Ali Hussein, Gnanasekar MunirathinamPublished in 202610.3390/cancers18050719
- 17.Author(s): Runhua Wang, Yin Gao, Liang Kang, Yuxin Wu, Luping ZhuPublished by Elsevier BV in 202610.2139/ssrn.6837416
- 18.Author(s): Fabian, ThomasPublished in 202610.48550/arxiv.2601.05713
- 19.Author(s): Nicole Soto-García, Norma Murillo-Acevedo, Julián García-Vinuesa, Ana Luisa Islas-Ávila, Mehdi D. Davari, Leandro Murgas-Saavedra, Ahmed Hassanin, Karen Oróstica, Jorge González-Puelma, Marcelo Navarrete, Alicia Martínez-Rebollar, Roberto Uribe-Paredes, Frederic Cadet, David Medina-OrtizPublished in 202610.64898/2026.08.05.742971
- 20.Author(s): Priyesh Mohanty, Shiv Rekhi, Aahil Khambhawala, Qizan Chen, Jeetain MittalPublished in 202610.1016/j.slasd.2026.100309
- 21.Author(s): Mario Catalano, Gerardo Pepe, Gabriele Ausiello, Romina Appierdo, Claire McWhite, Giorgio Gambosi, Manuela Helmer Citterich, PierFederico GherardiniPublished in 202610.64898/2026.04.22.720174
- 22.Author(s): Anthony Lavertu, Jacques Corbeil, Pascal GermainPublished by openRxiv in 202610.64898/2026.02.03.703041
- 23.Author(s): Jiacai Yi, Yue Li, Dejun Jiang, Youchao Deng, Xinyu Gu, Chengkun Wu, Aiping Lu, Xiang Chen, Min Li, Tingjun Hou, Dongsheng CaoPublished in 202610.1021/acs.chemrev.6c00161
- 24.Author(s): Ayush Noori, Nic Fishman, Ada Fang, Lukas Fesser, Marinka ZitnikPublished in 202610.1016/j.cell.2026.08.032
- 25.Author(s): Houman Kazemzadeh, Kiarash Mokhtari, Seyed Reza Tavakoli, Nazanin Mirzaei, Ali Reza Keivanimehr, Shayan Majidifar, Ali Behrad, Farbod Davoodi, Sina Khosravi, Behdad Alikhani, Ali Sabzi, Parham Abed Azad, Arshia Abolghasemi, Afshin Cheraghzade, Siavash Ahmadi, Babak Khalaj, Mohammad Hossein Rohban, Gholamali Aminian, Ali Baheri, Koorosh AslansefatPublished in 202610.26434/chemrxiv.15008163/v3
- 26.Author(s): Nana Kofi Sarpong Morgan, Patrick Annan-NoonooPublished in 202610.2196/preprints.92079
- 27.Author(s): Lisa-Marie Rolli, Loulwah Arnaout, Andrea VolkamerPublished in 202610.21203/rs.3.rs-10470980/v1
- 28.Author(s): Zhizhen Zhai, Zhong-yuan GU, Xin Xiong, Shuai Gao, Chengnian Wang, Huiyu RenPublished in 202610.2139/ssrn.7661703
- 29.Author(s): Yasha Ektefaie, Shrey Jain, Pardis SabetiPublished in 202610.64898/2026.11.03.763979
- 30.Author(s): Ning, Jingjie, Li, Xiaochuan, Zeng, Ji, Xiong, Chenyan, Ke, GuolinPublished in 202610.48550/arxiv.2606.22731
- 31.Author(s): Geletaw Sahle Tegenaw, Hailin Song, Tomas WardPublished in 202610.1186/s13040-025-00516-y
- 32.Author(s): Aram Papazian, Volkhard HelmsPublished in 202610.64898/2026.10.29.762715
- 33.Author(s): Bartosz Szczęsny, Wiesława GryncewiczPublished in 202610.1109/acit69831.2026.11700173
- 34.Author(s): Henry Stephenson, Dan Voicu, Victor Novakov, Michelle Levy, Joseph MarsilioPublished in 202610.64898/2026.06.16.732304
- 35.Author(s): Blake, Acer, Imrie, Fergus, Deane, Charlotte M.Published in 202610.48550/arxiv.2611.08420
- 36.Author(s): Hansen Cheng, Chengyu Sun, Chuan Ye, Chenyang Wu, Dongyu ZhaoPublished in 202610.64898/2026.10.07.757219
- 37.Author(s): Gabriel Costa, Lucas Ribeiro, Ricardo AlvesPublished in 202610.51847/bwgxspydzm
- 38.Author(s): Wenchang Yue, Ashutosh K. Tewari, Babu J. PadanilamPublished in 202610.64898/2026.09.10.26362786
- 39.Author(s): Bernett, Judith, Spannagl, Anton, Ås, Joel, List, Markus, Blumenthal, David B.Published in 202610.48550/arxiv.2609.10193
- 40.Author(s): Md Abu Ahammed Babu, Miroslaw Staron, András Bálint, Darko Durisic, Sushant Kumar PandeyPublished in 202610.1109/iv66570.2026.11623865
- 41.Author(s): Bonthada Sravan KumarPublished in 202610.2139/ssrn.7664906
- 42.Author(s): P. G. Kubendran AmosPublished in 202610.2139/ssrn.6624062
- 43.Author(s): Tao Song, Yong Wang, Shuang Wang, Xun WangPublished in 202610.21203/rs.3.rs-9951586/v1
- 44.Author(s): Enzo Durand, Sergei Grudinin, Béatrice Durand, Élodie LainePublished in 202610.64898/2026.10.08.757593
- 45.Author(s): Peishuo Liu, Mianzhi Pan, Chenyang Yan, Fuhao Li, Jianbing ZhangPublished in 202610.64898/2026.06.30.735486
- 46.Author(s): Houman Kazemzadeh, Kiarash Mokhtari, Nazanin Mirzaei, Seyed Reza Tavakoli, Ali Reza Keivanimehr, Shayan Majidifar, Ali Behrad, Farbod Davoodi, Sina Khosravi, Behdad Alikhani, Ali Sabzi, Parham Abed Azad, Arshia Abolghasemi, Afshin Cheraghzade, Siavash Ahmadi, Babak Khalaj, Mohammad Hossein Rohban, Gholamali Aminian, Ali Baheri, Koorosh AslansefatPublished in 202610.26434/chemrxiv.15008163/v1
- 47.Author(s): Shihang Wang, Yang Zhang, Dong Wang, Huanxiang Liu, Xiaojun YaoPublished in 202610.1016/j.tips.2026.08.006
- 48.Author(s): Shuo Zhang, Jian K. LiuPublished in 202610.1109/icbcb69424.2026.11621216
- 49.Author(s): Miriam Cobo, Adriana Katherine Calapaqui Terán, Fernando Aguilar, Lara Lloret IglesiasPublished in 202610.1038/s41597-026-07206-2
- 50.Author(s): Chenyu Hu, Xiaoling Zhou, Yongkun Guo, Xinyou ZhangPublished in 202610.21203/rs.3.rs-11137779/v1