Tumor2Line is an open-source population-aware computational framework explicitly designed to align tumor and cell-line populations for informed cancer cell-line selection, advancing model-specific representational fidelity in preclinical cancer research. Built upon an unbalanced optimal transport strategy, this package reframes cell-line selection as an alignment problem between tumor and cell-line populations, empowering researchers to recover documented tumor–cell line pairs more effectively than conventional similarity-based approaches.