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

pMHC data processing #60

Open
leeanapeters opened this issue Apr 13, 2023 · 1 comment
Open

pMHC data processing #60

leeanapeters opened this issue Apr 13, 2023 · 1 comment

Comments

@leeanapeters
Copy link

Hi, thank you for the great package!

I have run this pipeline successfully without incorporating pMHC information but would like to add this in. I was wondering if you could provide more information as to the processing of barcoded pMHC-multimer data prior to calling cells as positive or negative based on your threshold? Do you have a script for processing at the cell and clonotype level?

Thank you!

Leeana

@sschattgen
Copy link
Collaborator

Hi Leeana,

Thanks for your interest in conga. The code was originally tailored to a specific dataset, but with a little modification, you should be able to apply these functions to your own data. I've added a solution I've used myself here. I want to point out one part of the code you will likely need to modify for your purposes. There is a mask that is applied in the get_tenx_agbt_pmhc_var_names that is used to distinguish pMHC vars from Totalseq and hashtag vars. The original dataset used 'Totalseq' on non-pMHC labels, but this can be modified to suit your needs here:

not_totalseq_mask = ~raw.var_names.str.contains('TotalSeq')

Code is here:
pmhc_conga.txt

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

2 participants