Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
6f04dd6
Added submit_study script from private repo
timrozday-mgnify Mar 12, 2026
c6d80fb
Modified study-submit script to work in mgnify-pipelines-toolkit cont…
timrozday-mgnify Mar 12, 2026
55c3ca3
Wrote submit_study module based on submit_study python script.
timrozday-mgnify Mar 12, 2026
632ef0a
Renamed files and parameters to align to existing registerstudy modul…
timrozday-mgnify Mar 12, 2026
38e74cf
Tidied up code
timrozday-mgnify Mar 12, 2026
3798fa4
Rename files
timrozday-mgnify Mar 12, 2026
ab5f92d
Update tests for study_submit
timrozday-mgnify Mar 12, 2026
6f265d8
Replaced REGSTERSTUDY module with new one based on submit_study.py sc…
timrozday-mgnify Mar 12, 2026
cc840de
Remove pytest from bin
timrozday-mgnify Mar 12, 2026
d2a78b6
In response to PR comments, merged study_submit.py python scripts int…
timrozday-mgnify Mar 13, 2026
15a0f7e
Update nft-utils to get sanatizeOutputs to work
timrozday-mgnify Mar 13, 2026
7403a3e
Revert test config
timrozday-mgnify Mar 13, 2026
416fa75
Updated tests to run locally
timrozday-mgnify Mar 13, 2026
7e2b7b8
Remove duplicate detection functionality from study submit
timrozday-mgnify Mar 13, 2026
1e87af7
Remove unused code
timrozday-mgnify Mar 13, 2026
ffc4e90
Move test fixtures to nf-croe test-datasets
timrozday-mgnify Mar 13, 2026
d4f7e76
Merge branch 'dev' into feature/studysubmit
timrozday-mgnify Mar 13, 2026
3824311
Fix the tests using nf-core test-datasets and removing inputs and out…
timrozday-mgnify Mar 13, 2026
5d0c83e
Remove references to dataharmonizer
timrozday-mgnify Mar 13, 2026
fc14c4b
Remove xml validation from submit study script
timrozday-mgnify Mar 13, 2026
7e586c4
Split e2e tests into seperate files per workflow
timrozday-mgnify Mar 13, 2026
d80420b
nf-core linting
timrozday-mgnify Mar 13, 2026
0d743f2
remove dead code
ochkalova Mar 23, 2026
763caea
add input format examples, do minor simplifications of the code
ochkalova Mar 23, 2026
ac77c70
update meta.yml for registerstudy
ochkalova Mar 23, 2026
875fa9c
Merge branch 'dev' into feature/studysubmit
ochkalova Mar 23, 2026
6ede603
refactor and bugfix registerstudy
ochkalova Mar 24, 2026
ab305da
add real test submission for registerstudy in nf-tests
ochkalova Mar 24, 2026
1ddd2b1
update schema
ochkalova Mar 24, 2026
6026318
revert some minor changes for branch merging later
ochkalova Mar 24, 2026
8ac674d
update docs
ochkalova Mar 24, 2026
6eae0bd
add tests for pipeline with study registration
ochkalova Mar 24, 2026
cc29a3e
apply linter
ochkalova Mar 24, 2026
bbd8305
linter on .gitignore
ochkalova Mar 24, 2026
1a82bec
revert to REST API usage
ochkalova Mar 24, 2026
8e98878
refactor input parsing in submit_study.py
ochkalova Mar 25, 2026
217edea
update container for mgnify-pipelines-toolkit
ochkalova Mar 25, 2026
55373f8
remove docker.enabled = true from test profiles, update nextflow.config
ochkalova Mar 25, 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
20 changes: 13 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,15 +116,21 @@ assembly_2,data/contigs_2.fasta.gz,,,42.7,ERR011323,MEGAHIT,1.2.9
> [!NOTE]
> If you are new to Nextflow and nf-core, please refer to [this page](https://nf-co.re/docs/usage/installation) on how to set-up Nextflow. Make sure to [test your setup](https://nf-co.re/docs/usage/introduction#how-to-run-a-pipeline) with `-profile test` before running the workflow on actual data.

### Submission study

All data submitted through this pipeline must be associated with an ENA study (project). You can either pass an accession of your existing study via `--submission_study`or provide a metadata file via `--study_metadata` and the pipeline will register the study with ENA before submitting your data.

See the [usage documentation](docs/usage.md#submission-study) for more details.

### Required parameters:

| Parameter | Description |
| -------------------- | --------------------------------------------------------------------------------- |
| `--mode` | Type of the data to be submitted. Options: `[mags, bins, metagenomic_assemblies]` |
| `--input` | Path to the samplesheet describing the data to be submitted |
| `--outdir` | Path to the output directory for pipeline results |
| `--submission_study` | ENA study accession (PRJ/ERP) to submit the data to |
| `--centre_name` | Name of the submitter's organisation |
| Parameter | Description |
| ------------------------------------------ | ----------------------------------------------------------------------------------------------------------------- |
| `--mode` | Type of the data to be submitted. Options: `[mags, bins, metagenomic_assemblies]` |
| `--input` | Path to the samplesheet describing the data to be submitted |
| `--outdir` | Path to the output directory for pipeline results |
| `--submission_study` OR `--study_metadata` | ENA study accession (PRJ/ERP) to submit the data to OR metadata file in JSON/TSV/CSV format to register new study |
| `--centre_name` | Name of the submitter's organisation |

### Optional parameters:

Expand Down
6 changes: 6 additions & 0 deletions assets/study_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"alias": "study-example-2026",
"study_title": "Example metagenome study",
"study_abstract": "Description of the study aims and methods.",
"existing_study_type": "Metagenomics"
}
2 changes: 2 additions & 0 deletions assets/study_metadata.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
alias study_title study_abstract existing_study_type
study-example-2026 Example metagenome study Description of the study aims and methods. Metagenomics
Loading
Loading