-
Notifications
You must be signed in to change notification settings - Fork 714
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
Shigapass #6636
base: master
Are you sure you want to change the base?
Shigapass #6636
Conversation
If you ask on the nf-core slack |
af813b4
to
c3540a8
Compare
fix meta flag re linting/testing errors: "is not of type 'array'."
Fix typo in singularity container
ccf0ffc
to
92cb094
Compare
Shigella flexneri genomes will result in an extra output - fixed the module to handle this
Change shigapass module output delimiter to tab from semicolon
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.
Just some minor comments.
modules/nf-core/shigapass/main.nf
Outdated
tuple val(meta), path("*.csv"), emit: report | ||
tuple val(meta), path("*_ShigaPass_summary.csv"), emit: report | ||
tuple val(meta), path("*_ShigaPass_Flex_summary.csv"), optional: true, emit: flex_csv |
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.
Can you please line up the commas (I'd swap the emit before the optional too)
tuple val(meta), path(fasta) | ||
|
||
output: | ||
tuple val(meta), path("${prefix}.tsv"), emit: report |
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.
Can you align the commands please (and I would put the optional: true after the emit:)
# Convert to tab delimited and move to the pwd | ||
sed 's/;/\t/g' ${prefix}/ShigaPass_summary.csv > ${prefix}.tsv |
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 are you converting to tab delimited from csv?
@@ -0,0 +1,41 @@ | |||
name: shigapass | |||
description: ShigaPass is a new in silico tool used to predict Shigella serotypes and to differentiate between Shigella, EIEC (Enteroinvasive E. coli), and non Shigella/EIEC using assembled whole genomes. |
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.
description: ShigaPass is a new in silico tool used to predict Shigella serotypes and to differentiate between Shigella, EIEC (Enteroinvasive E. coli), and non Shigella/EIEC using assembled whole genomes. | |
description: ShigaPass is an in silico tool used to predict Shigella serotypes and to differentiate between Shigella, EIEC (Enteroinvasive E. coli), and non Shigella/EIEC using assembled whole genomes. |
- stec | ||
tools: | ||
- shigapass: | ||
description: ShigaPass is a new in silico tool used to predict Shigella serotypes |
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.
description: ShigaPass is a new in silico tool used to predict Shigella serotypes | |
description: ShigaPass is an in silico tool used to predict Shigella serotypes |
PR checklist
versions.yml
file.label
nf-core modules test <MODULE> --profile docker
nf-core modules test <MODULE> --profile singularity
nf-core modules test <MODULE> --profile conda
nf-core subworkflows test <SUBWORKFLOW> --profile docker
nf-core subworkflows test <SUBWORKFLOW> --profile singularity
nf-core subworkflows test <SUBWORKFLOW> --profile conda