Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
e5cfedb
fix: update catalog yaml
m-jahn Sep 25, 2025
e147f05
fix: simplified sample paths, removed unlisting
m-jahn Sep 25, 2025
b5fdbe1
feat: split READMEs according to catalog standard
m-jahn Sep 25, 2025
ea4a4ea
fix: remove style config as it deviates from prettier standard
m-jahn Sep 25, 2025
e38c83f
fix: update GH actions wfs
m-jahn Sep 25, 2025
f8b5da4
feat: major refactoring of logic and replacement of custom rules with…
m-jahn Oct 1, 2025
83ebbf5
fix: replaced samtools flagstat with wrapper
m-jahn Oct 6, 2025
6b9376b
fix: UMI extraction and dedup for all protocols
m-jahn Oct 7, 2025
d516912
fix: added fastp and simplified fastqc input for multiqc
m-jahn Oct 7, 2025
09d3fa5
fix: update docs and removing redundancies
m-jahn Oct 7, 2025
4be847d
feat: added schemas, closes #6, closes #7
m-jahn Oct 7, 2025
74ca2ca
fix: update for config was missing
m-jahn Oct 7, 2025
861e5fb
fix: linting on test dir
m-jahn Oct 13, 2025
237e17b
fix: unified all thread defs, enable test run with sufficient threads
m-jahn Oct 13, 2025
fc38bea
fix: add number of cores to report
m-jahn Oct 13, 2025
7b12a44
fix: some fixes to accomodate single-end data and/or no UMIs
m-jahn Oct 15, 2025
e2b75e8
fix: replace hard-coded GFF requirements with flexible rules
m-jahn Oct 16, 2025
78e92d9
fix: update umitools to latest version
m-jahn Mar 5, 2026
ab591a9
fix: docs to run tests, typo, wrong conf option
m-jahn Mar 5, 2026
99c197b
fix: removed unused imports, file handle problem and snakemake import…
m-jahn Mar 5, 2026
4fbde14
fix: smarter resource declaration, prevents failurewith few cores
rabioinf Mar 5, 2026
80dcc2c
chore: update dag. include workflow link in report.
rabioinf Mar 5, 2026
db5a3e9
fix: adjustr folder structure for logging.
rabioinf Mar 5, 2026
74ac88e
fix: software version for multiqc report.
rabioinf Mar 5, 2026
2605322
fix: update protocol definition configs.
rabioinf Mar 5, 2026
1761d67
fix: update GH actions. added apptainer functionality.
rabioinf Mar 5, 2026
ac8ab3c
fix: added names to CI workflows
m-jahn Mar 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .editorconfig

This file was deleted.

12 changes: 4 additions & 8 deletions .github/workflows/conventional-prs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Lint PR
name: Conventional PRs

on:
pull_request_target:
types:
Expand All @@ -11,10 +12,5 @@ permissions:
pull-requests: read

jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
conventional-prs:
uses: MPUSP/mpusp-github-actions/.github/workflows/conventional-prs.yml@main
17 changes: 17 additions & 0 deletions .github/workflows/deploy-apptainer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Deploy Apptainer

on:
workflow_run:
workflows: ["Release Please"]
types:
- completed
workflow_dispatch:

permissions:
contents: read
packages: write

jobs:
deploy-apptainer:
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
uses: MPUSP/mpusp-github-actions/.github/workflows/deploy-apptainer.yml@main
58 changes: 0 additions & 58 deletions .github/workflows/main.yml

This file was deleted.

15 changes: 5 additions & 10 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
name: Release Please

on:
push:
branches:
- main
branches: [main]

permissions:
contents: write
pull-requests: write

name: release-please
issues: write

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: simple
uses: MPUSP/mpusp-github-actions/.github/workflows/release-please.yml@main
12 changes: 12 additions & 0 deletions .github/workflows/snakemake-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Snakemake Tests

on:
pull_request:
branches: [main]

jobs:
snakemake-tests:
uses: MPUSP/mpusp-github-actions/.github/workflows/snakemake-tests.yml@main
with:
cores: 2
dryrun: false
15 changes: 10 additions & 5 deletions .snakemake-workflow-catalog.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# configuration of display in snakemake workflow catalog: https://snakemake.github.io/snakemake-workflow-catalog

