v1.1.0
Big thanks to @mbhall88 for submitting #5 with the following improvements!
Added
-o
shorthand option for--outdir
- a flag
-F/--only-provider
, which supercedes--sra_only
. I left--sra_only
in there for backwards compatibility and added a deprecation notice in the help description for it. - Conda environment file
- Dockerfile. Feel free to try out an image from my quay.io repo here.
Changed
- Move everything into a
main
function to avoid variable shadowing - Provider is now optional and defaults to
ena
. I've also made the option case insensitive, rather than listing the cased versions of the available providers - If ENA download fails, try SRA
- Reduced a bunch of
execute
calls which were mostly operations easily dealt with bypathlib.Path
- Changed
md5sum
to usehashlib.md5
instead of executing a subprocess call tomd5sum
- Moved a bunch of
import
statements out of function bodies to the top of the file
Removed
- Docstring at top of file as this is a mirror of argparse's help menu and creates needless maintenance