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

Use subcommands for command line interface #201

Open
inodb opened this issue Jul 19, 2022 · 0 comments
Open

Use subcommands for command line interface #201

inodb opened this issue Jul 19, 2022 · 0 comments

Comments

@inodb
Copy link
Member

inodb commented Jul 19, 2022

It would be nice if we could use a more subcommand style interface as done here: https://github.com/genome-nexus/genome-nexus-cli

So e.g. to convert:

genome-nexus-annotation-pipeline convert variants.vcf > variants.maf

merge multiple MAFs:

genome-nexus-annotation-pipeline merge folder_with_mafs > output.maf

annotate a MAF:

genome-nexus-annotation-pipeline annotate maf test/data/minimal_example.in.txt [...more arguments] > test/data/minimal_example.out.txt

annotate a variant:

genome-nexus-annotation-pipeline annotate variant 17:g.41242962_41242963insGA > variant.json

show full help of all commands:

$ genome-nexus-annotation-pipeline --help
    convert
    merge
    annotate

The current pipeline arguments are idiosyncratic to our internal annotation processes and not super user friendly for external users

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

No branches or pull requests

1 participant