×

nf-core/samtools/ampliconclip @ 0.0.0-6c4ed3a

Clips read alignments where they match BED file defined regions

Latest version: 0.0.0-6c4ed3a
Total downloads: 8
Source: nf-core/modules
Authors: @bjohnnyd
Maintainers: @bjohnnyd @matthdsm

Summary

Clips read alignments where they match BED file defined regions

Get started

Add the following snippet to your workflow script to include this module.

include { SAMTOOLS_AMPLICONCLIP } from 'nf-core/samtools/ampliconclip'

License

MIT License

Process
Name SAMTOOLS_AMPLICONCLIP
Input 4 channels
#1 tuple
meta map

Groovy Map containing sample information e.g. [ id:'test', single_end:false ]

bam file

BAM/CRAM/SAM file

*.{bam,cram,sam}
bed file

BED file of regions to be removed (e.g. amplicon primers)

*.{bed}
save_cliprejects boolean

Save filtered reads to a file

save_clipstats boolean

Save clipping stats to a file

Output 4 channels
#1 bam tuple
meta map

Groovy Map containing sample information e.g. [ id:'test', single_end:false ]

*.clipallowed.bam file

Clipped reads BAM file

*.{bam}
#2 stats tuple
meta map

Groovy Map containing sample information e.g. [ id:'test', single_end:false ]

*.clipstats.txt file

Clipping statistics text file

*.{clipstats.txt}
#3 rejects_bam tuple
meta map

Groovy Map containing sample information e.g. [ id:'test', single_end:false ]

*.cliprejects.bam file

Filtered reads BAM file

*.{cliprejects.bam}
#4 versions_samtools tuple
${task.process} string

The name of the process

samtools string

The name of the tool

samtools version | sed '1!d;s/.* //' eval

The expression to obtain the version of the tool

Tool Description Homepage
samtools SAMtools is a set of utilities for interacting with and post-processing short DNA sequence read alignments in the SAM, BAM and CRAM formats, written by Heng Li. These files are generated as output by short read aligners like BWA. http://www.htslib.org/
Version 0.0.0-6c4ed3a
Commit ID 6c4ed3a220310b905a1fc9d04f05be2e0837142b
Release Date 23 Apr 2026 15:42:01 (UTC)
Download URL https://registry.nextflow.io/api/v1/modules/nf-core%2Fsamtools%2Fampliconclip/0.0.0-6c4ed3a/download
OCI Store URL https://public.cr.seqera.io/v2/nextflow/plugin/modules/nf-core/samtools/ampliconclip/blobs/sha256:afecc967f80689b52036e97400c6b67b979b13346fc85ffd2aa830c418698bea
Size 3.0 KB
Checksum sha256:afecc967f80689b52036e97400c6b67b979b13346fc85ffd2aa830c418698bea
Downloads 4
Version Date Status Downloads Size
0.0.0-6c4ed3a 23 Apr 2026 15:42:01 (UTC) 4 3.0 KB
0.0.0-0c7146d 08 Apr 2026 19:33:15 (UTC) 4 2.9 KB