-
Notifications
You must be signed in to change notification settings - Fork 4
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
varfish_export_mehari_bam_qc
fails for WGS workflow due to undefined exon bed file
#511
Comments
@holtgrewe Specifically removing these lines should fix the export step for WGS data:
|
Nicolai-vKuegelgen
added a commit
that referenced
this issue
Jun 6, 2024
Nicolai-vKuegelgen
added a commit
that referenced
this issue
Jun 6, 2024
tedil
pushed a commit
that referenced
this issue
Aug 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The
varfish_export_mehari_bam_qc
step uses the mehari bam_qc wrapper script, which is simply a link to the varfish annotator bam_qc wrapper. This wrapper needs the samtools idx/bam/flagstats files as well as the alfreq_qc json files as input.The function that gathers the mehari bam qc input files (see below) contains a check to see if the library name can be mapped to a library kit before it adds the alfreq_qc file to the input. This mapping fails if no bed file for coverage analysis is provided in the ngs_mapping/target_coverage_report/path_target_interval_list_mapping config section. For WGS data this section is usually empty, since coverage does not need to be restricted to specific sections. However this results in the alfred_qc not being used as input in the
varfish_export_mehari_bam_qc
step and thus causing a crash.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Preferably the mehari bam_qc input file function needs to be adapted to always include the alfred_qc file independently of kit matches.
Alternatively, an way to define a bed file for WGS data (that does not negatively impact coverage calculation) needs to implemented.
Additional context
Mehari bam qc input file function:
The text was updated successfully, but these errors were encountered: