-
Notifications
You must be signed in to change notification settings - Fork 10
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
Prokka and prodigal modules update #87
Conversation
|
There was a problem hiding this 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.
modules/local/format_prodigal.nf
Outdated
'quay.io/biocontainers/gzip:1.11 ' }" | ||
|
||
input: | ||
tuple val(meta), path(eggnog) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why eggnog
? Confusing.
There was a problem hiding this comment.
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.
modules/local/format_prodigal.nf
Outdated
prefix = task.ext.prefix ?: "${meta.id}" | ||
|
||
""" | ||
|
There was a problem hiding this comment.
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).
subworkflows/local/prodigal.nf
Outdated
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove.
subworkflows/local/prodigal.nf
Outdated
|
||
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' |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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' |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
PR checklist
nf-core lint
).nextflow run . -profile test,docker
).docs/usage.md
is updated.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."