<?xml version='1.0'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:atom="http://www.w3.org/2005/Atom" >
<channel>
	<title><![CDATA[BOL: Rules to run fastp / Snakemake !]]></title>
	<link>https://bioinformaticsonline.com/snippets/view/43590/rules-to-run-fastp-snakemake?</link>
	<atom:link href="https://bioinformaticsonline.com/snippets/view/43590/rules-to-run-fastp-snakemake?" rel="self" type="application/rss+xml" />
	<description><![CDATA[]]></description>
	
	<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/snippets/view/43590/rules-to-run-fastp-snakemake</guid>
	<pubDate>Tue, 16 Nov 2021 01:03:22 -0600</pubDate>
	<link>https://bioinformaticsonline.com/snippets/view/43590/rules-to-run-fastp-snakemake</link>
	<title><![CDATA[Rules to run fastp / Snakemake !]]></title>
	<description><![CDATA[<code>rule fastp:
    input:
        fwd=INPUT + &quot;/{sample}-read_1.fq&quot;,
        rev=INPUT + &quot;/{sample}-read_2.fq&quot;
    output:
        fwd=RESULTS + &quot;/fastq_trimmed/{sample}.1.trimmed.fastq&quot;,
        rev=RESULTS + &quot;/fastq_trimmed/{sample}.2.trimmed.fastq&quot;,
        html=RESULTS + &quot;/fastq_trimmed/{sample}.html&quot;,
        json=RESULTS + &quot;/fastq_trimmed/{sample}.json&quot;
    threads:
        5
    log:
        RESULTS + &quot;/logs/fastp/{sample}.preprocess.log&quot;
    shell:
        &quot;fastp --in1 {input.fwd} --in2 {input.rev} &quot;
        &quot;--out1 {output.fwd} --out2 {output.rev} --thread {threads} --cut_tail --html {output.html} --json {output.json} 2&gt; {log}&quot;</code>]]></description>
	<dc:creator>Abhi</dc:creator>
</item>

</channel>
</rss>