Powered by OpenAIRE graph
Found an issue? Give us feedback
image/svg+xml art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos Open Access logo, converted into svg, designed by PLoS. This version with transparent background. http://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos http://www.plos.org/ ZENODOarrow_drop_down
image/svg+xml art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos Open Access logo, converted into svg, designed by PLoS. This version with transparent background. http://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos http://www.plos.org/
ZENODO
Dataset
Data sources: ZENODO
addClaim

Supplementary Data for MetaTCR: reference TCR database, repertoire data and meta-vectors

Authors: HUO, Miaozhe;

Supplementary Data for MetaTCR: reference TCR database, repertoire data and meta-vectors

Abstract

Overview MetaTCR is a computational framework for standardizing T-cell receptor (TCR) repertoires and mitigating batch effects in adaptive immune receptor repertoire sequencing (AIRR-seq) data. It constructs a population-scale reference TCR space and projects individual repertoires onto it, turning variable-length repertoires into fixed-dimensional feature profiles (meta-vectors) that enable robust cross-study comparison, dataset integration, and batch-effect correction. This record provides the large data files needed to reproduce the study and to reuse the reference space on new data. Analysis code, the small reference artifacts (primary cluster centroids and functional-cluster mappings), and per-sample metadata are maintained in the MetaTCR GitHub repository (https://github.com/deepomicslab/MetaTCR). Please cite this record together with that repository. Contents The deposit is split into three compressed archives; each extracts to a single top-level folder that mirrors the paths expected by the MetaTCR pipeline. 1. database.tar.gz — reference database and embeddings Note: to use MetaTCR only for encoding your own repertoires, you do not need this archive — ready-to-use reference cluster centroids are already provided in the code repository. MetaTCR_reference_fullseq.txt — the frozen reference set of TCRβ clonotypes, each composed of a CDR3 with its V and J gene (5,125,567 representative clonotypes assembled and deduplicated across many studies); the input used to build the reference TCR space. reference_embeddings/ — pre-computed TCR2vec embeddings of the reference clonotypes: 21 sharded NumPy arrays (shard_*.npy, float16) that concatenate, in shard order, to a (5,125,567 × 120) matrix aligned 1-to-1 with the sequence file. reference_embedding_manifest.tsv gives the per-shard row index, shape/dtype, and SHA-256 checksums of the input and stored embedding for integrity verification. To read them, sort the shard_*.npy files by their numeric shard id (the first number in each filename) and concatenate them along axis 0 to reconstruct the full (5,125,567 × 120) float16 matrix — row i is the embedding of line i of MetaTCR_reference_fullseq.txt. Each shard is a standalone NumPy array that can also be loaded on its own (optionally memory-mapped) with numpy.load. 2. repertoire_data.tar.gz — processed input repertoires Per-sample TCRβ repertoire tables (TSV), one directory per study, for the 18 cohorts used in the downstream analyses and figures. Each repertoire is quality-controlled and reduced to its high-frequency, representative clonotypes (each defined by CDR3 + V/J gene usage). These are the raw inputs consumed by the MetaTCR encoding step. 3. encoding.tar.gz — MetaTCR meta-vectors MetaTCR-encoded feature matrices (Python pickle, .pk) for the downstream datasets — the fixed-dimensional meta-vectors summarizing each sample's abundance and diversity profiles over the 1,024 reference clusters. These are the encoded representations used in the benchmarking, distance-metric, and integration experiments. Usage Extract the archives so that database/, repertoire_data/, and encoding/ sit under the project data/ tree, then follow the step-by-step scripts in the GitHub repository (reference construction, repertoire encoding, distance/metric computation, and batch integration).

Powered by OpenAIRE graph
Found an issue? Give us feedback