Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
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
10 changes: 10 additions & 0 deletions workflows/microbiome/samestr-workflow/.dockstore.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 1.2
workflows:
- name: main
subclass: Galaxy
publish: true
primaryDescriptorPath: /samestr-workflow.ga
testParameterFiles:
- /samestr-workflow-tests.yml
Comment thread
xens25 marked this conversation as resolved.
Outdated
authors:
- name: 'Xenia Morera Martinez'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please put your ORCID id here ?

Comment thread
xens25 marked this conversation as resolved.
Outdated
5 changes: 5 additions & 0 deletions workflows/microbiome/samestr-workflow/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Changelog

## [0.1] - 2026-06-18

First release.
19 changes: 19 additions & 0 deletions workflows/microbiome/samestr-workflow/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# SameStr workflow for shared-strain detection in metagenomes

This workflow processes paired-end shotgun metagenomic sequencing reads from multiple samples. It performs the following steps:

- **Preprocessing**: Quality trimming and host read removal using KneadData
- **Taxonomic profiling**: MetaPhlAn4 or mOTUs for taxonomic classification

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this different from Metaphlan below ?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it's the same step. I'll add them together

- **Marker-based alignment**: MetaPhlAn or mOTUs for alignment
- **Strain detection**: SameStr tools identify strains across samples and compute pairwise strain comparisons using Maximum Variant Profile Similarity (MVS) scores.

## Inputs

- **Raw Reads**: A collection of paired-end FASTQ files from one or more samples to compare
- **Run MetaPhlAn**: Boolean parameter (default: true) that enables MetaPhlAn-based strain detection
- **Run mOTUs**: Boolean parameter (default: false) that enables mOTUs-based strain detection

## Outputs

- **MetaPhlAn results** (if enabled): SNV profile summary statistics, taxon counts, strain events, and co-occurrence tables
- **mOTUs results** (if enabled): SNV profile summary statistics, taxon counts, strain events, and co-occurrence tables
87 changes: 87 additions & 0 deletions workflows/microbiome/samestr-workflow/samestr-workflow-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
- doc: Test outline for SameStr-Workflow
job:
Raw Reads:
class: Collection
collection_type: list:paired
elements:
- class: Collection
type: paired
identifier: 28C
elements:
- class: File
identifier: forward
location: https://zenodo.org/records/20745835/files/28C_R1.fastq.gz
filetype: fastqsanger.gz
- class: File
identifier: reverse
location: https://zenodo.org/records/20745835/files/28C_R2.fastq.gz
filetype: fastqsanger.gz
- class: Collection
type: paired
identifier: 28B
elements:
- class: File
identifier: forward
location: https://zenodo.org/records/20745835/files/28B_R1.fastq.gz
filetype: fastqsanger.gz
- class: File
identifier: reverse
location: https://zenodo.org/records/20745835/files/28B_R2.fastq.gz
filetype: fastqsanger.gz
- class: Collection
type: paired
identifier: 28A
elements:
- class: File
identifier: forward
location: https://zenodo.org/records/20745835/files/28A_R1.fastq.gz
filetype: fastqsanger.gz
- class: File
identifier: reverse
location: https://zenodo.org/records/20745835/files/28A_R2.fastq.gz
filetype: fastqsanger.gz
Run mOTUs: false
Run MetaPhlAn: true
outputs:
"Stats file (MetaPhlAn)":
element_tests:
t__SGB15299:
asserts:
has_text:
text: "28B"
t__SGB4285:
asserts:
has_text:
text: "28B"
t__SGB6362:
asserts:
has_text:
text: "28B"
"Taxon counts (MetaPhlAn)":
asserts:
has_text:
text: "28A"
has_text:
text: "28B"
has_text:
text: "28C"
"Strain events (MetaPhlAn)":
asserts:
has_text:
text: "t__SGB15299"
has_text:
text: "t__SGB4285"
has_text:
text: "t__SGB6362"
has_text:
text: "28B"
has_text:
text: "28C"
"Co-occurrences (MetaPhlAn)":
asserts:
has_text:
text: "28A"
has_text:
text: "28B"
has_text:
text: "28C"
Loading
Loading