×

nf-core/hifitrimmer/filterbam @ 0.0.0-6c4ed3a

Run hifi_trimmer filter_bam to filter and trim adapter hits from PacBio HiFi reads (BAM/FASTA/FASTQ) using BLAST against adapter sequences. Primary output is filtered FASTA/FASTQ.

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

Summary

Run hifi_trimmer filter_bam to filter and trim adapter hits from PacBio HiFi reads (BAM/FASTA/FASTQ) using BLAST against adapter sequences. Primary output is filtered FASTA/FASTQ.

Get started

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

include { HIFITRIMMER_FILTERBAM } from 'nf-core/hifitrimmer/filterbam'

License

MIT License

Process
Name HIFITRIMMER_FILTERBAM
Input 1 channel
#1 tuple
meta map

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

input file

Input BAM/FASTA/FASTQ file to filter

*.{bam,fa,fasta,fa.gz,fasta.gz,fastq,fq,fastq.gz,fq.gz}
bed file

Input gzipped bed file contains regions to filter/trim

*.bed.gz
Output 3 channels
#1 filtered tuple
meta map

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

*.fast{q,a}.gz file

Gzipped FASTA/FASTQ produced by hifi_trimmer

*.fast{q,a}.gz
#2 versions_samtools tuple
${task.process} string

Name of the process

samtools string

Name of the tool

samtools --version | head -1 | sed -e "s/samtools //" eval

The expression to obtain the version of the tool

#3 versions_hifitrimmer tuple
${task.process} string

The name of the process

hifi_trimmer string

The name of the tool

hifi_trimmer --version | cut -d' ' -f3 eval

The expression to obtain the version of the tool

Tool Description Homepage
hifi_trimmer hifi_trimmer: tools for processing HiFi read BLAST results and filtering/trimming read files to output processed FASTA/FASTQ and accompanying summary and hit (optional) files. https://github.com/sanger-tol/hifi-trimmer
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:23:54 (UTC)
Download URL https://registry.nextflow.io/api/v1/modules/nf-core%2Fhifitrimmer%2Ffilterbam/0.0.0-6c4ed3a/download
OCI Store URL https://public.cr.seqera.io/v2/nextflow/plugin/modules/nf-core/hifitrimmer/filterbam/blobs/sha256:e1c081484da4bc0eafa2dca385449b77ed23becab5caea03c8c9a68661e82404
Size 3.3 KB
Checksum sha256:e1c081484da4bc0eafa2dca385449b77ed23becab5caea03c8c9a68661e82404
Downloads 3
Version Date Status Downloads Size
0.0.0-6c4ed3a 23 Apr 2026 15:23:54 (UTC) 3 3.3 KB
0.0.0-0c7146d 08 Apr 2026 19:09:08 (UTC) 3 3.3 KB