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

Prokka and prodigal modules update #87

Merged
merged 8 commits into from
Jan 24, 2023

Conversation

danilodileo
Copy link
Collaborator

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!
    • 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/metatdenovo 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).
  • 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).

I made changes in prodigal output + added a '--metagenome' to prokka.

as mentioned in prokka's website tseemann/prokka#399 prokka doesn't provide the same output as prodigal, it turns out with less gene predicted. Prokka people might not be interested in fix this issue. As the author wrote on GitHub "Prokka is not really designed for metagenomes."

@danilodileo danilodileo changed the title Prokka and prodigal update module Prokka and prodigal modules update Jan 22, 2023
@github-actions
Copy link

github-actions bot commented Jan 22, 2023

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 1b920ae

+| ✅ 155 tests passed       |+
!| ❗  18 tests had warnings |!

❗ Test warnings:

  • files_exist - File not found: conf/igenomes.config
  • nextflow_config - Config manifest.version should end in dev: '2.5.1'
  • pipeline_todos - TODO string in README.md: Write a 1-2 sentence summary of what data the pipeline is for and what it does
  • pipeline_todos - TODO string in README.md: Add full-sized test dataset and amend the paragraph below if applicable
  • pipeline_todos - TODO string in README.md: Update the example "typical command" below used to run the pipeline
  • pipeline_todos - TODO string in README.md: If applicable, make list of people who have also contributed
  • 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 README.md: Add bibliography of tools and data used in your pipeline
  • pipeline_todos - TODO string in ci.yml: You can customise CI pipeline run tests as required
  • pipeline_todos - TODO string in awsfulltest.yml: You can customise AWS full pipeline tests as required
  • pipeline_todos - TODO string in WorkflowMain.groovy: Add Zenodo DOI for pipeline after first release
  • 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.
  • pipeline_todos - TODO string in test_full.config: Specify the paths to your full test data ( on nf-core/test-datasets or directly in repositories, e.g. SRA)
  • pipeline_todos - TODO string in test_full.config: Give any required params for the test so that command line flags are not needed
  • 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 output.md: Write this documentation describing your workflow's output
  • pipeline_todos - TODO string in methods_description_template.yml: #Update the HTML below to your prefered methods description, e.g. add publication citation for this pipeline

✅ Tests passed:

Run details

  • nf-core/tools version 2.7.2
  • Run at 2023-01-24 07:14:45

@danilodileo danilodileo changed the base branch from master to dev January 22, 2023 17:42
Danilo Di Leo added 2 commits January 22, 2023 18:43
Copy link
Member

@erikrikarddaniel erikrikarddaniel left a comment

Choose a reason for hiding this comment

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

Some small comments. We should make an inventory of what's gzipped and what's not from the three orf callers.

'quay.io/biocontainers/gzip:1.11 ' }"

input:
tuple val(meta), path(eggnog)
Copy link
Member

Choose a reason for hiding this comment

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

Why eggnog? Confusing.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I used eggnog_table.nf as template but I forgot to change the names in some areas :) I changed it.

prefix = task.ext.prefix ?: "${meta.id}"

"""

Copy link
Member

Choose a reason for hiding this comment

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

Remove the empty line (I think; i.e. follow conventions).

Comment on lines 18 to 19


Copy link
Member

Choose a reason for hiding this comment

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

Remove.


include { PRODIGAL as PRODIGAL_MODULE } from '../../modules/nf-core/prodigal/main'
include { FORMAT_PRODIGAL } from '../../modules/local/format_prodigal.nf'
include { UNPIGZ as UNPIGZ_FASTA_PROTEIN } from '../../modules/local/unpigz.nf'
Copy link
Member

Choose a reason for hiding this comment

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

You're not using this, I think.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

right. I removed it . I noticed that I didn't need to unpigz while I was working on it but I forgot it there.

@@ -72,7 +72,6 @@ ch_multiqc_custom_methods_description = params.multiqc_methods_description ? fil
// MODULE: local
//
include { MEGAHIT_INTERLEAVED } from '../modules/local/megahit/interleaved.nf'
include { UNPIGZ as UNPIGZ_FASTA_PROTEIN } from '../modules/local/unpigz.nf'
Copy link
Member

Choose a reason for hiding this comment

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

You moved this to the new subworkflow, but never used it. This makes me wonder which output files from the three orf callers are gzipped and which are not; and do we need to do something about this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

it seems that transdecoder still needs to unpigz

@erikrikarddaniel erikrikarddaniel merged commit fd6e8ab into nf-core:dev Jan 24, 2023
@danilodileo danilodileo deleted the prokka_update_module branch January 24, 2023 09:19
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