bcgsc / AMPlify

Attentive deep learning model for antimicrobial peptide prediction
Other
39 stars 9 forks source link

Add version info #13

Closed jasmezz closed 1 year ago

jasmezz commented 2 years ago

For reproducibility and usage in pipelines with multiple tools, it would be useful to have AMPlify output its version number. Best would be to add a flag like:

$ AMPlify --version
AMPlify 1.0.3

Alternatively, just adding the version to the usage info or to the output of the help flag would be helpful, like this:

$ AMPlify --help
AMPlify 1.0.3
Using TensorFlow backend.
usage: AMPlify.py [-h] [-md MODEL_DIR]
                  [-m MODEL_NAME MODEL_NAME MODEL_NAME MODEL_NAME MODEL_NAME]
                  -s SEQS [-od OUT_DIR] [-of {txt,tsv}] [-att {on,off}]

AMPlify
------------------------------------------------------
Predict whether a sequence is AMP or not.
...
mark0428 commented 1 year ago

Thanks for the helpful suggestion! We have now added the version number into the usage information.