Skip to content

Conversation

@georgiakes
Copy link
Member

@georgiakes georgiakes commented Jan 7, 2026

PR checklist

Closes #7963

  • 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

@georgiakes georgiakes added the new module Adding a new module label Jan 7, 2026
Copy link
Contributor

@famosab famosab left a comment

Choose a reason for hiding this comment

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

Looks good just one small request :)

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 rename this to nextflow.config? That is what we advise to do :)


test("homo_sapiens - kir") {

config "./download.config"
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
config "./download.config"
config "./nextflow.config"


test("homo_sapiens - kir - stub") {

config "./download.config"
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
config "./download.config"
config "./nextflow.config"

Comment on lines +81 to +82
file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/genome.fasta' ,checkIfExists: true),
file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/genome.gtf' ,checkIfExists: true)
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
file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/genome.fasta' ,checkIfExists: true),
file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/genome.gtf' ,checkIfExists: true)
file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/genome.fasta', checkIfExists: true),
file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/genome.gtf', checkIfExists: true)

Comment on lines +111 to +112
file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/genome.fasta' ,checkIfExists: true),
file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/genome.gtf' ,checkIfExists: true)
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
file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/genome.fasta' ,checkIfExists: true),
file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/genome.gtf' ,checkIfExists: true)
file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/genome.fasta', checkIfExists: true),
file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/genome.gtf', checkIfExists: true)

Comment on lines +14 to +18
tuple val(meta), path("*_rna_seq.fa") , optional: true, emit: rna_sequences
tuple val(meta), path("*_dna_seq.fa") , optional: true, emit: dna_sequences
tuple val(meta), path("*_rna_coord.fa") , optional: true, emit: rna_coordinates
tuple val(meta), path("*_dna_coord.fa") , optional: true, emit: dna_coordinates
tuple val(meta), path("*.dat") , optional: true, emit: database
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
tuple val(meta), path("*_rna_seq.fa") , optional: true, emit: rna_sequences
tuple val(meta), path("*_dna_seq.fa") , optional: true, emit: dna_sequences
tuple val(meta), path("*_rna_coord.fa") , optional: true, emit: rna_coordinates
tuple val(meta), path("*_dna_coord.fa") , optional: true, emit: dna_coordinates
tuple val(meta), path("*.dat") , optional: true, emit: database
tuple val(meta), path("*_rna_seq.fa") , optional: true, emit: rna_sequences
tuple val(meta), path("*_dna_seq.fa") , optional: true, emit: dna_sequences
tuple val(meta), path("*_rna_coord.fa"), optional: true, emit: rna_coordinates
tuple val(meta), path("*_dna_coord.fa"), optional: true, emit: dna_coordinates
tuple val(meta), path("*.dat") , optional: true, emit: database

def ena_args = ena ? "-d ${ena}" : ''
def fasta_args = fasta ? "-f ${fasta}" : ''
def annotation_args = annotation ? "-g ${annotation}" : ''

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

new module: t1k

2 participants