pub fn read_fastq(
fastq: String,
seq_clone: Arc<Mutex<VecDeque<String>>>,
exit_clone: Arc<AtomicBool>,
total_reads_arc: Arc<AtomicU32>,
) -> Result<()>Expand description
Reads in the FASTQ file line by line, then pushes every 2 out of 4 lines, which corresponds to the sequence line, into a Vec that is passed to other threads
FASTQ format: Line 1: Sequence ID Line 2: DNA sequence Line 3: + Line 4: Quality score