• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pirl-unc / tcrsift / 25881973801
84%

Build:
DEFAULT BRANCH: main
Ran 14 May 2026 07:52PM UTC
Jobs 4
Files 28
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 May 2026 07:50PM UTC coverage: 75.798% (+0.6%) from 75.226%
25881973801

push

github

web-flow
Funnel + QC + signature batch: closes #72/#74/#75/#76/#77 (#78)

Five tightly-related plotting/QC issues bundled. Each is small on its
own; they share the new `tcrsift.format` and `tcrsift.candidate`
modules and the extended funnel/QC primitives.

#77 — Pretty method labels
- New module `tcrsift/format.py` with `pretty_method`, `pretty_methods`,
  `pretty_sample`, `pretty_samples`. Translates `AIMpos` → `AIM⁺`,
  `CTYneg` → `CTY⁻`, `CTYneg_tetpos` → `tet⁺CTY⁻` (CTY-second
  reordering for two-part names).
- Applied in `plot_method_overlap` (heatmap axes), `plot_method_recovery`
  (xticks), `plot_clone_freq_vs_signature_per_sample` (panel titles),
  the rank curves, and the top-N labeled bars.

#74 — Per-clone signature scores in clonotypes.csv
- New `compute_signature_scores_per_clonotype(per_cell_df, ...)` in
  `gex.py`. Returns one row per clonotype with
  `signature_antigen_response`, `signature_cytolytic`,
  `signature_tumor_reactive` columns (plus any other signatures the
  caller passes via `signatures=`).
- Mean-log1p across each gene set, then group-mean per clonotype.
  Restricts to CD8+ cells by default (auto-detected via
  `gex.CD8A`/`gex.CD8`); `cd8_only=False` opts out.
- Wired into `cmd_annotate_gex` so `tcrsift annotate-gex --aggregate`
  emits the columns automatically when per-cell augmentation ran.

#75 — Signature-based candidate selection
- New module `tcrsift/candidate.py` with `select_candidates(clonotypes,
  signatures, top_n)`. Adds boolean tracking columns:
  `tier1_or_tier2`, `tier3plus_top_by_{name}_signature` per signature,
  `is_selected`. Pure: doesn't filter or mutate input.
- Selection: tier1 ∪ tier2 ∪ top-N-per-signature(tier3 ∪ tier4 ∪ tier5).
  Tier1/2 don't consume top-N slots in the tier3+ pool. NaN scores
  sort to the bottom and don't get picked.

#76 — Stacked cells-per-sample QC bars
- New `plot_cells_per_sample_stacked(adata, output_path)` renders
  three layered bars per sample: loaded barcodes (pale gray) /
... (continued)

5913 of 7801 relevant lines covered (75.8%)

3.03 hits per line

Coverage Regressions

Lines Coverage ∆ File
375
61.11
3.2% plots.py
49
52.5
-0.22% cli.py
6
93.81
-0.45% gex.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.10 - 25881973801.1 14 May 2026 07:52PM UTC 28
75.79
GitHub Action Run
2 python-3.9 - 25881973801.2 14 May 2026 07:52PM UTC 28
75.76
GitHub Action Run
3 python-3.12 - 25881973801.3 14 May 2026 07:52PM UTC 28
75.79
GitHub Action Run
4 python-3.11 - 25881973801.4 14 May 2026 07:52PM UTC 28
75.79
GitHub Action Run
Source Files on build 25881973801
  • Tree
  • List 28
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25881973801
  • 89f0f6df on github
  • Prev Build on main (#25878034169)
  • Next Build on main (#25895642089)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc