Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding TCRDist3 Functionality to Cirro #1

Open
RachelKarchin opened this issue Jan 22, 2025 · 2 comments
Open

Adding TCRDist3 Functionality to Cirro #1

RachelKarchin opened this issue Jan 22, 2025 · 2 comments

Comments

@RachelKarchin
Copy link
Contributor

This the path to the TCRdist docker: https://tcrdist3.readthedocs.io/en/latest/docker.html (quay.io/kmayerb/tcrdist3:0.1.9) we are planning to base on.

@yuvalel
Copy link
Collaborator

yuvalel commented Jan 22, 2025

Basic functionality requested - a user has a few TCR samples and want to explore the internal distances in each samples. This could be a biomarker of either response or potential to response and could be correlated vs clinical covariates.
Specifically we would like the user to be able to visualize distances within a repertoire sample(s) according to this breakdown:

  1. Input - repertoire sample (minimal example - just bulk beta CDR3s), output- distance matrix. Calculate every pairwise distance in the sample and output it as a matrix.
  2. Visualize distance matrix as a heatplot with or without clustering
  3. Histogram the distances and plot as a distribution over distance.

@KevinMLanderos
Copy link
Collaborator

Title: "Adding TCRdist3 Functionality to Cirro"

Introduction: Implementing TCRdist3 to TCRtoolkit will aid analysis when having TCR samples and want to explore the internal distances in each samples. Results could show a biomarker of either response or potential to response and could be correlated vs clinical covariates.

Outline of problem to be addressed: Specifically, we would like the user to calculate every pairwise distance in a bulk sample and output it as a matrix. We would also like to be able to visualize distances as a heatplot with or without clustering.

Expected inputs:

  • bulk-TCR repertoire data in tabular format (minimal example: CDR3b); can include V,J genes info and metadata.
  • Parameters: organism, chains (beta), etc...

Commands to be run/implemented:
(TCRdist3 documentation: https://tcrdist3.readthedocs.io/en/latest/tcrdistances.html)

  • TCRrep: Will give tcr distances
  • Plotting function for heatmap (e.g. pheatmap in R)
  • Dendogram function for clustering

Expected outputs:

  • Distance matrix
  • Clustering result: Computed from distances
  • Heatmap of the TCR distance matrix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants