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

Improve error handling after error in PREPARE_GENOME:BLACKLIST_BEDTOOLS_INTERSECT #219

Open
H-Bell opened this issue Nov 29, 2023 · 0 comments
Assignees
Labels
enhancement Improvement for existing functionality WIP Work in progress

Comments

@H-Bell
Copy link

H-Bell commented Nov 29, 2023

Description of feature

I experienced a problem where the pipeline fails first with PRESEQ_LCEXTRAP and then with NFCORE_CUTANDRUN:CUTANDRUN:MACS2_CALLPEAK_NOIGG or PREPARE_PEAKCALLING:UCSC_BEDGRAPHTOBIGWIG depending on configuration.
This was caused by empty bam files after blacklist filtering which in turn was caused by an empty output from PREPARE_GENOME:BLACKLIST_BEDTOOLS_INTERSECT due to my genome fasta and blacklist bed having different chromosome labels (e.g. Chr1 vs. 1).
My issue was fixed by changing to a fasta that matches the format of the blacklist, but could a test be introduced to identify this issue more intuitively? This may be an initial test of the formatting of the input files, or a test that the output from bedtools intersect is not empty?

@H-Bell H-Bell added the enhancement Improvement for existing functionality label Nov 29, 2023
@chris-cheshire chris-cheshire added the WIP Work in progress label Dec 21, 2023
@chris-cheshire chris-cheshire self-assigned this Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement for existing functionality WIP Work in progress
Projects
None yet
Development

No branches or pull requests

2 participants