Skip to content

Add options to trident init/rectify CLI #370

Description

@TCLamnidis

Currently, trident init can be used to set POSEIDON.yml attributes like snpSet, but cannot be used to set the referenceGenomeAssembly or referenceGenomeAssemblyURL attributes of the dataset, even though that is something that is closely associated with the genotype data added in a package as well.

Similarly, trident rectify can be used to update other attributes of the YAML, like contributors, or checksums.

Currently, referenceGenomeAssembly* can only be updated by manually editing the YAML file.

I would favour adding options like --referenceAssembly and --referenceGenomeAssemblyURL to trident init, so this information of the genotype data can be added to packages directly on the CLI. Similarly, it would be nice to have an option to rectify existing packages to add/edit this information (if the package is of a compatible version) from the CLI.

I generally find that having to open and edit the POSEIDON.yml files manually is error prone.

Unsure how simple that is to implement, but I could also imagine a system like that used for contributors with a mini-language using markdown link syntax to set the assembly name and URL also.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions