1
0
mirror of https://github.com/pcvolkmer/fastq-tools.git synced 2025-09-13 05:02:53 +00:00
2025-08-11 15:38:36 +02:00
2025-08-11 20:15:26 +02:00
2025-03-02 14:04:17 +01:00
2025-03-02 14:04:17 +01:00

FASTQ tools

Application to show information about and scramble FASTQ files to provide non-sensitive data for development purposes

Usage

This application provides the following subcommands

Usage: fastq-tools [OPTIONS] <COMMAND>

Commands:
  info      Show information about input
  scramble  Scramble input data
  help      Print this message or the help of the given subcommand(s)

Options:
  -d, --decompress  decompress input as gzip compressed data
  -h, --help        Print help
  -V, --version     Print version

Info

To show information about compressed FASTQ files use:

cat file_fastq.gz | gzip -d | fastq-tools info

To use build-in decompression of input data, use the --decompress/-d option:

cat file_fastq.gz | fastq-tools --decompress info

This will result in output like

Info subcommand

Scramble

To scramble compressed FASTQ files use:

cat file_fastq.gz | gzip -d | fastq-tools scramble | gzip > scrambled_fastq.gz

This will scramble headers and sequences and write the output into scrambled_fastq.gz.

To use build-in decompression of input data, use the --decompress/-d option:

cat file_fastq.gz | fastq-tools -d scramble | gzip > scrambled_fastq.gz
Description
Application to show information about and scramble FASTQ files to provide non-sensitive data for development purposes
Readme GPL-3.0 116 KiB
Languages
Rust 95.2%
Makefile 4.8%