usage:
software-stack-deployment: # definition of software deployment method (at least one of conda, singularity, or singularity+conda)
conda: true # whether pipeline works with --use-conda
singularity: false # whether pipeline works with --use-singularity
singularity+conda: false # whether pipeline works with --use-singularity --use-conda
report: true # add this to confirm that the workflow allows to use 'snakemake --report report.zip' to generate a report containing all results and explanations
mandatory-flags:
desc: # describe your flags here in a few sentences
flags: # put your flags here
software-stack-deployment:
conda: true # whether pipeline works with '--sdm conda'
apptainer: false # whether pipeline works with '--sdm apptainer/singularity'
apptainer+conda: true # whether pipeline works with '--sdm conda apptainer/singularity'
report: true # whether creation of reports using 'snakemake --report report.zip' is supported
66 changes: 25 additions & 41 deletions .test/config/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
samplesheet: "config/samplesheet/samples_mpusp_custom.tsv"
libtype: "sense"
samplesheet: "config/samplesheet/samples_neb_umi.tsv"
libtype: "antisense"

get_genome:
database: "ncbi"
Expand All @@ -11,48 +11,34 @@ get_genome:
"RefSeq": "gene",
"RefSeq": "pseudogene",
"RefSeq": "CDS",
"Protein Homology": "CDS"
"Protein Homology": "CDS",
]

extract_features:
biotypes: ["protein_coding", "pseudogene", "ncRNA", "rRNA", "tRNA"]

umi_extraction:
method: "string"
pattern: "--bc-pattern=NNNCCCNNNCCCNNNC"
method: "none"
pattern: ""
umi_dedup: "--edit-distance-threshold=0"

cutadapt:
read1_adapter: "TACACGACGCTCTTCCGATCT"
read2_adapter: "AGATCGGAAGAGCGTCGTGTA"
default:
[
"-q 10 ",
"-m 18 ",
"--overlap=3"
]
fastp:
extra: "-M 10 -l 18 --adapter_sequence AGATCGGAAGAGCACACGTCTGAACTCCAGTCA --adapter_sequence_r2 AGATCGGAAGAGCGTCGTGTAGGGAAAGAGTGT"

star:
index: Null
genomeSAindexNbases: 9
multi: 10
sam_multi: 1
intron_max: 1
default:
index: "--genomeSAindexNbases 9"
extra:
[
"--readFilesCommand zcat ",
"--outSAMstrandField None ",
"--outSAMattributes All ",
"--outSAMattrIHstart 0 ",
"--outFilterType Normal ",
"--outFilterMultimapScoreRange 1 ",
"-o STARmappings ",
"--outSAMtype BAM Unsorted ",
"--outStd BAM_Unsorted ",
"--outMultimapperOrder Random ",
"--alignEndsType EndToEnd",
"--outFilterMultimapNmax 10",
"--outSAMmultNmax 1",
"--outMultimapperOrder Random",
"--alignIntronMax 1",
]

samtools:
sort: ""
index: ""

feature_counts:
defaults:
[
Expand All @@ -61,18 +47,16 @@ feature_counts:
"-g locus_tag",
"-M",
"--fracOverlap 0.2",
"--largestOverlap"
"--largestOverlap",
]

deeptools:
bin_size: 1
normalize: "CPM"
defaults: "--exactScaling"
paired_end: "--extendReads"
genome_size: 2000000
extra: "--binSize 1 --normalizeUsing CPM --exactScaling --extendReads"

fastqc:
extra: "--quiet --nogroup"

multiqc:
config: "config/multiqc_config.yml"
defaults: ["--dirs-depth 2 ",
"--exclude general_stats ",
"--force ",
"--dirs"]
config: "config/multiqc_config.yml"
extra: "--dirs"
26 changes: 8 additions & 18 deletions .test/config/multiqc_config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
report_header_info:
- Snakemake workflow: https://github.com/MPUSP/snakemake-bacterial-rnaseq-processing
- Contact E-mail: "bioinformatics@mpusp.mpg.de"
- Application Type: "Bacterial RNAseq"
- Sequencing Platform: "Illumina"
Expand All @@ -15,7 +16,7 @@ custom_logo_url: "https://www.mpusp.mpg.de/"
custom_logo_title: "Max Planck Unit for the Science of Pathogens"

