nf-core/bamutil/trimbam @ 0.0.0-0c7146d
Summary
trims the end of reads in a SAM/BAM file, changing read ends to ‘N’ and quality to ‘!’, or by soft clipping
Get started
Add the following snippet to your workflow script to include this module.
include { BAMUTIL_TRIMBAM } from 'nf-core/bamutil/trimbam'
License
MIT License
Process
Name
|
BAMUTIL_TRIMBAM |
|---|
Input
1 channel
#1
tuple
meta
map
|
Groovy Map containing sample information e.g. [ id:'test', single_end:false ] |
|---|---|
bam
file
|
BAM file *.bam
|
trim_left
integer
|
Number of bases to trim off the right-hand side of a read. Reverse strands are reversed before trimming. |
trim_right
integer
|
Number of bases to trim off the right-hand side of a read. Reverse strands are reversed before trimming. |
Output
2 channels
#1
bam
tuple
meta
map
|
Groovy Map containing sample information e.g. [ id:'test', single_end:false ] |
|---|---|
*.bam
file
|
Trimmed but unsorted BAM file *.bam
|
#2
versions_bamutil
tuple
${task.process}
string
|
The name of the process |
|---|---|
bamutil
string
|
The name of the tool |
bam trimBam 2>&1 | head -1 | sed 's/^Version: //;s/;.*//'
eval
|
The expression to obtain the version of the tool |
| Tool | Description | Homepage |
|---|---|---|
| bamutil | Programs that perform operations on SAM/BAM files, all built into a single executable, bam. | https://genome.sph.umich.edu/wiki/BamUtil |
| Version | 0.0.0-0c7146d |
|---|---|
| Commit ID | 6c4ed3a220310b905a1fc9d04f05be2e0837142b |
| Release Date | 08 Apr 2026 18:45:10 (UTC) |
| Download URL | https://registry.nextflow.io/api/v1/modules/nf-core%2Fbamutil%2Ftrimbam/0.0.0-0c7146d/download |
| OCI Store URL | https://public.cr.seqera.io/v2/nextflow/plugin/modules/nf-core/bamutil/trimbam/blobs/sha256:000e0ee8e320a6029777aabbfa026132b6201426d750bbb8d637f10f03ad5bfa |
| Size | 2.4 KB |
| Checksum | sha256:000e0ee8e320a6029777aabbfa026132b6201426d750bbb8d637f10f03ad5bfa |
| Downloads | 4 |
| Version | Date | Status | Downloads | Size |
|---|---|---|---|---|
| 0.0.0-6c4ed3a | 23 Apr 2026 15:04:29 (UTC) | 3 | 2.4 KB | |
| 0.0.0-3fc6d40 | 22 Apr 2026 15:03:21 (UTC) | 1 | 2.5 KB | |
| 0.0.0-0c7146d | 08 Apr 2026 18:45:10 (UTC) | 4 | 2.4 KB |