The run10x and smartseq2 subcommands share many command-line options.
I made some improvements to the the command-line help for run10x in an
earlier commit. Instead of re-doing these for the smartseq2 subcommand,
move the common options into a separate function.
I’ve added a couple of more commits that aren’t strictly related to factoring out the function. I would usually open up separate PRs, but the changes are small and dependent on each other.
The run10x and smartseq2 subcommands share many command-line options. I made some improvements to the the command-line help for run10x in an earlier commit. Instead of re-doing these for the smartseq2 subcommand, move the common options into a separate function.