Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report updates #64

Merged
merged 64 commits into from
Jan 26, 2024
Merged

Report updates #64

merged 64 commits into from
Jan 26, 2024

Conversation

fasterius
Copy link
Collaborator

@fasterius fasterius commented Jan 23, 2024

This PR contains substantial changes and fixes to the downstream analysis reports. Changes include:

  • Changing the documentation from scanpy to custom explanations and contexts
  • Harmonisation of input/output file/process/parameter names
  • Renaming of variables/parameters to better describe what they are used for and to adhere to PEP8
  • Merge the pre/post-processing subworkflows into one downstream subworkflow
  • Moving the normalization from the QC report to the clustering report
  • Store raw data in the AnnData object so that a user may re-do analyses from scratch if so desired
  • Simplified input file staging in reports
  • Addition of filtering of mitochondrial, ribosomal and haemoglobin content
  • Additional figures
  • Removal of redundant figures
  • Optimisation of figure sizes to fit the report format, where possible
  • Minor formatting and language changes throughout
  • Updated documentation

Hopefully this PR makes the reports and their related pipeline content are a bit more fully-featured and better documented.

PR checklist

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • Make sure your code lints (nf-core lint).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
  • Usage Documentation in docs/usage.md is updated.
  • Output Documentation in docs/output.md is updated.
  • CHANGELOG.md is updated.

Remove the redundant total counts/genes by counts histogram plots in the
QC report, as violin plots show the same thing. Also replace the
post-filtering plots with additional violin plots for consistency.
Change `cell` variables and params to `spot`, as that is actually what
is being done in the spatial data analysis. Previously the usage was
mixed in the reports and parameters, and should now be unified to use
`spot`.
Copy link

github-actions bot commented Jan 23, 2024

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit ecffa90

+| ✅ 158 tests passed       |+
#| ❔   3 tests were ignored |#
!| ❗   5 tests had warnings |!

❗ Test warnings:

  • readme - README contains the placeholder zenodo.XXXXXXX. This should be replaced with the zenodo doi (after the first release).
  • pipeline_todos - TODO string in README.md: Add citation for pipeline after first release. Uncomment lines below and update Zenodo doi and badge at the top of this file.
  • pipeline_todos - TODO string in WorkflowMain.groovy: Add Zenodo DOI for pipeline after first release
  • pipeline_todos - TODO string in methods_description_template.yml: #Update the HTML below to your preferred methods description, e.g. add publication citation for this pipeline
  • pipeline_todos - TODO string in awsfulltest.yml: You can customise AWS full pipeline tests as required

❔ Tests ignored:

✅ Tests passed:

Run details

  • nf-core/tools version 2.11.1
  • Run at 2024-01-26 08:35:16

@fasterius fasterius marked this pull request as ready for review January 23, 2024 11:27
@fasterius fasterius requested a review from cavenel January 23, 2024 11:27
Copy link
Collaborator

@cavenel cavenel left a comment

Choose a reason for hiding this comment

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

Some minor comments and then all good for me!

bin/st_quality_controls.qmd Outdated Show resolved Hide resolved
nextflow_schema.json Show resolved Hide resolved
Copy link
Collaborator

@cavenel cavenel left a comment

Choose a reason for hiding this comment

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

All good!

@fasterius fasterius merged commit 8c69d02 into dev Jan 26, 2024
8 checks passed
@fasterius fasterius deleted the reports branch January 26, 2024 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants