ass="listing"><span class="Keyword">import</span> <span class="Identifier">readfx</span>

<span class="Comment"># Read a FASTQ file</span>
<span class="Keyword">for</span> <span class="Identifier">record</span> <span class="Keyword">in</span> <span class="Identifier">readFQ</span><span class="Punctuation">(</span><span class="StringLit">&quot;sample.fastq.gz&quot;</span><span class="Punctuation">)</span><span class="Punctuation">:</span>
  <span class="Identifier">echo</span> <span class="StringLit">&quot;S