Skip to content

Fix meta ID in tests to match new test data file names #76

Description

@mathiasbio

Description

In the current subworkflow tests for generate cytosure and preprocess_snvs we are setting metadata IDs to "SNV" which is no longer correct, and should now be "subject_a" to match the new filenames.

How to reproduce

Check here: https://github.com/Clinical-Genomics/oncorefiner/blob/dev/subworkflows/local/process_snvs/tests/main.nf.test

The parsing of the VCF name here in "main.nf"

ch_snv_vcf              = channel.fromPath(val_snv_vcf).map { vcf -> [[id:vcf.simpleName], vcf] }.collect()
ch_snv_vcf_tbi          = channel.fromPath(val_snv_vcf + '.tbi', checkIfExists: true).map { vcf -> [[id:vcf.simpleName], vcf] }.collect()

Takes the first string before the "." which is subject_a

Expected behaviour

No response

Anything else?

No response

System information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions