<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>mbf-fastq-processor documentation</title><link>https://tyberiusprime.github.io/fastqrab/v0.8.1/docs/reference/report-steps/</link><description>Recent content on mbf-fastq-processor documentation</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://tyberiusprime.github.io/fastqrab/v0.8.1/docs/reference/report-steps/index.xml" rel="self" type="application/rss+xml"/><item><title/><link>https://tyberiusprime.github.io/fastqrab/v0.8.1/docs/reference/report-steps/report/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://tyberiusprime.github.io/fastqrab/v0.8.1/docs/reference/report-steps/report/</guid><description>&lt;h1 id="report">
 Report
 &lt;a class="anchor" href="#report">#&lt;/a>
&lt;/h1>
&lt;p>Capture data for the final report (see &lt;a href="https://tyberiusprime.github.io/fastqrab/v0.8.1/fastqrab/v0.8.1/docs/reference/output-section/">the output section&lt;/a>).&lt;/p>
&lt;p>You can add multiple reports, at any stage of your transformation chain
to get e.g. before/after filtering reports.&lt;/p>
&lt;p>&lt;a href="../../../../html/example_report.html">Example report&lt;/a>&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-toml" data-lang="toml">&lt;span style="display:flex;">&lt;span>[[&lt;span style="color:#a6e22e">step&lt;/span>]]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#a6e22e">action&lt;/span> = &lt;span style="color:#e6db74">&amp;#39;Report&amp;#39;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#a6e22e">name&lt;/span> = &lt;span style="color:#e6db74">&amp;#34;report&amp;#34;&lt;/span> &lt;span style="color:#75715e"># Key that the report will be listed under. Must be distinct&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#a6e22e">count&lt;/span> = &lt;span style="color:#66d9ef">true&lt;/span> &lt;span style="color:#75715e"># count reads at this position&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#a6e22e">base_statistics&lt;/span> = &lt;span style="color:#66d9ef">false&lt;/span> &lt;span style="color:#75715e"># include base distribution at each read position, q20, q30, total, gc bases&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#a6e22e">length_distribution&lt;/span> = &lt;span style="color:#66d9ef">false&lt;/span> &lt;span style="color:#75715e"># capture read length distribution&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#a6e22e">duplicate_count_per_read&lt;/span> = &lt;span style="color:#66d9ef">false&lt;/span> &lt;span style="color:#75715e"># count duplicates using Cukoo filter on each read1/read2/index1/index2&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#a6e22e">duplicate_count_per_fragment&lt;/span> = &lt;span style="color:#66d9ef">false&lt;/span> &lt;span style="color:#75715e"># count duplicates using Cukoo filter, on concatenated read1/read2/index1/index2&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#a6e22e">count_oligos&lt;/span> = [] &lt;span style="color:#75715e"># if set, count these oligos in the segment. Full match only, no iupac&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#a6e22e">count_oligos_segment&lt;/span> = &lt;span style="color:#e6db74">&amp;#34;all&amp;#34;&lt;/span> &lt;span style="color:#75715e"># segment to count oligos in, can be &amp;#39;all&amp;#39;, &amp;#39;read1&amp;#39;, ...&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Statistics available (for each &amp;lsquo;segment&amp;rsquo;. If demultiplexd, per barcode combination):&lt;/p></description></item><item><title/><link>https://tyberiusprime.github.io/fastqrab/v0.8.1/docs/reference/report-steps/quantifytag/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://tyberiusprime.github.io/fastqrab/v0.8.1/docs/reference/report-steps/quantifytag/</guid><description>&lt;h1 id="quantifytag">
 QuantifyTag
 &lt;a class="anchor" href="#quantifytag">#&lt;/a>
&lt;/h1>
&lt;p>Count the occurrences of each tag-sequence.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-toml" data-lang="toml">&lt;span style="display:flex;">&lt;span>[[&lt;span style="color:#a6e22e">step&lt;/span>]]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#a6e22e">action&lt;/span> = &lt;span style="color:#e6db74">&amp;#34;QuantifyTag&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#a6e22e">in_label&lt;/span> = &lt;span style="color:#e6db74">&amp;#34;mytag&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#a6e22e">infix&lt;/span> = &lt;span style="color:#e6db74">&amp;#34;tagcount&amp;#34;&lt;/span> &lt;span style="color:#75715e"># output file is output{ix_separator}tagcount.qr.json (default &amp;#39;_&amp;#39; → output_tagcount.qr.json)&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>This transformation counts how many times each unique tag value appears and outputs the results to a JSON file.&lt;/p>
&lt;h3 id="demultiplex-interaction">
 Demultiplex interaction
 &lt;a class="anchor" href="#demultiplex-interaction">#&lt;/a>
