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

Paired rearrangements and cell_id #165

Closed
bcorrie opened this issue Nov 27, 2018 · 4 comments
Closed

Paired rearrangements and cell_id #165

bcorrie opened this issue Nov 27, 2018 · 4 comments

Comments

@bcorrie
Copy link
Contributor

bcorrie commented Nov 27, 2018

I think this is probably a quick answer, but I wanted to confirm. My understanding is that if you have a paired sequence the correct way in the DataRep schema is to have them have the same cell_id. Then to get both chains of a paired rearrangment you would search for rearrangements that had the same cell_id?

Is that correct?

We have a question from a user about paired TCR data. We currently don't have any paired TCR data in the iReceptor repository, but supposing we did, what would be the correct way to represent that at the rearrangement level.

Brian

@bcorrie bcorrie changed the title Paired reads and cell_id Paired rearrangements and cell_id Nov 27, 2018
@schristley
Copy link
Member

Yes, that's correct. Note that cell_id is assigned by the user, so there is no guarantee of it being globally unique. You need repertoire_id and (possibly) rearrangement_set_id as additional keys to constrain the match.

@bcorrie
Copy link
Contributor Author

bcorrie commented Nov 27, 2018

Great, thanks - closing this...

@bcorrie bcorrie closed this as completed Nov 27, 2018
@bussec
Copy link
Member

bussec commented Oct 14, 2019

With the wisdom of hindsight: See #169 and #206 => Use of cell_id to annotate chain linkage has been deprecated, instead an additional pair_id field was introduced (as single cell and chain pairing are not always associated).

@bussec
Copy link
Member

bussec commented Jan 4, 2020

With even more hindsight: Chain linkage on the level of a cell vs. on the level of a receptor has turned out to be different things, that should be handled accordingly. For a current proposal see #273 (comment)

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