Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bcftbx/IlluminaData: fix bug in IlluminaData class for mixed lane/no lane Fastqs #208

Merged
merged 1 commit into from Dec 8, 2022

Conversation

pjbriggs
Copy link
Member

@pjbriggs pjbriggs commented Dec 8, 2022

Fixes a bug in the IlluminaData class (in bcftbx/IlluminaData.py) for bcl2fastq2-style outputs, when "mixed" Fastq names are found where some have lane numbers and others don't.

This situation can occur if the bcl2fastq-style output directory has actually been assembled from multiple runs of Fastq generation software where some projects have had e.g. --no-lane-splitting specified and others haven't.

In these cases the bug manifested itself as an error trying to sort the collected lane numbers (which had been acquired from the Fastq file names) (as the non-lane-split Fastqs return the lane as None). The fix is to remove the None lane designation from the list whenever such a mixture is encountered.

@pjbriggs pjbriggs force-pushed the IlluminData-handle-mixed-lane-no-lane-fqs branch from ae4483f to f766f33 Compare December 8, 2022 15:19
@pjbriggs pjbriggs merged commit 6f5a6c4 into devel Dec 8, 2022
@pjbriggs pjbriggs deleted the IlluminData-handle-mixed-lane-no-lane-fqs branch December 8, 2022 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant