docs: add BEAM-T receptor query tutorial - #724
Open
matteobroketa wants to merge 5 commits into
Open
Conversation
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
for more information, see https://pre-commit.ci
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #724 +/- ##
==========================================
- Coverage 78.31% 78.29% -0.03%
==========================================
Files 51 51
Lines 4607 4607
==========================================
- Hits 3608 3607 -1
- Misses 999 1000 +1 🚀 New features to boost your workflow:
|
Collaborator
|
Thanks for putting this together @matteobroketa. I suggest the following improvements:
To show a bit better that the querying works, I was thinking of the following evaluation. Do you think this makes sense, or would that not work at all in the small demo dataset?
LMK what you think. |
grst
reviewed
Jul 28, 2026
| @@ -0,0 +1,1182 @@ | |||
| { | |||
Collaborator
There was a problem hiding this comment.
Line #22. for column in antigen_table.columns:
I think instead of the loop, you could just do
python
mdata.mod["airr"].obs = mdata.mod["airr"].obs.join(antigen_table.set_index("barcode"), validate="1:1")
Reply via ReviewNB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ir_dist,define_clonotype_clusters,ir_query,ir_query_annotate_df, andgroup_abundanceThe score threshold of 90 is used only to select a conservative EBV reference subset. The tutorial explicitly treats it as an illustrative, dataset-specific convention rather than a universal cutoff.
Scope
This is a documentation-only contribution. It downloads the processed data directly from 10x Genomics using pinned hashes.
This first version does not add a
scirpy.datasetsloader, mirror the dataset, or include an unrelated external query dataset.Validation
git diff --checkCloses #677