andim / paper_coincidences

Source code accompanying the paper "Measures of epitope binding degeneracy from T cell receptor repertoires "

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Measures of epitope binding degeneracy from T cell receptor repertoires

Figure

This repository contains the source code associated with the manuscript

Mayer, Callan: Measures of epitope binding degeneracy from T cell receptor repertoires, PNAS, 2023

It allows reproduction of the statistical analyses and numerical results reported in the manuscript.

For a number of figures final assembly and cosmetic changes were done in Inkscape as a postprocessing step. In these cases the figures will not be reproduced precisely. To help reuse the final edited figures are provided in png/svg format.

Installation requirements

The software is written in Python, and was run on Python version 3.6. The code relies on Pyrepseq (version 1.0), a python package for the analysis of immune repertoire sequencing data that we have released to accompany this paper. Other packages used include:

All can be installed using:

pip install -r requirements.txt

Running the code

Data download and preprocessing is handled by the Snakemake workflow manager, with the help of scripts located within the scripts directory. Data visualization is done within Jupyter notebooks provided for each of the figures.

Contact

If you run into any difficulties running the code, please contact us at andimscience@gmail.com.

License

The source code is freely available under an MIT license. The plots are licensed under a Creative Commons attributions license (CC-BY).

About

Source code accompanying the paper "Measures of epitope binding degeneracy from T cell receptor repertoires "

License:MIT License


Languages

Language:Jupyter Notebook 97.7%Language:Python 2.2%Language:Makefile 0.1%