skip_versions_section: false
disable_version_detection: true
disable_version_detection: false
versions_table_group_header: "Workflow Analysis Steps"

skip_generalstats: true
Expand All @@ -24,21 +25,10 @@ remove_sections:
- samtools-stats

module_order:
- fastqc
- fastp
- star
- cutadapt
- fastqc:
name: "FastQC (trimmed)"
anchor: "fastqc_trimmed"
info: "This section of the report shows FastQC results after adapter trimming."
target: ""
path_filters:
- "*/clipped_reads/*_fastqc.zip"
- fastqc:
name: "FastQC (raw)"
anchor: "fastqc_raw"
path_filters:
- "*/raw_reads/*_fastqc.zip"

report_section_order:
fastqc_raw:
before: fastqc_trimmed
- umitools
- featurecounts
- samtools
- biotype_dist
6 changes: 3 additions & 3 deletions .test/config/samplesheet/samples_mpusp_custom.tsv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
sample condition replicate experiment data_folder fq1 fq2 fq_umi
RNA-1 RNA 1 rnaseq_mpusp_custom data/rnaseq_mpusp_custom RNA-1_R1.fastq.gz RNA-1_R2.fastq.gz -
RNA-2 RNA 2 rnaseq_mpusp_custom data/rnaseq_mpusp_custom RNA-2_R1.fastq.gz RNA-2_R2.fastq.gz -
sample condition replicate read1 read2 readumi
RNA-1 RNA 1 data/rnaseq_mpusp_custom/RNA-1_R1.fastq.gz data/rnaseq_mpusp_custom/RNA-1_R2.fastq.gz -
RNA-2 RNA 2 data/rnaseq_mpusp_custom/RNA-2_R1.fastq.gz data/rnaseq_mpusp_custom/RNA-2_R2.fastq.gz -
6 changes: 3 additions & 3 deletions .test/config/samplesheet/samples_neb_umi.tsv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
sample condition replicate experiment data_folder fq1 fq2 fq_umi
RNA-1 RNA 1 rnaseq_neb_umi data/rnaseq_neb_umi RNA-1_R1.fastq.gz RNA-1_R2.fastq.gz RNA-1_UMI.fastq.gz
RNA-2 RNA 2 rnaseq_neb_umi data/rnaseq_neb_umi RNA-2_R1.fastq.gz RNA-2_R2.fastq.gz RNA-2_UMI.fastq.gz
sample condition replicate read1 read2 readumi
RNA-1 RNA 1 data/rnaseq_neb_umi/RNA-1_R1.fastq.gz data/rnaseq_neb_umi/RNA-1_R2.fastq.gz data/rnaseq_neb_umi/RNA-1_UMI.fastq.gz
RNA-2 RNA 2 data/rnaseq_neb_umi/RNA-2_R1.fastq.gz data/rnaseq_neb_umi/RNA-2_R2.fastq.gz data/rnaseq_neb_umi/RNA-2_UMI.fastq.gz
6 changes: 3 additions & 3 deletions .test/config/samplesheet/samples_nextflex.tsv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
sample condition replicate experiment data_folder fq1 fq2 fq_umi
RNA-1 RNA 1 rnaseq_nextflex data/rnaseq_nextflex RNA-1_R1.fastq.gz RNA-1_R2.fastq.gz -
RNA-2 RNA 2 rnaseq_nextflex data/rnaseq_nextflex RNA-2_R1.fastq.gz RNA-2_R2.fastq.gz -
sample condition replicate read1 read2 readumi
RNA-1 RNA 1 data/rnaseq_nextflex/RNA-1_R1.fastq.gz data/rnaseq_nextflex/RNA-1_R2.fastq.gz -
RNA-2 RNA 2 data/rnaseq_nextflex/RNA-2_R1.fastq.gz data/rnaseq_nextflex/RNA-2_R2.fastq.gz -
Loading
Loading