BSD Ports

biology/filter-fastq 0.0.0.20210527nb2 NetBSD

Filter reads from a FASTQ file

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
biology
Package size
4.4 KiB, 7.7 KiB installed

Description

Filter reads from a FASTQ file using a list of identifiers.

Each entry in the input FASTQ file (or files) is checked against all entries in the identifier list. Matches are included by default, or excluded if the --invert flag is supplied. Paired-end files are kept consistent (in order).

This is almost certainly not the most efficient way to implement this filtering procedure. I tested a few different strategies and this one seemed the fastest. Current timing with 16 processes is about 10 minutes per 1M paired reads with gzip'd input and output, depending on the length of the identifier list to filter by.

usage: filter_fastq.py [-h] [-i INPUT] [-1 READ1] [-2 READ2] [-p NUM_THREADS] [-o OUTPUT] [-f FILTER_FILE] [-v] [--gzip]

Install

Binary package:

pkgin install filter-fastq

From pkgsrc:

cd /usr/pkgsrc/biology/filter-fastq && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.0.0.20210527nb2
NetBSD 10.1 aarch640.0.0.20210527nb2
SmartOS / illumos x86_640.0.0.20210527nb2
macOS 15 arm640.0.0.20210527nb2

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1

No port depends on this one.