Commit 8edc275
fix: use proviral_length for proviruses in viral N50/total_bases
ViralOverallSummary was using the full host contig length for provirus
rows, inflating n50_viral and total_viral_bases. Now substitutes
proviral_length (geNomad CheckV, falling back to VirSorter2 CheckV)
when either tool flags a contig as a provirus.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 7681d28 commit 8edc275
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
332 | | - | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
333 | 344 | | |
334 | 345 | | |
335 | 346 | | |
| |||
0 commit comments