×

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

Computes the depth at each position or region.

Latest version: 0.0.0-6c4ed3a
Total downloads: 9
Source: nf-core/modules
Authors: @louperelo @nevinwu

Summary

Computes the depth at each position or region.

Get started

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

include { SAMTOOLS_DEPTH } from 'nf-core/samtools/depth'

License

MIT License

Process
Name SAMTOOLS_DEPTH
Input 2 channels
#1 tuple
meta1 map

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

bam file

sorted BAM/CRAM/SAM file

*.{bam,cram,sam}
index file

BAM/CRAM index file

*.{bai,crai}
#2 tuple
meta2 map

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

intervals file

list of positions or regions in specified bed file

*.{bed}
Output 2 channels
#1 tsv tuple
meta1 map

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

*.tsv file

The output of samtools depth has three columns - the name of the contig or chromosome, the position and the number of reads aligned at that position

*.{tsv}
#2 versions_samtools tuple
${task.process} string

The process the versions were collected from

samtools string

The tool name

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

The expression to obtain the version of the tool

Tool Description Homepage
samtools Tools for dealing with SAM, BAM and CRAM files; samtools depth – computes the read depth at each position or region http://www.htslib.org
Version 0.0.0-6c4ed3a
Commit ID 6c4ed3a220310b905a1fc9d04f05be2e0837142b
Release Date 23 Apr 2026 15:42:16 (UTC)
Download URL https://registry.nextflow.io/api/v1/modules/nf-core%2Fsamtools%2Fdepth/0.0.0-6c4ed3a/download
OCI Store URL https://public.cr.seqera.io/v2/nextflow/plugin/modules/nf-core/samtools/depth/blobs/sha256:e04216489d445f2ffe1a6afd90f0d24e0f4b269a1ae8e61faa85e3aa55bd10ec
Size 2.7 KB
Checksum sha256:e04216489d445f2ffe1a6afd90f0d24e0f4b269a1ae8e61faa85e3aa55bd10ec
Downloads 5
Version Date Status Downloads Size
0.0.0-6c4ed3a 23 Apr 2026 15:42:16 (UTC) 5 2.7 KB
0.0.0-0c7146d 08 Apr 2026 19:33:38 (UTC) 4 2.7 KB