Skip to content

Commit

Permalink
CDR3 aa sequence should be in cdr3_aa, not cdr3
Browse files Browse the repository at this point in the history
  • Loading branch information
grst committed Jan 9, 2024
1 parent b9ec986 commit 8e2b464
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scirpy/datasets/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ def _get_junction_aa(row, chain="Chain 1"):
chain1.update(
{
"locus": receptor_dict[row["Chain 1 Type"]],
"cdr3": row["Chain 1 CDR3 Curated"],
"cdr3_aa": row["Chain 1 CDR3 Curated"],
"junction_aa": row["Chain 1 junction_aa"],
"junction": None,
"consensus_count": None,
Expand All @@ -391,7 +391,7 @@ def _get_junction_aa(row, chain="Chain 1"):
chain2.update(
{
"locus": receptor_dict[row["Chain 2 Type"]],
"cdr3": row["Chain 2 CDR3 Curated"],
"cdr3_aa": row["Chain 2 CDR3 Curated"],
"junction_aa": row["Chain 2 junction_aa"],
"junction": None,
"consensus_count": None,
Expand Down

0 comments on commit 8e2b464

Please sign in to comment.