PacificBiosciences / FALCON

FALCON: experimental PacBio diploid assembler -- Out-of-date -- Please use a binary release: https://github.com/PacificBiosciences/FALCON_unzip/wiki/Binaries
https://github.com/PacificBiosciences/FALCON_unzip/wiki/Binaries
Other
205 stars 102 forks source link

Reporting tool version, e.g. fc_run.py -v or --version #641

Open peterjc opened 6 years ago

peterjc commented 6 years ago

As far as I can tell, none of the executable Falcon scripts support a -v or --version command line option to print their version and exit with return code zero.

This is a very common convention, useful in many contexts including larger pipelines where is it important to log the versions of tools used, and automating checking of dependencies.

Could this be added please?

peterjc commented 6 years ago

Also, related to this, could the existing -h help option be expanded to report the tool's version?

This would be a less invasive change, although not quite as useful, but you could then do something like:

$ fc_run.py -h | grep version
pb-cdunn commented 6 years ago

That's a good idea. We'll do both, eventually. Thanks!