Gist b503b3f905281f7da44c76ba5ed1d8d9
✓ Published0🌍 Public
NNpfn
Last edited Feb 8, 2019
Created on Feb 8, 2019
This example demonstrates a Bash script that trims raw FASTQ sequencing reads using the `fastq-mcf` tool from the ea-utils package. It shows how to process multiple paired-end files in a batch, reading a list of sample identifiers from `fastq/list_run` and applying a quality cutoff of Q20. The script iterates over each sample, takes the forward read file (`${i}_1.fastq.gz`), and generates a trimmed output file (`${i}_1_trim.fastq`) in the same directory. Adapter sequences are specified in `$TPDIR/misc/adap_illumina.fas`, and the output is written to the project’s fastq folder.
AI-generated description