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

Location of idkey in plugin-configuration for overriding meta.id as default for matching samples #20

Open
sgsutcliffe opened this issue Oct 10, 2024 · 0 comments

Comments

@sgsutcliffe
Copy link

sgsutcliffe commented Oct 10, 2024

When the meta.id key needs to be replaced for matching samples the configuration file needs to be formatted in the files key
e.g.,

iridanext {
    enabled = true
    output {
        path = "${params.outdir}/iridanext.output.json.gz"
        overwrite = true
        files {
            idkey = "irida_id"
            global = ["**/summary/summary.txt.gz"]
            samples = ["**/assembly/*.assembly.fa.gz"]
        }
        metadata {
            samples {
                csv {
                    path = "**/output.csv"
                    idcol = "column1"
                }
  }
    }
}

This location makes sense if it is being used to identify files but it can also be used to identify metadata, so it might be more intuitive to allow the idkey in the output { } and/or in the metadata { } .

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

No branches or pull requests

1 participant