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

Multiple fixes #45

Merged
merged 13 commits into from
May 29, 2024
Merged

Multiple fixes #45

merged 13 commits into from
May 29, 2024

Conversation

itrujnara
Copy link
Collaborator

Closes #35, closes #36, closes #38, closes #39, closes #40

Deduplicated code in get_orthologs.nf
Removed unnecessary channel population in report.nf
Improved parameter validation
Added information on downstream and a test_data link in usage.md
Removed some files from outdir, added parameter to enable others
Added timeout handling to Python requests

PR checklist

  • This comment contains a description of changes (with reason).
  • Make sure your code lints (nf-core lint).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).

@itrujnara itrujnara changed the title Multiple fixes [do not merge] Multiple fixes May 28, 2024
Copy link

github-actions bot commented May 28, 2024

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 824403c

+| ✅ 212 tests passed       |+
#| ❔  20 tests were ignored |#
!| ❗  10 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 usage.md: Add documentation about anything specific to running your pipeline. For general topics, please point to (and add to) the main nf-core website.
  • pipeline_todos - TODO string in main.nf: Optionally add in-text citation tools to this list.
  • pipeline_todos - TODO string in main.nf: Optionally add bibliographic entries to this list.
  • pipeline_todos - TODO string in main.nf: Only uncomment below if logic in toolCitationText/toolBibliographyText has been filled!
  • 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
  • pipeline_todos - TODO string in base.config: Check the defaults for all processes
  • pipeline_todos - TODO string in base.config: Customise requirements for specific processes.

❔ Tests ignored:

✅ Tests passed:

Run details

  • nf-core/tools version 2.14.1
  • Run at 2024-05-28 16:14:01

Copy link
Member

@JoseEspinosa JoseEspinosa left a comment

Choose a reason for hiding this comment

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

Very nice just a couple of suggestions

docs/usage.md Outdated Show resolved Hide resolved
docs/usage.md Outdated

While those options allow the pipeline to run its steps offline, the pipeline requires certain configuration files and container images that are downloaded from the internet. If you wish to run the pipeline on a machine without a connection, you can pre-download the required files with `nf-core download`. See [the nf-core tools documentation](https://nf-co.re/docs/nf-core-tools/pipelines/download) for details.

### Downstream analysis

Downstream analysis relies on online resources to obtain sequences and structures, and thus cannot be run offline. For your convenience, it will be automatically disabled if you enable `offline_run`. Note that in case some sequences or structures cannot be obtained, the corresponding ortholog will be excluded from the alignment and phylogeny. In particular, only the orthologs with both a sequence and a structure available will be retained if `use_structures` is enabled.
Copy link
Member

Choose a reason for hiding this comment

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

Would be nice to first define what downstream analyses (not sure if should be plural) is/are

nextflow_schema.json Outdated Show resolved Hide resolved
@@ -36,16 +36,15 @@ workflow GET_ORTHOLOGS {
ch_eggnog = params.eggnog_path ? Channel.value(file(params.eggnog_path)) : Channel.empty()
ch_eggnog_idmap = params.eggnog_idmap_path ? Channel.value(file(params.eggnog_idmap_path)) : Channel.empty()

fasta_input = true
Copy link
Member

Choose a reason for hiding this comment

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

Looks much nicer now ❤️

itrujnara and others added 3 commits May 28, 2024 18:10
Copy link
Contributor

@luisas luisas left a comment

Choose a reason for hiding this comment

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

Amazing amazing job Igor!!

@itrujnara itrujnara changed the title [do not merge] Multiple fixes Multiple fixes May 29, 2024
@itrujnara itrujnara merged commit cb220ff into nf-core:dev May 29, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants