ncbi / sra-human-scrubber

An SRA tool that takes as input local fastq file from a clinical infection sample, identifies and removes any significant human read, and outputs the edited (cleaned) fastq file that can safely be used for SRA submission.
Other
44 stars 7 forks source link

print version # and exit option #28

Open chrisgulvik opened 11 months ago

chrisgulvik commented 11 months ago

This is related to Issue #14. You're using getopts bash which doesn't support long --version opts, so understandably you couldn't easily change that. Would it be possible to add to the scrub.sh a -v option to print out the software version number and exit without requiring a file to process?

Even a "sra-human-scrubber v2.2.1" in the scrub.sh help menu would be useful if the extra -v opt is too much tinkering. My hope is just to grab the version number without wasting CPU resources on a testfile.

Your CHANGELOG.md lists the latest version, but that's not available for conda and docker.