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

Initial addition #7089

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

Initial addition #7089

wants to merge 2 commits into from

Conversation

ramirobarrantes
Copy link
Contributor

@ramirobarrantes ramirobarrantes commented Nov 25, 2024

PR checklist

Initial addition of module coptr/extract, fourth of five modules for the coptr package

  • If you've added a new tool - have you followed the module conventions in the contribution docs
  • 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:
    - [X] nf-core modules test --profile docker
    - [X] nf-core modules test --profile singularity
    - [X] nf-core modules test --profile conda

"""

stub:
def args = task.ext.args ?: ''
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
def args = task.ext.args ?: ''

}
}

test("coptr extract single bam file") {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this one supposed to be a stub?

Suggested change
test("coptr extract single bam file") {
test("coptr extract single bam file - stub") {
options "-stub"

'biocontainers/coptr:1.1.4--pyhdfd78af_3' }"

input:
tuple val(meta), path(bam, stageAs: "bamfolder/*")
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 these being staged into the bamfolder, rather than just into the directory?
Can the tool not take . as the folder containing the bams?

Comment on lines +25 to +28
coptr \
extract \
$args \
bamfolder/ \
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
coptr \
extract \
$args \
bamfolder/ \
coptr \\
extract \\
$args \\
bamfolder/ \\

So the line breaks remain in the command executed

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