Skip to content

Add poppunk/createdb module#11118

Open
cwoodside1278 wants to merge 1 commit intonf-core:masterfrom
cwoodside1278:poppunk
Open

Add poppunk/createdb module#11118
cwoodside1278 wants to merge 1 commit intonf-core:masterfrom
cwoodside1278:poppunk

Conversation

@cwoodside1278
Copy link
Copy Markdown
Contributor

No description provided.

@cwoodside1278 cwoodside1278 self-assigned this Apr 2, 2026
description: HDF5 file containing the k-mer sketches for all input
genomes
pattern: "*.h5"
ontologies: []
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can an ontology be added here please?

- ${meta.id}/${meta.id}.dists.*:
type: file
description: Pairwise distance matrix files (numpy and pickle format)
pattern: "*.dists.*"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
pattern: "*.dists.*"
pattern: "*.dists.{npy,pkl}"

Looking at the description/snapshots, is this correct?

type: file
description: Pairwise distance matrix files (numpy and pickle format)
pattern: "*.dists.*"
ontologies: []
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can ontologies be added here please?

[
"POPPUNK_CREATEDB",
"poppunk",
"poppunk 2.7.8"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

description: |
Tab-separated file listing sample names and paths to their assembly FASTA files.
Format: <sample_name>\t<path/to/assembly.fa>
pattern: "*.{txt,tsv}"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
pattern: "*.{txt,tsv}"
pattern: "*.txt"

Looking at the snapshots, is this correct?

then {
assert process.success
assertAll(
{ assert snapshot(process.out).match() }
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
{ assert snapshot(process.out).match() }
{ assert snapshot(sanitizeOutput(process.out)).match() }

See https://nf-co.re/docs/tutorials/tests_and_test_data/components/03_testing_modules/

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