fq-filter-reads

Crates.iofq-filter-reads
lib.rsfq-filter-reads
version0.1.0
sourcesrc
created_at2023-01-29 21:53:33.756282
updated_at2023-01-29 21:53:33.756282
descriptionThis is a simple program to filter a fastq file with a provided list of IDs.
homepage
repository
max_upload_size
id771238
size49,065
Douglas Wu (wckdouglas)

documentation

README

fq-filter-reads

CI

This is a simple program to filter a fastq file with a provided list of IDs.

Install

Installation from source:

git clone https://github.com/wckdouglas/fq-filter-reads.git
cd fq-filter-reads
cargo install --path .

Usage

$ fq-filter-reads -h
Retaining fastq records with the given ID

Usage: fq-filter-reads [OPTIONS] --in-fastq <IN_FASTQ> --in-id-list <IN_ID_LIST>

Options:
      --in-fastq <IN_FASTQ>      input fastq file path
      --in-id-list <IN_ID_LIST>  input id list file, one per line
      --inverse                  only keep reads with ids NOT in the given id list i.e. removing any records with id in the id list
  -h, --help                     Print help
  -V, --version                  Print version

Example

Some test examples can be found under test_script.sh

Commit count: 0

cargo fmt