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

broadinstitute / viral-core
59%
master: 66%

Build:
Build:
LAST BUILD BRANCH: ct-swiftseq-demux-integration
DEFAULT BRANCH: master
Repo Added 10 Sep 2019 08:19PM UTC
Files 24
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

LAST BUILD ON BRANCH ct-swiftseq-demux-integration
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • ct-add-fgbio
  • ct-add-ncbi-datasets
  • ct-add-read-filtering-cli-cmd
  • ct-align_and_fix_without_supplementary_alignments
  • ct-barcode-helper-ntc-counting
  • ct-barcode-i5-single-index-bugfix
  • ct-bugfix-idxstats-fns
  • ct-bugfix-minimap2_idxstats
  • ct-bump-baseimage
  • ct-bump-baseimage-0.2.3
  • ct-bump-pysam
  • ct-bump-pytest
  • ct-bump-python-version
  • ct-bump-viral-baseimage-0.2.4
  • ct-gh-actions-jvm-heap-decrease
  • ct-ghactions-update-ubuntu
  • ct-github-actions
  • ct-help-text-correction
  • ct-option-to-include-dup-reads-in-filtering
  • ct-set-default-threads
  • ct-swiftseq-demux-integration
  • ct-update-baseimage
  • ct-update-docker-base
  • ct-update-docker-mem-calc
  • ct-update-testing
  • ct-version-read-fix
  • docs
  • dp-dev
  • dp-docs
  • dp-fasta-handling
  • ll-add_swiftseq_demux
  • master
  • v2.2.0
  • v2.2.1
  • v2.2.3
  • v2.3.0
  • v2.3.1
  • v2.3.2
  • v2.3.3
  • v2.3.4
  • v2.3.5
  • v2.3.6
  • v2.4.0
  • v2.4.1
  • v2.4.2
  • v2.4.3

10 Oct 2025 07:05PM UTC coverage: 58.543% (-7.2%) from 65.78%
18415959536

Pull #119

github

dpark01
Make plotting and metrics code robust to zero-count data

Fix three functions to handle cases where barcodes have zero reads:

1. plot_read_counts(): Check for positive values before setting log
   scale to avoid matplotlib warnings when all data is zero

2. plot_sorted_curve(): Handle division by zero when calculating
   fractions for pools with 0 total reads

3. write_barcode_metrics_for_pools(): Use ternary expressions to
   safely handle division by zero when calculating percentages

All functions now produce valid outputs and log warnings when
encountering zero counts, allowing the 3-barcode demultiplexing
workflow to complete successfully even when some barcodes/pools
have no matching reads.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Pull Request #119: WIP swiftseq demux integration

431 of 1237 new or added lines in 8 files covered. (34.84%)

8 existing lines in 1 file now uncovered.

3238 of 5531 relevant lines covered (58.54%)

0.59 hits per line

Relevant lines Covered
Build:
Build:
5531 RELEVANT LINES 3238 COVERED LINES
0.59 HITS PER LINE
Source Files on master
  • Tree
  • List 24
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
18415959536 ct-swiftseq-demux-integration Make plotting and metrics code robust to zero-count data Fix three functions to handle cases where barcodes have zero reads: 1. plot_read_counts(): Check for positive values before setting log scale to avoid matplotlib warnings when all data ... Pull #119 10 Oct 2025 07:16PM UTC dpark01 github
58.54
18414971484 ct-swiftseq-demux-integration Fix splitcode demux crash when pools have 0 reads Handle the case where splitcode processes 0 reads for a pool, which results in an empty tag_qc array in the summary JSON. Previously this would crash with KeyError: 'tag' when trying to create a D... Pull #119 10 Oct 2025 06:32PM UTC dpark01 github
58.2
18312460816 ct-swiftseq-demux-integration Merge 434dbf232 into d3ad25d5f Pull #119 07 Oct 2025 12:32PM UTC web-flow github
58.7
18294405114 master Merge pull request #121 from broadinstitute/dp-dev Add CLAUDE.md and update DEVELOPMENT_NOTES.md push 06 Oct 2025 09:16PM UTC web-flow github
65.78
18289302899 dp-dev Add CLAUDE.md for AI coding assistant guidance Add comprehensive documentation for Claude Code (and other AI assistants) to efficiently work in this repository, including: - Docker-centric development workflow - Testing commands and pytest config... Pull #121 06 Oct 2025 05:43PM UTC dpark01 github
66.04
17161284959 v2.4.3 Merge pull request #120 from broadinstitute/ct-update-docker-base Update docker baseimage viral-baseimage to 0.3.0 push 22 Aug 2025 05:11PM UTC web-flow github
65.78
17161284885 v2.4.3 Merge pull request #120 from broadinstitute/ct-update-docker-base Update docker baseimage viral-baseimage to 0.3.0 push 22 Aug 2025 05:11PM UTC web-flow github
66.02
17160770756 ct-update-docker-base python 3.10->3.12 Pull #120 22 Aug 2025 04:46PM UTC tomkinsc github
66.08
17158567492 ct-swiftseq-demux-integration prime matplotlib font cache during docker build Pull #119 22 Aug 2025 03:05PM UTC tomkinsc github
58.7
17158568174 ct-swiftseq-demux-integration Merge ace241dd8 into 3d0418fae Pull #119 22 Aug 2025 03:05PM UTC web-flow github
58.69
See All Builds (264)
  • Repo on GitHub
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

© 2025 Coveralls, Inc