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

Migrate controlfreec pytest to nf-test #1731

Merged
merged 12 commits into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
env:
NFT_DIFF: "pdiff"
NFT_DIFF_ARGS: "--line-numbers --width 120 --expand-tabs=2"
NFT_VER: "0.9.0"
NFT_VER: "0.9.2"
NFT_WORKDIR: "~"
NXF_ANSI_LOG: false
NXF_SINGULARITY_CACHEDIR: ${{ github.workspace }}/.singularity
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [1707](https://github.com/nf-core/sarek/pull/1707) - Un-hide parameters and clean up Json schema
- [1708](https://github.com/nf-core/sarek/pull/1708) - Migrate pipeline pytest alignment and annotation tests to nf-test
- [1711](https://github.com/nf-core/sarek/pull/1711) - Migrate pipeline pytest strelka tests to nf-test
- [1731](https://github.com/nf-core/sarek/pull/1731) - Migrate pipeline pytest controlfreec tests to nf-test

### Fixed

Expand Down
2 changes: 1 addition & 1 deletion modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@
},
"samtools/mpileup": {
"branch": "master",
"git_sha": "b13f07be4c508d6ff6312d354d09f2493243e208",
"git_sha": "13e7d1046922381df90cd8fe9bee8c3e57ae8457",
"installed_by": ["modules"]
},
"samtools/stats": {
Expand Down
2 changes: 1 addition & 1 deletion modules/local/create_intervals_bed/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ process CREATE_INTERVALS_BED {
// def prefix_basename = prefix.substring(0, prefix.lastIndexOf("."))

"""
touch ${prefix}.bed
touch ${prefix}.stub.bed

cat <<-END_VERSIONS > versions.yml
"${task.process}":
Expand Down
21 changes: 18 additions & 3 deletions modules/nf-core/samtools/mpileup/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion tests/.nftignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.DS_Store
annotation/**/*.vcf.{gz,gz.tbi}
csv/*.csv
multiqc/multiqc_data/gatk-base-recalibrator-reported-empirical-plot.txt
Expand All @@ -24,4 +25,4 @@ reports/snpeff/*/*_snpEff.csv
reports/snpeff/*/snpEff_summary.html
reports/vcftools/**/*.TsTv.qual
variant_calling/**/*.vcf.{gz,gz.tbi}
.DS_Store
variant_calling/controlfreec/*/config.txt
21 changes: 0 additions & 21 deletions tests/config/pytesttags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,27 +96,6 @@ cnvkit:
- tests/csv/3.0/recalibrated_tumoronly.csv
- tests/test_cnvkit.yml

## controlfreec
controlfreec:
- conf/modules/controlfreec.config
- conf/modules/mpileup.config
- modules/nf-core/cat/cat/**
- modules/nf-core/controlfreec/assesssignificance/**
- modules/nf-core/controlfreec/freec/**
- modules/nf-core/controlfreec/freec2bed/**
- modules/nf-core/controlfreec/freec2circos/**
- modules/nf-core/controlfreec/makegraph2/**
- modules/nf-core/mosdepth/**
- modules/nf-core/samtools/mpileup/**
- subworkflows/local/bam_variant_calling_mpileup/**
- subworkflows/local/bam_variant_calling_somatic_all/**
- subworkflows/local/bam_variant_calling_somatic_controlfreec/**
- subworkflows/local/bam_variant_calling_tumor_only_all/**
- subworkflows/local/bam_variant_calling_tumor_only_controlfreec/**
- tests/csv/3.0/recalibrated_somatic.csv
- tests/csv/3.0/recalibrated_tumoronly.csv
- tests/test_controlfreec.yml

## deepvariant
deepvariant:
- conf/modules/deepvariant.config
Expand Down
173 changes: 0 additions & 173 deletions tests/test_controlfreec.yml

This file was deleted.

Loading
Loading