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

feat!: declare annotator CLI as console entrypoint #447

Merged
merged 6 commits into from
Sep 5, 2024
Merged

Conversation

jsstevenson
Copy link
Contributor

@jsstevenson jsstevenson commented Aug 30, 2024

Declare the annotator click function as a console entry point, enabling vrs-annotate input.vcf --vcf_out=out.vcf rather than python3 src/ga4gh/vrs/extras/vcf_annotation.py input.vcf --vcf_out=out.vcf.

Open to suggestions on the command name. I'd prefer a structure more along the lines of vrs-annotate vcf input.vcf --vcf_out=out.vcf (i.e., vrs-annotate is the command, vcf is a subcommand) if we think there's a chance that other filetypes could be annotated in the future (in that case, we may want to alter the module name as well). Alternatively, though, the subcommand might be superfluous if the file argument has a suffix indicating the filetype.

@jsstevenson jsstevenson marked this pull request as ready for review September 3, 2024 19:13
@jsstevenson jsstevenson requested review from a team as code owners September 3, 2024 19:13
@jsstevenson jsstevenson added the priority:low Low priority label Sep 3, 2024
@jsstevenson
Copy link
Contributor Author

initial feelings seem to be supportive of vcf subcommand to vrs-annotate

@jsstevenson jsstevenson merged commit 36e8976 into main Sep 5, 2024
6 checks passed
@jsstevenson jsstevenson deleted the vcf-script branch September 5, 2024 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority:low Low priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants