You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When processing a list of BAM files, if the first file in the sequence has an index, subsequent BAM files without indexes are incorrectly skipped. This behavior causes incomplete processing of the bam files which eventually files in generating sashimi plots.
Steps to Reproduce
Prepare a set of BAM files where:
The first file has an associated index.
Some subsequent files are missing indexes.
Process the BAM files with the current implementation.
Expected Behavior
BAM files with indexes should be processed.
BAM files without indexes should trigger a handling mechanism without skipping them.
Actual Behavior
If the first file is indexed, all subsequent BAM files without indexes are skipped, leading to incomplete processing.
Suggested Fix
Update the logic to independently verify the presence of an index for each BAM file, ensuring that missing indexes are handled appropriately rather than causing downstream files to be skipped. Possibly removing return statement should help.
Incorrect Index Handling for Multiple BAM Files
Issue
When processing a list of BAM files, if the first file in the sequence has an index, subsequent BAM files without indexes are incorrectly skipped. This behavior causes incomplete processing of the bam files which eventually files in generating sashimi plots.
Steps to Reproduce
Expected Behavior
Actual Behavior
Suggested Fix
Update the logic to independently verify the presence of an index for each BAM file, ensuring that missing indexes are handled appropriately rather than causing downstream files to be skipped. Possibly removing return statement should help.
rmats2sashimiplot/src/rmats2sashimiplot/rmats2sashimiplot.py
Lines 22 to 32 in 280c2ed
The text was updated successfully, but these errors were encountered: