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

pirl-unc / tsarina / 25673438197
71%

Build:
DEFAULT BRANCH: main
Ran 11 May 2026 01:34PM UTC
Jobs 1
Files 35
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

11 May 2026 01:33PM UTC coverage: 70.378% (+0.5%) from 69.875%
25673438197

push

github

web-flow
Surface TCGA pan-cancer RNA prevalence in evidence and panel summary (#67)

The bundled HPA cancer RNA-seq prevalence table already includes
cohort=TCGA rows for 21 TCGA project equivalents (BRCA, LUAD, ...),
but tsarina previously consumed those values only inside the
tumor_prevalence_panel_score ranker. Callers using CTA_detailed_evidence()
saw no per-gene TCGA prevalence, and the per-CTA panel summary table
gave no signal of which CTAs were broadly expressed in tumors versus
which were testis-restricted with low tumor expression.

Adds:
- cta_tcga_expression_features() in tsarina.cancer_expression — one row
  per CTA with TCGA-only sample counts, pan-cancer prevalence at
  TPM>=1 and TPM>=5, and the TCGA cancer type that maximizes prevalence
  at the lower threshold.
- CTA_detailed_evidence() now attaches the nine TCGA columns by joining
  on the stripped Ensembl gene id, with zero/empty defaults for genes
  without TCGA measurements.
- panel_summary() accepts an optional tcga_features arg and adds
  tcga_pan_prevalence_tpm_ge_1 / tcga_pan_prevalence_tpm_ge_5 /
  tcga_max_ptpm / tcga_top_cancer_type to each per-CTA row, taking the
  max across slash-joined CTA members.
- format_panel_summary() renders three new columns ("TCGA >1 TPM",
  "TCGA >5 TPM", "TCGA top type") with cancer types abbreviated to
  TCGA project codes (SKCM, LUAD, ...) to keep the table narrow.
- spanning_pmhc_set() best-effort loads the bundled TCGA features so
  the CLI panel output picks up the new columns automatically.

Also modernizes pyproject license metadata (#49): switches
project.license from a TOML table to the SPDX string "Apache-2.0",
adds project.license-files = ["LICENSE"], and drops the deprecated
"License :: OSI Approved :: Apache Software License" classifier so
setuptools no longer emits a deprecation warning during deploy.

Closes #55.

v1.3.0

2383 of 3386 relevant lines covered (70.38%)

0.7 hits per line

Coverage Regressions

Lines Coverage ∆ File
61
90.91
0.02% spanning.py
25
56.79
5.07% evidence.py
14
62.9
0.54% cli_spanning.py
11
89.74
2.79% cancer_expression.py
Jobs
ID Job ID Ran Files Coverage
1 25673438197.1 11 May 2026 01:34PM UTC 35
70.38
GitHub Action Run
Source Files on build 25673438197
  • Tree
  • List 35
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25673438197
  • f44ff547 on github
  • Prev Build on main (#25532665882)
  • Next Build on main (#25684806806)
  • Delete
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