Bug Report: Regression in v3.7 on soft-clipped reads
What I Ran:
I executed REDItools3 analyze on a BAM file containing paired-end RNA-seq reads where overlapping pairs were soft-clipped using bamutil clipOverlap (resulting in reads with large leading soft-clips, e.g., 80S20M).
python -m reditools analyze \
--bam clipped.bam \
--reference genome.fa \
--strand 2 \
--threads 16 \
--window 1000000 \
--min-read-depth 20 \
--variants all \
-o out.tsv
What I Got:
The command crashed during the run, terminating the joblib worker pool with the following error output:
[ERROR] (<class 'IndexError'>) list index out of range
[ERROR] (<class 'IndexError'>) list index out of range
[ERROR] Killing job
This error occurs consistently across samples with short insert sizes (which contain a high fraction of heavily soft-clipped reads). Running the same command on the original, unclipped STAR BAM files completes successfully.
Comparison with v3.6:
This is a regression. When running the exact same command on the exact same clipped BAM files using REDItools3 v3.6, the execution completes successfully without any errors.
Bug Report: Regression in v3.7 on soft-clipped reads
What I Ran:
I executed
REDItools3 analyzeon a BAM file containing paired-end RNA-seq reads where overlapping pairs were soft-clipped usingbamutil clipOverlap(resulting in reads with large leading soft-clips, e.g.,80S20M).python -m reditools analyze \ --bam clipped.bam \ --reference genome.fa \ --strand 2 \ --threads 16 \ --window 1000000 \ --min-read-depth 20 \ --variants all \ -o out.tsvWhat I Got:
The command crashed during the run, terminating the
joblibworker pool with the following error output:This error occurs consistently across samples with short insert sizes (which contain a high fraction of heavily soft-clipped reads). Running the same command on the original, unclipped STAR BAM files completes successfully.
Comparison with v3.6:
This is a regression. When running the exact same command on the exact same clipped BAM files using REDItools3 v3.6, the execution completes successfully without any errors.