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

Cells without alpha chain #246

Closed
nicoac opened this issue Mar 9, 2021 · 5 comments
Closed

Cells without alpha chain #246

nicoac opened this issue Mar 9, 2021 · 5 comments

Comments

@nicoac
Copy link

nicoac commented Mar 9, 2021

Hello! Really enjoying the package. I have a question regarding cells without alpha chains and how they should be interpreted. I have a very large TCR clonotype that is returning without an alpha chain and I'm having a hard time understanding why this would be the case based on the qc steps that were taken.

Results of QC:

image

Clonotype network after ct_cluster_aa_alignment

image

image

Any advice or thoughts would be much appreciated!

@grst
Copy link
Collaborator

grst commented Mar 10, 2021

Hi @nicoac,

how did you do the QC filtering?
Because from your figure, this is totally expected - "Orphan VDJ" refers to cells having a beta chain only.

@nicoac
Copy link
Author

nicoac commented Mar 11, 2021

Now that you've said that I realized I'm not dumping out the orphan VDJ, only the multi-chain. Is it possible to filter those cells as the multi-chain was done here? : adata = adata[adata.obs["multi_chain"] != "True", :].copy().

I guess I'm just surprised with how large that clone appears in the clonotype network graph when looking at the bar graph.

@grst
Copy link
Collaborator

grst commented Mar 12, 2021

Sure! You can always check the available categories of a column in obs with

adata.obs['chain_pairing'].unique()

To filter, you can use, e.g.

adata = adata[~adata.obs["chain_pairing"].isin(["orphan VDJ", "orphan VJ", "no IR"]), :].copy()

(untested, hope there are no typos)

@grst
Copy link
Collaborator

grst commented Mar 17, 2021

Closing this for now - feel free to reopen if there are any other questions!

@grst grst closed this as completed Mar 17, 2021
@nicoac
Copy link
Author

nicoac commented Mar 17, 2021

Thanks so much Gregor. Will try this out soon.

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