RNA-Seq in the Cloud

public public 1yr ago 0 bookmarks

June 21 & 23, 2021

CFDE Workshop

Open access

Requires github login

Adapted for CFDE workshop from materials developed by Taylor Reiter and N. Tessa Pierce for 2020-ggg-201b course at UC Davis.

To run snakemake in binder --

  1. start the binder

  2. at the command line, run

snakemake -j 4 --use-conda
  1. open rnaseq-workflow.Rmd

  2. knit to HTML

Code Snippets

23
24
25
26
shell:
    """
    curl -L {params.download_link} -o {output}
    """
34
35
36
37
shell:
    """
    fastqc {input} --outdir {params.outdir}
    """
42
43
44
45
shell:
    """
    curl -L https://raw.githubusercontent.com/timflutre/trimmomatic/master/adapters/TruSeq2-SE.fa -o {output}
    """
53
54
55
56
shell:
    """
    trimmomatic SE {input.reads} {output} ILLUMINACLIP:{input.adapters}:2:0:15 LEADING:2 TRAILING:2 SLIDINGWINDOW:4:2 MINLEN:25    
    """
64
65
66
67
shell:
    """
    fastqc {input} --outdir {params.outdir}
    """
78
79
80
81
shell:
    """
    multiqc {params.raw_dir} {params.trimmed_dir} --filename {output}
    """
86
87
88
89
shell:
    """
    curl -L ftp://ftp.ensembl.org/pub/release-99/fasta/saccharomyces_cerevisiae/cdna/Saccharomyces_cerevisiae.R64-1-1.cdna.all.fa.gz -o {output}
    """
95
96
97
98
shell:
    """
    salmon index --index {output} --transcripts {input} # --type quasi
    """
109
110
111
112
shell:
    """
    salmon quant -i {input.index_dir} --libType A -r {input.reads} -o {params.outdir} --seqBias --gcBias --validateMappings
    """
ShowHide 4 more snippets with no or duplicated tags.

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/ngs-docs/2022-rnaseq-cloud
Name: 2022-rnaseq-cloud
Version: 1
Badge:
workflow icon

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

Downloaded: 0
Copyright: Public Domain
License: None
  • 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 ...