Commit 304a39c
fix(params): don't require --sjdbGTFfile at alignReads when the index has it
Previously, `--quantMode TranscriptomeSAM` at alignReads rejected
invocations without --sjdbGTFfile, even when the user had already
persisted transcriptInfo.tab + friends in --genomeDir at genomeGenerate.
That's STAR-incompatible: STAR loads the files directly and only
re-parses the GTF if explicitly passed at mapping time.
Move the hard check to genomeGenerate mode only. GenomeIndex::load
already surfaces a clear error if neither source is available at
alignReads (via `index.transcriptome.is_none()` in src/lib.rs).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 2b1b342 commit 304a39c
1 file changed
Lines changed: 29 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
826 | 826 | | |
827 | 827 | | |
828 | 828 | | |
829 | | - | |
830 | | - | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
831 | 839 | | |
832 | | - | |
| 840 | + | |
833 | 841 | | |
834 | 842 | | |
835 | 843 | | |
| |||
1265 | 1273 | | |
1266 | 1274 | | |
1267 | 1275 | | |
1268 | | - | |
1269 | | - | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
1270 | 1285 | | |
1271 | 1286 | | |
1272 | 1287 | | |
1273 | 1288 | | |
1274 | 1289 | | |
| 1290 | + | |
| 1291 | + | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
| 1295 | + | |
| 1296 | + | |
| 1297 | + | |
| 1298 | + | |
1275 | 1299 | | |
1276 | 1300 | | |
1277 | 1301 | | |
| |||
0 commit comments