Skip to content

v1.1.0

Compare
Choose a tag to compare
@rpetit3 rpetit3 released this 01 Jun 00:37
· 97 commits to master since this release
5e353ff

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 by pathlib.Path
  • Changed md5sum to use hashlib.md5 instead of executing a subprocess call to md5sum
  • 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