Commit 4e31e0e
fix(stats): route no-seeds-no-clusters reads to UnmappedReason::Other
The UnmappedReason enum had all four STAR-compatible variants
(Other, TooShort, TooManyMismatches, TooManyLoci), but reads that
failed before any transcript was generated were being recorded as
TooShort. Log.final.out's "Reads unmapped: other" therefore always
read 0 even when STAR would have classified the read in that bucket,
inflating "too short" by the same count.
Fix the routing at the no-seeds / no-clusters call site so reads
without alignments are recorded as Other. Totals are unchanged;
only the bucketing changes.
Fixes #48
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 70be24d commit 4e31e0e
2 files changed
Lines changed: 53 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
| 292 | + | |
292 | 293 | | |
293 | 294 | | |
294 | 295 | | |
| |||
338 | 339 | | |
339 | 340 | | |
340 | 341 | | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
341 | 345 | | |
342 | 346 | | |
343 | 347 | | |
| |||
650 | 654 | | |
651 | 655 | | |
652 | 656 | | |
653 | | - | |
654 | | - | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
655 | 662 | | |
656 | 663 | | |
657 | 664 | | |
| |||
814 | 821 | | |
815 | 822 | | |
816 | 823 | | |
| 824 | + | |
817 | 825 | | |
818 | 826 | | |
819 | 827 | | |
| |||
828 | 836 | | |
829 | 837 | | |
830 | 838 | | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
831 | 843 | | |
832 | 844 | | |
833 | 845 | | |
| |||
1233 | 1245 | | |
1234 | 1246 | | |
1235 | 1247 | | |
1236 | | - | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
1237 | 1256 | | |
1238 | 1257 | | |
1239 | 1258 | | |
| |||
1652 | 1671 | | |
1653 | 1672 | | |
1654 | 1673 | | |
1655 | | - | |
| 1674 | + | |
1656 | 1675 | | |
1657 | 1676 | | |
1658 | 1677 | | |
| |||
2065 | 2084 | | |
2066 | 2085 | | |
2067 | 2086 | | |
2068 | | - | |
| 2087 | + | |
2069 | 2088 | | |
2070 | 2089 | | |
2071 | 2090 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
827 | 827 | | |
828 | 828 | | |
829 | 829 | | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
830 | 859 | | |
831 | 860 | | |
832 | 861 | | |
| |||
0 commit comments