Skip to content

Commit 3f2b135

Browse files
authored
Merge pull request #158 from avantonder/dev
Dev
2 parents c3051a0 + 11c1e77 commit 3f2b135

147 files changed

Lines changed: 5447 additions & 2130 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/linting.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
pre-commit:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
14+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
1515

1616
- name: Set up Python 3.14
1717
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
@@ -28,7 +28,7 @@ jobs:
2828
runs-on: ubuntu-latest
2929
steps:
3030
- name: Check out pipeline code
31-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
31+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
3232

3333
- name: Install Nextflow
3434
uses: nf-core/setup-nextflow@v2
@@ -71,7 +71,7 @@ jobs:
7171

7272
- name: Upload linting log file artifact
7373
if: ${{ always() }}
74-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
74+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
7575
with:
7676
name: linting-logs
7777
path: |

.github/workflows/nf-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
- isMain: false
8282
profile: "singularity"
8383
NXF_VER:
84-
- "24.10.5"
84+
- "25.10.0"
8585
- "latest-everything"
8686
env:
8787
NXF_ANSI_LOG: false

.nf-core.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repository_type: pipeline
22

3-
nf_core_version: 3.4.1
3+
nf_core_version: 3.5.2
44

55
lint: {}
66

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ testing*
1212
bin/
1313
.nf-test/
1414
ro-crate-metadata.json
15+
modules/nf-core/
16+
subworkflows/nf-core/

assets/multiqc_config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ report_section_order:
3535
bcftools:
3636
order: 100
3737

38+
custom_logo: "nf-core-bactmap_logo_light.png"
39+
custom_logo_url: https://nf-co.re/bactmap
40+
custom_logo_title: "nf-core/bactmap"
41+
3842
# List of run modules
3943
run_modules:
4044
- fastqc
4 Bytes
Loading

conf/modules.config

Lines changed: 194 additions & 150 deletions
Large diffs are not rendered by default.
-40 Bytes
Loading
-123 Bytes
Loading

docs/output.md

Lines changed: 24 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ The pipeline is built using [Nextflow](https://www.nextflow.io/) and processes d
3131
- [SAMtools stats](#samtools-stats) - Statistics from mapping
3232
- [FreeBayes](#freebayes) - Variant calling for Illumina reads
3333
- [Clair3](#clair3) - Variant calling for Nanopore reads
34-
- [BCFtools filter](#bcftools-filter) - Filtering of variants
34+
- [BCFtools filter](#bcftools-filter) - Filtering of Illumina variants
35+
- [BCFtools norm](#bcftools-norm) - Normalisation of ONT variants
3536
- [BCFtools stats](#bcftools-stats) - Statistics from variant calling
3637
- [BCFtools consensus](#bcftools-consensus) - Convert filtered bcf to pseudogenome fasta
3738
- [seqtk](#seqtk) - Summarise mapping statistics
@@ -313,23 +314,25 @@ It is used with nf-core/bactmap to map short reads to the reference genome.
313314
</details>
314315

315316
:::info
316-
While there is a dedicated section in the MultiQC HTML for BWA-MEM2, these values are not displayed by default in the General Stats table. Rather, alignment statistics to host genome is reported via samtools stats module in MultiQC report.
317+
While there is a dedicated section in the MultiQC HTML for BWA-MEM2, these values are not displayed by default in the General Stats table. Rather, alignment statistics to host genome is reported via samtools stats module in MultiQC report. By default the bam files created are not saved since sorted bam files are produced in the next step
317318
:::
318319

319320
### minimap2
320321

321322
[minimap2](https://github.com/lh3/minimap2) is an alignment tool suited to mapping long reads to reference sequences.
322323

323-
It is used with nf-core/bactmap to map short reads to the reference genome.
324+
It is used with nf-core/bactmap to map long reads to the reference genome.
324325

325326
<details markdown="1">
326327
<summary>Output files</summary>
327328

328329
- `minimap2/`
329330
- `build/`
330331
- `*.mmi2`: minimap2 indices of reference genome.
331-
332-
</details>
332+
- `align/`
333+
- `<sample_id>.bam`: BAM file containing reads that aligned against the user-supplied reference genome as well as unmapped reads
334+
- `<sample_id>.bam.bai`: Index file for the BAM file
335+
</details>
333336

334337
:::info
335338
minimap2 is not yet supported as a module in MultiQC and therefore there is no dedicated section in the MultiQC HTML. Rather, alignment statistics to host genome is reported via samtools stats module in MultiQC report.
@@ -373,9 +376,7 @@ FreeBayes is a haplotype-based variant detector designed to find SNPs, indels, a
373376
<summary>Output files</summary>
374377

375378
- `freebayes/`
376-
- `variants/`
377-
- `<sample_id>.vcf.gz`: VCF file containing variants
378-
- `<sample_id>.vcf.gz.tbi`: Index file for the VCF file
379+
- `<sample_id>.vcf.gz`: VCF file containing variants
379380

380381
</details>
381382

@@ -387,10 +388,7 @@ Clair3 is a variant caller for long-read data. It is used with nf-core/bactmap t
387388
<summary>Output files</summary>
388389

389390
- `clair3/`
390-
- `variants/`
391-
- `<sample_id>.vcf.gz`: VCF file containing variants
392-
- `<sample_id>.vcf.gz.tbi`: Index file for the VCF file
393-
- `<sample_id>.vcf.gz.stats`: Statistics file for the VCF
391+
- `<sample_id>.vcf.gz`: VCF file containing variants
394392

395393
</details>
396394

@@ -401,8 +399,20 @@ The `BCFtools` software is used to call and filter variants found within the bam
401399
<details markdown="1">
402400
<summary>Output files</summary>
403401

404-
- `variants/filtered`
405-
- `<sample_id>.vcf.gz` filtered vcf files containing variants
402+
- `filtered_variants`
403+
- `<sample_id>.filtered.vcf.gz` filtered vcf files containing variants
404+
405+
</details>
406+
407+
### BCFtools norm
408+
409+
`BCFtools` norm is used to normalize the variant calls from ONT data.
410+
411+
<details markdown="1">
412+
<summary>Output files</summary>
413+
414+
- `filtered_variants`
415+
- `<sample_id>.filtered.vcf.gz` filtered vcf files containing variants
406416

407417
</details>
408418

0 commit comments

Comments
 (0)