&lt;/h3>
&lt;p>Barcodes are counted per demultiplexed stream.&lt;/p></description></item><item><title/><link>https://tyberiusprime.github.io/fastqrab/v0.8.1/docs/reference/report-steps/inspect/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://tyberiusprime.github.io/fastqrab/v0.8.1/docs/reference/report-steps/inspect/</guid><description>&lt;h1 id="inspect">
 Inspect
 &lt;a class="anchor" href="#inspect">#&lt;/a>
&lt;/h1>
&lt;p>Dump a few reads to a FASTQ file for inspection at this point in the graph.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-toml" data-lang="toml">&lt;span style="display:flex;">&lt;span>[[&lt;span style="color:#a6e22e">step&lt;/span>]]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#a6e22e">action&lt;/span> = &lt;span style="color:#e6db74">&amp;#34;Inspect&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#a6e22e">n&lt;/span> = &lt;span style="color:#ae81ff">1000&lt;/span> &lt;span style="color:#75715e"># how many molecules &lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#a6e22e">infix&lt;/span> = &lt;span style="color:#e6db74">&amp;#34;inspect_at_point&amp;#34;&lt;/span> &lt;span style="color:#75715e"># output filename infix&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#a6e22e">segment&lt;/span> = &lt;span style="color:#e6db74">&amp;#34;read1&amp;#34;&lt;/span> &lt;span style="color:#75715e"># Any of your input segments (use &amp;#34;all&amp;#34; for interleaved output)&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#a6e22e">format&lt;/span> = &lt;span style="color:#e6db74">&amp;#34;FASTQ&amp;#34;&lt;/span> &lt;span style="color:#75715e"># output format: FASTQ, FASTA or BAM&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#a6e22e">suffix&lt;/span> = &lt;span style="color:#e6db74">&amp;#34;compressed&amp;#34;&lt;/span> &lt;span style="color:#75715e"># (optional) custom suffix for filename&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#a6e22e">compression&lt;/span> = &lt;span style="color:#e6db74">&amp;#34;gzip&amp;#34;&lt;/span> &lt;span style="color:#75715e"># (optional) compression format: raw, gzip, zstd. Defaults to uncompressed&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#a6e22e">compression_level&lt;/span> = &lt;span style="color:#ae81ff">1&lt;/span> &lt;span style="color:#75715e"># (optional) compression level for gzip/zstd/bam (gzip, zstd: 1-22)&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#75715e"># defaults: gzip=6, zstd=5&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Output filename pattern:&lt;/p></description></item><item><title/><link>https://tyberiusprime.github.io/fastqrab/v0.8.1/docs/reference/report-steps/progress/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://tyberiusprime.github.io/fastqrab/v0.8.1/docs/reference/report-steps/progress/</guid><description>&lt;h1 id="progress">
 Progress
 &lt;a class="anchor" href="#progress">#&lt;/a>
&lt;/h1>
&lt;p>Emit progress to stdout (default) or a .progress log file,
if output_infix is set. (filename is {output_prefix}{ix_separator}{infix}.progress, default separator &lt;code>_&lt;/code>).&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-toml" data-lang="toml">&lt;span style="display:flex;">&lt;span>[[&lt;span style="color:#a6e22e">step&lt;/span>]]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#a6e22e">action&lt;/span> = &lt;span style="color:#e6db74">&amp;#34;Progress&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#a6e22e">n&lt;/span> = &lt;span style="color:#ae81ff">100_000&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#a6e22e">output_infix&lt;/span> = &lt;span style="color:#e6db74">&amp;#34;progress&amp;#34;&lt;/span> &lt;span style="color:#75715e"># optional&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Every &lt;code>n&lt;/code> reads, report on total progress, total reads per second.
At the end, report final runtime and reads/second.&lt;/p></description></item></channel></rss>