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

Rename outputs #516

Merged
merged 7 commits into from
Feb 16, 2024
Merged

Conversation

ramprasadn
Copy link
Collaborator

PR checklist

This PR standardizes outputs file names so they are more readable and logical.

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added a new tool - have you followed the pipeline conventions in the contribution docs
  • If necessary, also make a PR on the nf-core/raredisease branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core lint).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • Ensure the test suite passes (nextflow run . -profile test_one_sample,docker --outdir <OUTDIR>).
  • Usage Documentation in docs/usage.md is updated.
  • Output Documentation in docs/output.md is updated.
  • CHANGELOG.md is updated.
  • README.md is updated (including new tool citations and authors/contributors).

Copy link

github-actions bot commented Feb 14, 2024

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 3099751

+| ✅ 182 tests passed       |+
#| ❔   5 tests were ignored |#
!| ❗   2 tests had warnings |!

❗ Test warnings:

  • pipeline_todos - TODO string in WorkflowRaredisease.groovy: Optionally add in-text citation tools to this list.
  • pipeline_todos - TODO string in awsfulltest.yml: You can customise AWS full pipeline tests as required

❔ Tests ignored:

  • files_exist - File is ignored: conf/modules.config
  • files_unchanged - File ignored due to lint config: .github/PULL_REQUEST_TEMPLATE.md
  • files_unchanged - File ignored due to lint config: .github/workflows/linting.yml
  • files_unchanged - File ignored due to lint config: docs/images/nf-core-raredisease_logo_light.png
  • files_unchanged - File ignored due to lint config: docs/images/nf-core-raredisease_logo_dark.png

✅ Tests passed:

Run details

  • nf-core/tools version 2.12.1
  • Run at 2024-02-16 12:57:42

@ramprasadn ramprasadn marked this pull request as ready for review February 16, 2024 08:08
@ramprasadn ramprasadn linked an issue Feb 16, 2024 that may be closed by this pull request
Copy link
Collaborator

@jemten jemten left a comment

Choose a reason for hiding this comment

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

Nice to start harmonizing the file names. It For us it would be good to know roughly what the file contains when all the output files are gathered in one folder. For examples the output from the mitochondria deletion process is just <sample_id>.txt.

- `<sample_id>.txt`: file containing deletions.

Would be good to name it something like <sample_id>_mitochondria_deletions.txt or the old <sample_id>_mitodel.txt Could even use the .tsv ending if we want since I think it's a tab separated file if remember correctly.

docs/output.md Outdated
Comment on lines 269 to 270
- `<case_id>_nomito.vcf.gz`: normalized vcf file containing no MT variants.
- `<case_id>_nomito.vcf.gz.tbi`: index of the vcf file containing no MT variants.
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think that it would be better to have a filename that describes what the file contains rather than what it doesn't contain. Would be great to link it to what we call the annotated files so that the connection is clear. This would then be <case_id>_snv.vcf.gz

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

sounds good 👍🏻

Copy link
Collaborator

@jemten jemten left a comment

Choose a reason for hiding this comment

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

Looks good!

@ramprasadn ramprasadn merged commit 6e04808 into nf-core:dev Feb 16, 2024
6 checks passed
@jemten jemten deleted the rename_outputs branch February 20, 2024 08:48
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.

Standardize naming of outfiles
2 participants