Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
4c5973f
fix clairs indel calling
robert-a-forsyth Oct 30, 2025
d60b5ee
view
robert-a-forsyth Nov 18, 2025
b20166f
fix id
robert-a-forsyth Nov 18, 2025
233059a
remove view
robert-a-forsyth Nov 18, 2025
4350f57
Revert "fix id"
robert-a-forsyth Nov 18, 2025
d3623ac
revert
robert-a-forsyth Nov 18, 2025
424befd
patch
robert-a-forsyth Nov 18, 2025
c70e403
prettier
robert-a-forsyth Nov 18, 2025
dadd850
view
robert-a-forsyth Nov 19, 2025
e459367
grouptuple fix
robert-a-forsyth Nov 19, 2025
678dc48
remove nucleo arg
robert-a-forsyth Nov 19, 2025
eaf4cae
change meta.id to prefix in CLAIRS`
ljwharbers Nov 20, 2025
49d337e
indentation
ljwharbers Nov 20, 2025
484a091
remove view statement
ljwharbers Nov 20, 2025
200b95f
add view
robert-a-forsyth Nov 24, 2025
550ba65
fix read-in
robert-a-forsyth Nov 24, 2025
afbb03a
fix read-in
robert-a-forsyth Nov 24, 2025
ec83c21
fix read-in
robert-a-forsyth Nov 24, 2025
339449a
fix read-in
robert-a-forsyth Nov 24, 2025
6bf8ee8
merge + index clairS output
robert-a-forsyth Nov 24, 2025
2c95ed2
remove view
robert-a-forsyth Nov 24, 2025
da63f26
adjust concat params
robert-a-forsyth Nov 25, 2025
8af8469
add view
robert-a-forsyth Nov 25, 2025
9851c1f
more view
robert-a-forsyth Nov 25, 2025
160eb79
view spelling
robert-a-forsyth Nov 25, 2025
f746e65
fix channel logic
robert-a-forsyth Nov 26, 2025
5b38eee
lint
robert-a-forsyth Nov 26, 2025
dac7854
lint
robert-a-forsyth Nov 26, 2025
87bc148
prettier
robert-a-forsyth Nov 26, 2025
7cd7898
fix channel meta
robert-a-forsyth Nov 27, 2025
9e86276
view
robert-a-forsyth Nov 27, 2025
0d11cb9
fix multichannel
robert-a-forsyth Nov 27, 2025
4fcf630
edit view
robert-a-forsyth Nov 27, 2025
800064f
change channel
robert-a-forsyth Nov 27, 2025
be9e0ea
remove view
robert-a-forsyth Nov 27, 2025
67f4be6
lint and snapshot
robert-a-forsyth Nov 27, 2025
4b47c2f
fix lint and snap
robert-a-forsyth Nov 27, 2025
ca04e17
fix log
robert-a-forsyth Nov 27, 2025
8881a18
whitespace
ljwharbers Nov 27, 2025
2e2f4f3
formatting
ljwharbers Nov 27, 2025
d841fd1
formatting
ljwharbers Nov 27, 2025
29ec483
add def back in
ljwharbers Nov 27, 2025
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
16 changes: 8 additions & 8 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5

- name: Set up Python 3.13
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
- name: Set up Python 3.14
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
with:
python-version: "3.13"
python-version: "3.14"

- name: Install pre-commit
run: pip install pre-commit
Expand All @@ -28,14 +28,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out pipeline code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5

- name: Install Nextflow
uses: nf-core/setup-nextflow@v2

- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
with:
python-version: "3.13"
python-version: "3.14"
architecture: "x64"

- name: read .nf-core.yml
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:

- name: Upload linting log file artifact
if: ${{ always() }}
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
with:
name: linting-logs
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linting_comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
run: echo "pr_number=$(cat linting-logs/PR_number.txt)" >> $GITHUB_OUTPUT

- name: Post PR comment
uses: marocchino/sticky-pull-request-comment@52423e01640425a022ef5fd42c6fb5f633a02728 # v2
uses: marocchino/sticky-pull-request-comment@773744901bac0e8cbb5a0dc842800d45e9b2b405 # v2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
number: ${{ steps.pr_number.outputs.pr_number }}
Expand Down
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@ testing/
testing*
*.pyc
bin/
.nf-test/
ro-crate-metadata.json
modules/nf-core/
subworkflows/nf-core/
28 changes: 21 additions & 7 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -168,18 +168,20 @@ process {
].join(' ').trim()
}
publishDir = [
path: { "${params.outdir}/${meta.id}/methylation/${meta.type}/fibertoolsrs/predictm6a" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
enabled: false
]
}

withName: '.*:FIBERTOOLSRS_FIRE' {
ext.args = { (meta.platform == "ont") ? "--ont" : "" }
publishDir = [
path: { "${params.outdir}/${meta.id}/methylation/${meta.type}/fibertoolsrs/fire" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
enabled: false
]
}

withName: '.*:FIBERTOOLSRS_NUCLEOSOMES' {
publishDir = [
enabled: false
]
}

Expand Down Expand Up @@ -224,7 +226,18 @@ process {
//
// Small variant calling processes
//

withName: '.*:BCFTOOLS_CONCAT' {
ext.args = '--output-type z -a'
publishDir = [
enabled: false
]
}
withName: '.*:BCFTOOLS_SORT' {
ext.arge = '--output-type z'
publishDir = [
enabled: false
]
}
withName: '.*:CLAIRSTO' {
publishDir = [
path: { "${params.outdir}/${meta.id}/variants/clairsto" },
Expand All @@ -234,6 +247,7 @@ process {
}

withName: '.*:CLAIRS' {
ext.args = '--enable_indel_calling --haplotagged_tumor_bam_provided_so_skip_intermediate_phasing_and_haplotagging'
publishDir = [
path: { "${params.outdir}/${meta.id}/variants/clairs" },
mode: params.publish_dir_mode,
Expand Down
3,596 changes: 3,596 additions & 0 deletions lint_log.txt

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,22 @@
"installed_by": ["modules"],
"patch": "modules/nf-core/ascat/ascat.diff"
},
"bcftools/concat": {
"branch": "master",
"git_sha": "e753770db613ce014b3c4bc94f6cba443427b726",
"installed_by": ["modules", "vcf_gather_bcftools"]
},
"bcftools/merge": {
"branch": "master",
"git_sha": "f17049e03697726ace7499d2fe342f892594f6f3",
"installed_by": ["modules"]
},
"bcftools/sort": {
"branch": "master",
"git_sha": "e753770db613ce014b3c4bc94f6cba443427b726",
"installed_by": ["vcf_gather_bcftools"],
"patch": "modules/nf-core/bcftools/sort/bcftools-sort.diff"
},
"ensemblvep/download": {
"branch": "master",
"git_sha": "2fcc53751152a999bfc9c24f75f494b9e5bb338f",
Expand Down
17 changes: 11 additions & 6 deletions modules/local/clairs/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ process CLAIRS {
tuple val(meta3), path(index)

output:
tuple val(meta), path("*.vcf.gz"), emit: vcf
tuple val(meta), path("*.vcf.gz.tbi"), emit: tbi
path "versions.yml", emit: versions
tuple val(meta), path("*.vcf.gz"), emit: vcfs
tuple val(meta), path("*.vcf.gz.tbi"), emit: tbi
path "versions.yml", emit: versions

when:
task.ext.when == null || task.ext.when
Expand All @@ -31,9 +31,14 @@ process CLAIRS {
--threads $task.cpus \\
--platform $model \\
--output_dir . \\
--output_prefix $prefix \\
--output_prefix snvs \\
$args

if [[ -f "snv.vcf.gz" ]]; then
rm snv.vcf.gz
rm snv.vcf.gz.tbi
fi

cat <<-END_VERSIONS > versions.yml
"${task.process}":
clairs: \$(/opt/bin/run_clairs --version |& sed '1!d ; s/run_clairs //')
Expand All @@ -45,8 +50,8 @@ process CLAIRS {
def prefix = task.ext.prefix ?: "${meta.id}"

"""
echo "" | gzip > ${prefix}.vcf.gz
touch ${prefix}.vcf.gz.tbi
echo "" | gzip > snv.vcf.gz
touch snv.vcf.gz.tbi

cat <<-END_VERSIONS > versions.yml
"${task.process}":
Expand Down
4 changes: 2 additions & 2 deletions modules/local/metaextract/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ process METAEXTRACT {
tuple val(meta), path(bam)

output:
tuple val(meta), env(basecall_model),env(kinetics) , emit: meta_ext
path "versions.yml" , emit: versions
tuple val(meta), env(basecall_model), env(kinetics) , emit: meta_ext
path "versions.yml" , emit: versions

when:
task.ext.when == null || task.ext.when
Expand Down
10 changes: 10 additions & 0 deletions modules/nf-core/bcftools/concat/environment.yml

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

72 changes: 72 additions & 0 deletions modules/nf-core/bcftools/concat/main.nf

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

82 changes: 82 additions & 0 deletions modules/nf-core/bcftools/concat/meta.yml

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

Loading
Loading