nservant / HiC-Pro

HiC-Pro: An optimized and flexible pipeline for Hi-C data processing
Other
382 stars 183 forks source link

improvement: replaces run with entrypoint #487

Closed claymcleod closed 2 years ago

claymcleod commented 2 years ago

Hi @nservant,

Thanks for the great package! When I was setting up with Docker, I realized you use a run command—I'd highly recommend creating a default ENTRYPOINT and then default arguments to be passed to that entrypoint with CMD. This way, users can use the tool out of the box without having to jump inside the container or add extraneous arguments to the docker call.

Old Output

> docker run nservant/hicpro
>

(nothing is printed to the screen)

New output

> docker run nservant/hicpro
usage : HiC-Pro -i INPUT -o OUTPUT -c CONFIG [-s ANALYSIS_STEP] [-p] [-h] [-v]
Use option -h|--help for more information