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

broadinstitute / viral-core
68%
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: ct-swiftseq-demux-integration
CHANGE BRANCH
x
Reset
  • ct-swiftseq-demux-integration
  • 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-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

07 Nov 2025 10:02PM UTC coverage: 68.291% (+2.5%) from 65.78%
19182396509

Pull #119

github

dpark01
Fix pool ID mismatch bug in splitcode demux

Fixes Terra workflow failures where splitcode summary JSON files could not be
found due to mismatched pool identifiers.

Root cause: create_splitcode_lookup_table() was re-reading the sample sheet
from disk and independently reconstructing pool IDs (muxed_run), which could
differ from the pool IDs computed by SampleSheet.inner_demux_mapper(). This
caused FileNotFoundError when searching for splitcode summary JSON files.

Example:
- Expected: AGCGTGTT-CTTCGCAA.l1_summary.json
- Actual:   AGCGTGTT-CTTCGCAA.l1.AAGCG75M5.1_summary.json

Changes:
1. Modified create_splitcode_lookup_table() to accept either a file path
   (legacy behavior) or DataFrame (new behavior)
2. Updated splitcode_demux() to pass inner_demux_barcode_map_df DataFrame
   directly instead of re-reading the sample sheet
3. Added library_id_per_sample to inner_demux_mapper() output columns

This ensures a single source of truth for pool IDs throughout the workflow,
eliminating the pool ID mismatch issue. All 91 unit tests pass.

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

Co-Authored-By: Claude <noreply@anthropic.com>
Pull Request #119: Add demultiplexing of 3-barcode sheets with splitcode

1059 of 1372 new or added lines in 8 files covered. (77.19%)

8 existing lines in 1 file now uncovered.

3868 of 5664 relevant lines covered (68.29%)

0.68 hits per line

Relevant lines Covered
Build:
Build:
5664 RELEVANT LINES 3868 COVERED LINES
0.68 HITS PER LINE
Source Files on ct-swiftseq-demux-integration
  • 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
19182396509 ct-swiftseq-demux-integration Fix pool ID mismatch bug in splitcode demux Fixes Terra workflow failures where splitcode summary JSON files could not be found due to mismatched pool identifiers. Root cause: create_splitcode_lookup_table() was re-reading the sample sheet from ... Pull #119 07 Nov 2025 10:13PM UTC dpark01 github
68.29
19182397451 ct-swiftseq-demux-integration Merge 4c92054f8 into d3ad25d5f Pull #119 07 Nov 2025 10:12PM UTC web-flow github
68.0
19181447632 ct-swiftseq-demux-integration Fix splitcode 0.31.4 compatibility: use Unix line endings in config/keep files Splitcode 0.31.4 no longer strips carriage returns from IDs in config/keep files, causing output files to be created with \r in filenames (e.g., Sample1\r_R1.fastq ins... Pull #119 07 Nov 2025 09:27PM UTC dpark01 github
68.03
19177273718 ct-swiftseq-demux-integration Fix three-barcode demux bug: Use full pool ID for splitcode JSON lookup Fixes FileNotFoundError when looking up splitcode summary JSON files in workflows with append_run_id (e.g., flowcell IDs). Root cause: Code was stripping run suffix from poo... Pull #119 07 Nov 2025 06:26PM UTC dpark01 github
62.85
19176241106 ct-swiftseq-demux-integration Consolidate splitcode tests into test_illumina.py - Move all splitcode test classes from test_illumina_splitcode.py to test_illumina.py - Add missing imports (shutil, json, tools.picard) to test_illumina.py - Delete test_illumina_splitcode.py to ... Pull #119 07 Nov 2025 05:45PM UTC dpark01 github
62.59
19176241878 ct-swiftseq-demux-integration Merge df8d80620 into d3ad25d5f Pull #119 07 Nov 2025 05:43PM UTC web-flow github
62.61
19175507121 ct-swiftseq-demux-integration Add robust error handling for splitcode summary JSON loading When splitcode summary JSON files are missing or malformed, we now provide comprehensive debugging information to help diagnose the issue faster. Changes to illumina.py (create_splitco... Pull #119 07 Nov 2025 05:16PM UTC dpark01 github
61.07
19175508368 ct-swiftseq-demux-integration Merge 6465a193a into d3ad25d5f Pull #119 07 Nov 2025 05:16PM UTC web-flow github
61.07
19175360543 ct-swiftseq-demux-integration Extract splitcode config/keep file generation into testable function - Created generate_splitcode_config_and_keep_files() function to handle config and keep file generation for a single pool - This separates pure text file transformation logic ... push 07 Nov 2025 05:10PM UTC dpark01 github
60.61
19175361248 ct-swiftseq-demux-integration Merge 26cb5b64e into d3ad25d5f Pull #119 07 Nov 2025 05:10PM UTC web-flow github
60.92
See All Builds (281)
  • 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