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

Shigapass #6636

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open

Shigapass #6636

wants to merge 16 commits into from

Conversation

maxlcummins
Copy link

@maxlcummins maxlcummins commented Sep 13, 2024

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 module conventions in the contribution docs
  • If necessary, include test data in your PR.
  • Remove all TODO statements.
  • Emit the versions.yml file.
  • Follow the naming conventions.
  • Follow the parameters requirements.
  • Follow the input/output options guidelines.
  • Add a resource label
  • Use BioConda and BioContainers if possible to fulfil software requirements.
  • Ensure that the test works with either Docker / Singularity. Conda CI tests can be quite flaky:
    • For modules:
      • nf-core modules test <MODULE> --profile docker
      • nf-core modules test <MODULE> --profile singularity
      • nf-core modules test <MODULE> --profile conda
    • For subworkflows:
      • nf-core subworkflows test <SUBWORKFLOW> --profile docker
      • nf-core subworkflows test <SUBWORKFLOW> --profile singularity
      • nf-core subworkflows test <SUBWORKFLOW> --profile conda

@maxlcummins maxlcummins requested a review from a team as a code owner September 13, 2024 02:20
@maxlcummins maxlcummins requested review from SPPearce and removed request for a team September 13, 2024 02:20
maxlcummins added a commit to maxlcummins/modules that referenced this pull request Sep 16, 2024
@SPPearce
Copy link
Contributor

If you ask on the nf-core slack github-invitations channel you can be added to the organisation and then the tests will run.

modules/nf-core/shigapass/main.nf Outdated Show resolved Hide resolved
Shigella flexneri genomes will result in an extra output - fixed the module to handle this
Change shigapass module output delimiter to tab from semicolon
Copy link
Contributor

@SPPearce SPPearce left a 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.

Comment on lines 14 to 15
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
Copy link
Contributor

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
Copy link
Contributor

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:)

Comment on lines +46 to +47
# Convert to tab delimited and move to the pwd
sed 's/;/\t/g' ${prefix}/ShigaPass_summary.csv > ${prefix}.tsv
Copy link
Contributor

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.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
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
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
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

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