Demo Snakemake workflow - small and runs quickly for testing purposes.
Small demo workflow following best practice template for Snakemake workflows . Just includes bowtie2, fastqc and trim_galore steps, and default config uses E. coli genome ( NC_012967.1 ) and a sub-sample of the first 10,000 read pairs of SRR030257 . This can be changed to whatever input files you require but makes a fast test case.
Has the following structure:
├── README.md ├── LICENSE.md ├── .gitignore ├── config │ └── config.yaml └── workflow ├── envs │ └── bowtie2.yaml │ └── fastqc.yaml │ └── trim_galore.yaml ├── rules │ └── bowtie2.smk │ └── fastqc.smk │ └── trim_galore.smk └── Snakefile
The
workflow
folder follows the
Snakemake best practices
.
Here, you should edit the
config/config.yaml.tmpl
to contain the config settings you would like to initialize in the deployment of the user.
Code Snippets
24 25 26 27 28 29 30 31 | shell: "cp {input[2]} . && " "cp {input[3]} . && " "cp {input[4]} . && " "cp {input[5]} . && " "cp {input[6]} . && " "cp {input[7]} . && " "bowtie2 -p {threads} -t -x {params.ref} -1 {input[0]} -2 {input[1]} | samtools view -b -o {output[0]} -" |
49 50 51 52 53 54 55 56 | shell: "bowtie2-build -f {input} {params.label} && " "mv {params.label}.1.bt2 {output[0]} && " "mv {params.label}.2.bt2 {output[1]} && " "mv {params.label}.3.bt2 {output[2]} && " "mv {params.label}.4.bt2 {output[3]} && " "mv {params.label}.rev.1.bt2 {output[4]} && " "mv {params.label}.rev.2.bt2 {output[5]}" |
13 14 | shell: "fastqc -t {threads} --extract {input}" |
17 18 19 20 | shell: "trim_galore {params.opts} --paired {input[0]} {input[1]} && " "mv {params.file1} {output[0]} && " "mv {params.file2} {output[1]}" |
22 23 | shell: "echo Done > {output[0]}" |
Support
Do you know this workflow well? If so, you can
request seller status , and start supporting this workflow.
Created: 1yr ago
Updated: 1yr ago
Maitainers:
public
URL:
https://github.com/dickensn/simple-snakemake-secondary-workflow
Name:
simple-snakemake-secondary-workflow
Version:
1
Downloaded:
0
Copyright:
Public Domain
License:
MIT License
Keywords:
- Future updates
Related Workflows

ENCODE pipeline for histone marks developed for the psychENCODE project
psychip pipeline is an improved version of the ENCODE pipeline for histone marks developed for the psychENCODE project.
The o...

Near-real time tracking of SARS-CoV-2 in Connecticut
Repository containing scripts to perform near-real time tracking of SARS-CoV-2 in Connecticut using genomic data. This pipeli...

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 ...

ATLAS - Three commands to start analyzing your metagenome data
Metagenome-atlas is a easy-to-use metagenomic pipeline based on snakemake. It handles all steps from QC, Assembly, Binning, t...
raw sequence reads
Genome assembly
Annotation track
checkm2
gunc
prodigal
snakemake-wrapper-utils
MEGAHIT
Atlas
BBMap
Biopython
BioRuby
Bwa-mem2
cd-hit
CheckM
DAS
Diamond
eggNOG-mapper v2
MetaBAT 2
Minimap2
MMseqs
MultiQC
Pandas
Picard
pyfastx
SAMtools
SemiBin
Snakemake
SPAdes
SqueezeMeta
TADpole
VAMB
CONCOCT
ete3
gtdbtk
h5py
networkx
numpy
plotly
psutil
utils
metagenomics

RNA-seq workflow using STAR and DESeq2
This workflow performs a differential gene expression analysis with STAR and Deseq2. The usage of this workflow is described ...

This Snakemake pipeline implements the GATK best-practices workflow
This Snakemake pipeline implements the GATK best-practices workflow for calling small germline variants. The usage of thi...