calculate fastq statistics
rust clap = 4.3.0 (module for rust)
This code will take in a fastq file and output a csv list of quality score and their counts. This allows users to easily calculate q30 statistics (or really, q anything). The maximum quality score that will be calculated is 50. This code was written in rust so as to more rapidly process the fastq file when compared to python scripts and also to practice rust coding.
In the future, this code might do more including:
- compressed fastq file handling
- plotting the statistics
- calculating GC content of reads
- calculate number of kmers
read_distro_calculator -f uncompressed_file.fq -o output_file.csv
If you're new to rust and want to know how to build this, simply install rust, download these files and run
cargo build
in the directory containing these files.