Skip to content

Test: Phold#11661

Draft
anna-parker wants to merge 4 commits into
nf-core:masterfrom
anna-parker:phold
Draft

Test: Phold#11661
anna-parker wants to merge 4 commits into
nf-core:masterfrom
anna-parker:phold

Conversation

@anna-parker
Copy link
Copy Markdown

PR checklist

Closes #XXX

  • 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.
  • Broadcast software version numbers to topic: versions - See version_topics
  • 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

Comment thread test.nf
@@ -0,0 +1,13 @@
include { PHOLD_RUN } from './modules/nf-core/phold/run/main'

workflow {
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

needs to be added to proper tests - but works!

Comment thread nextflow.config
accelerator = 1
memory = '10 GB'
ext.prefix = 'test_output'
ext.args = '--database /home/ubuntu/virusbioinfhack/nf-core-modules/data/phold_db'
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

db has to be downloaded in advance and this takes quite some time

tuple val(meta), path(input)

output:
tuple val(meta), path("*/phold_3di.fasta") , emit: fasta_3di
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

This should probably be altered so that phold is the modifiable prefix and the "prefix" here is actually the output dir

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.

1 participant