Skip to content

Fixing the bug: target_bed was missing in liftover - #320

Merged
kubranarci merged 7 commits into
devfrom
312-lifting-over-regions-and-targets-bed-is-missing
Aug 19, 2026
Merged

Fixing the bug: target_bed was missing in liftover#320
kubranarci merged 7 commits into
devfrom
312-lifting-over-regions-and-targets-bed-is-missing

Conversation

@kubranarci

Copy link
Copy Markdown
Contributor

PR checklist

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added a new tool - have you followed the pipeline conventions in the contribution docs
  • If necessary, also make a PR on the nf-core/variantbenchmarking branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core pipelines lint).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
  • Usage Documentation in docs/usage.md is updated.
  • Output Documentation in docs/output.md is updated.
  • CHANGELOG.md is updated.
  • README.md is updated (including new tool citations and authors/contributors).

@github-actions

Copy link
Copy Markdown

Warning

Newer version of the nf-core template is available.

Your pipeline is using an old version of the nf-core template: 4.0.3.
Please update your pipeline to the latest version.

For more documentation on how to update your pipeline, please see the Synchronisation documentation.

@kubranarci

Copy link
Copy Markdown
Contributor Author

@nf-core-bot fix linting

@github-actions

github-actions Bot commented Aug 17, 2026

Copy link
Copy Markdown

nf-core pipelines lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 793495b

+| ✅ 302 tests passed       |+
#| ❔   3 tests were ignored |#
!| ❗   2 tests had warnings |!
Details

❗ Test warnings:

  • schema_lint - Schema 'description' should be 'Variant Benchmarking pipeline for germline and somatic variant callers '
    Found: 'Variant Benchmarking pipeline for germline and somatic variant callers'
  • schema_lint - Input mimetype is missing or empty

❔ Tests ignored:

  • files_unchanged - File ignored due to lint config: docs/images/nf-core-variantbenchmarking_logo_light.png
  • files_unchanged - File ignored due to lint config: docs/images/nf-core-variantbenchmarking_logo_dark.png
  • files_unchanged - File ignored due to lint config: .gitignore or .prettierignore

✅ Tests passed:

Run details

  • nf-core/tools version 4.0.3
  • Run at 2026-08-19 11:47:49

@kubranarci

Copy link
Copy Markdown
Contributor Author

@nf-core-bot fix linting

@github-actions

github-actions Bot commented Aug 18, 2026

Copy link
Copy Markdown

❌ nf-test failed with latest Nextflow version

Note

Tests with Nextflow's latest version failed but it will not cause a CI workflow failure.
Please check if the failure is expected with newer (edge-)releases of Nextflow or if it needs fixing.

  • docker | latest-everything | Shard 6/7

See the full run for details.

@kubranarci

Copy link
Copy Markdown
Contributor Author

@khersameesh24 can you. maybe review this?

// liftover high confidence bed file if given
// liftover bed files if given
ch_targets_bed.map{file -> tuple([id: "targets"], file)}
.mix(ch_bed.map{file -> tuple([id: "regions"], file)})

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @kubranarci , this is a minor issue but I think file is a keyword in nextflow, maybe you can name the variable something else. This mostly works but might have unexpected behavior and would be hard to debug later. I think it also highlights the file variable in different color because it is a reserved keyword

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, thanks you! I will change it.

@khersameesh24 khersameesh24 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kubranarci, looks good, just a minor comment

@kubranarci

Copy link
Copy Markdown
Contributor Author

@nf-core-bot fix linting

@kubranarci
kubranarci merged commit fbe7140 into dev Aug 19, 2026
20 checks passed
@kubranarci
kubranarci deleted the 312-lifting-over-regions-and-targets-bed-is-missing branch August 19, 2026 12:02
@kubranarci kubranarci linked an issue Aug 19, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

lifting over regions and targets bed is missing

3 participants