niekwit/rna-seq-star-tetranscripts

Snakemake workflow for transposable element RNA-Seq using TEtranscripts

Overview

Latest release: v0.5.0, Last update: 2026-05-07

Share link: https://snakemake.github.io/snakemake-workflow-catalog?wf=niekwit/rna-seq-star-tetranscripts

Quality control: linting: failed formatting: failed

Topics: ngs-pipeline rna-seq-pipeline snakemake-workflow transposable-elements

Wrappers: bio/fastqc bio/samtools/index bio/samtools/view bio/trim_galore/pe bio/trim_galore/se

Deployment

Step 1: Install Snakemake and Snakedeploy

Snakemake and Snakedeploy are best installed via the Conda package manager. It is recommended to install conda via Miniforge. Run

conda create -c conda-forge -c bioconda -c nodefaults --name snakemake snakemake snakedeploy

to install both Snakemake and Snakedeploy in an isolated environment. For all following commands ensure that this environment is activated via

conda activate snakemake

For other installation methods, refer to the Snakemake and Snakedeploy documentation.

Step 2: Deploy workflow

With Snakemake and Snakedeploy installed, the workflow can be deployed as follows. First, create an appropriate project working directory on your system and enter it:

mkdir -p path/to/project-workdir
cd path/to/project-workdir

In all following steps, we will assume that you are inside of that directory. Then run

snakedeploy deploy-workflow https://github.com/niekwit/rna-seq-star-tetranscripts . --tag v0.5.0

Snakedeploy will create two folders, workflow and config. The former contains the deployment of the chosen workflow as a Snakemake module, the latter contains configuration files which will be modified in the next step in order to configure the workflow to your needs.

Step 3: Configure workflow

To configure the workflow, adapt config/config.yml to your needs following the instructions below.

Step 4: Run workflow

The deployment method is controlled using the --software-deployment-method (short --sdm) argument.

To run the workflow with automatic deployment of all required software via conda/mamba, use

snakemake --cores all --sdm conda

Snakemake will automatically detect the main Snakefile in the workflow subfolder and execute the workflow module that has been defined by the deployment in step 2.

For further options such as cluster and cloud execution, see the docs.

Step 5: Generate report

After finalizing your data analysis, you can automatically generate an interactive visual HTML report for inspection of results together with parameters and code inside of the browser using

snakemake --report report.zip

Configuration

The following section is imported from the workflow’s config/README.md.

config.yaml

Use config.yaml to set the parameters of the analysis.

The time setting in resources will only be relevant when running the pipeline on an HPC with the --slurm option.

samples.csv

Columns: sample: unique sample name (name of the reads file without .fastq.gz) genotype: genotype of the sample treatment: treatment condition of the sample reference: add yes if this sample should be set as a control in the differential transcript analysis batch: batch for each sample (e.g. different sequencing run). If more than one batch is present, a batch effect will be modelled during differential transcript analysis with DESeq2

Workflow parameters

The following table is automatically parsed from the workflow’s config.schema.y(a)ml file.

Parameter

Type

Description

Required

Default

genome

string

Genome build to use for mapping and annotation

ensembl_genome_build

string

Ensembl genome build version

110

strand

string

Strandness of the library

reverse

fdr_cutoff

number

FDR cutoff for volcano plots

0.05

fc_cutoff

number

Log2 fold change cutoff for volcano plots

0.5

spike_in

Spike-in correction parameters

. apply

boolean

Whether to apply spike-in correction

. name

string

Pattern for spike-in names

. gtf

string

Path to the GTF file for spike-ins

. fasta

string

Path to the FASTA file for spike-ins

mapping

STAR mapping parameters

. outFilterMultimapNmax

integer

Maximum number of multiple alignments allowed

. winAnchorMultimapNmax

integer

Maximum number of multiple alignments allowed for chimeric reads

. extra_params

string

Additional arguments to pass to STAR

deeptools

DeepTools parameters

. normalisation

string

Normalisation method for DeepTools

RPKM

. binsize

integer

Bin size for DeepTools

10

resources

Computing resources for different steps

. trim

. . cpu

integer

Number of CPUs to use

8

. . time

integer

Time in minutes

60

. fastqc

. . cpu

integer

Number of CPUs to use

4

. . time

integer

Time in minutes

Linting and formatting

Linting results
1Workflow version: v0.4.0
2Wrapper version: v5.5.1
3AssertionError in file "/tmp/tmpfp01s54s/niekwit-rna-seq-star-tetranscripts-cd92e21/workflow/scripts/general_functions.smk", line 168:
4No fastq files found ending with .fastq.gz...
5  File "/tmp/tmpfp01s54s/niekwit-rna-seq-star-tetranscripts-cd92e21/workflow/Snakefile", line 26, in <module>
6  File "/tmp/tmpfp01s54s/niekwit-rna-seq-star-tetranscripts-cd92e21/workflow/scripts/general_functions.smk", line 168, in paired_end
Formatting results
 1[DEBUG] 
 2[DEBUG] In file "/tmp/tmpfp01s54s/niekwit-rna-seq-star-tetranscripts-cd92e21/workflow/rules/trimming.smk":  Formatted content is different from original
 3[DEBUG] 
 4[DEBUG] In file "/tmp/tmpfp01s54s/niekwit-rna-seq-star-tetranscripts-cd92e21/workflow/rules/resources.smk":  Formatted content is different from original
 5[DEBUG] 
 6[DEBUG] In file "/tmp/tmpfp01s54s/niekwit-rna-seq-star-tetranscripts-cd92e21/workflow/rules/plotting.smk":  Formatted content is different from original
 7[DEBUG] 
 8[DEBUG] In file "/tmp/tmpfp01s54s/niekwit-rna-seq-star-tetranscripts-cd92e21/workflow/Snakefile":  Formatted content is different from original
 9[DEBUG] 
10[DEBUG] 
11[DEBUG] In file "/tmp/tmpfp01s54s/niekwit-rna-seq-star-tetranscripts-cd92e21/workflow/rules/mapping.smk":  Formatted content is different from original
12[DEBUG] 
13[DEBUG] In file "/tmp/tmpfp01s54s/niekwit-rna-seq-star-tetranscripts-cd92e21/workflow/rules/deseq2.smk":  Formatted content is different from original
14[DEBUG] 
15[DEBUG] In file "/tmp/tmpfp01s54s/niekwit-rna-seq-star-tetranscripts-cd92e21/workflow/rules/fastqc.smk":  Formatted content is different from original
16[DEBUG] 
17[DEBUG] In file "/tmp/tmpfp01s54s/niekwit-rna-seq-star-tetranscripts-cd92e21/workflow/rules/te_quantification.smk":  Formatted content is different from original
18[INFO] 8 file(s) would be changed 😬
19[INFO] 1 file(s) would be left unchanged 🎉
20
21snakefmt version: 0.11.5