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

Library merge filename collision for a mixture of UDG treatments with several libraries per treatment #851

Closed
4 of 5 tasks
alexandregilardet opened this issue Mar 16, 2022 · 1 comment
Assignees
Labels
bug Something isn't working next-patch

Comments

@alexandregilardet
Copy link
Contributor

Check Documentation

I have checked the following places for the error:

Description of the bug

When processing a sample constituted of a mixture of different UDG treatments with several libraries per different UDG treatment, there is a file name collision at the additonal_library_merge step. It works fine if there's only one library per UDG treatment or only 1 treatment type has several libraries.

Steps to reproduce

Steps to reproduce the behaviour:

  1. Command line: nextflow run nf-core/eager -r 2.3.3 -profile production,crick -params-file nf-post_externalSE.json -c /camp/lab/skoglundp/working/alexandre/bin/custom.config
  2. See error: Error executing process > 'additional_library_merge (KGH6)'
    Caused by:
    Process additional_library_merge input file name collision -- There are multiple input files for each of the following file names: KGH6_libmerged_rg_rmdup.bam.bai, KGH6_libmerged_rg_rmdup.bam

(files were provided on Slack)

Expected behaviour

The libraries-merged BAMs should have different names eg. containing the UDG treatment it refers to.

Log files

Have you provided the following extra information/files:

  • The command used to run the pipeline
  • The .nextflow.log file
  • The exact error

System

  • Hardware: HPC
  • Executor: slurm

Nextflow Installation

  • Version: 20.07.1

Container engine

  • Engine: Singularity
  • version: 3.4.2
  • Image tag: 2.3.3
@alexandregilardet alexandregilardet added the bug Something isn't working label Mar 16, 2022
@jfy133
Copy link
Member

jfy133 commented Mar 17, 2022

Solution is to insert UDG treatment at the first library merging step (as additional library merge happens after UDG-specific BAM trimming).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working next-patch
Projects
None yet
Development

No branches or pull requests

2 participants