A Snakemake workflow for RNA-seq analysis

public public 1yr ago Version: 3 0 bookmarks

A Snakemake workflow for RNA-seq analysis

Code Snippets

16
17
18
19
20
21
22
23
shell:
    """
    cutadapt -a AGATCGGAAGAG -A AGATCGGAAGAG \
        -j {threads} \
        -o {output.cutadapt_r1} \
        -p {output.cutadapt_r2} \
        {input.r1} {input.r2} > {log} 2>&1
    """
22
23
24
25
26
shell:
    """
    fastqc -t {threads} {input.r1} {input.r2} \
        -o {params.out_dir} > {log} 2>&1
    """
19
20
21
22
23
shell:
    """
    featureCounts -T {threads} -p -t exon -g gene_name -a {params.gtf} \
        -o {output} {input} > {log} 2>&1
    """
17
18
19
20
21
22
23
shell:
    """
    hisat2 -p {threads} -N 1 --dta -x {params} \
        -1 {input.r1} \
        -2 {input.r2} \
        -S  {output}> {log} 2>&1
    """
36
37
38
39
shell:
    """
    samtools view {input} -q {threads} -h -S -b -o {output}> {log} 2>&1
    """
18
19
20
21
22
23
24
25
26
shell:
    """
    trimmomatic PE -threads {threads} -phred33 \
        {input.r1} \
        {input.r2} \
        {output.trim_r1} {output.trim_unpaired_r1} \
        {output.trim_r2} {output.trim_unpaired_r2} \
        LEADING:20 TRAILING:20 SLIDINGWINDOW:4:20 MINLEN:18 > {log} 2>&1
    """

Login to post a comment if you would like to share your experience with this workflow.

Do you know this workflow well? If so, you can request seller status , and start supporting this workflow.

Free

Created: 1yr ago
Updated: 1yr ago
Maitainers: public
URL: https://github.com/zerostwo/rna-seq
Name: rna-seq
Version: 3
Badge:
workflow icon

Insert copied code into your website to add a link to this workflow.

Downloaded: 0
Copyright: Public Domain
License: MIT License
  • Future updates

Related Workflows

cellranger-snakemake-gke
snakemake workflow to run cellranger on a given bucket using gke.
A Snakemake workflow for running cellranger on a given bucket using Google Kubernetes Engine. The usage of this workflow ...