Closed lcolladotor closed 7 years ago
What about using flags instead of hard-to-remember positions of the argument string? Like: --build hg19 --paired TRUE etc
On Tue, Jan 24, 2017 at 2:48 PM, Leonardo Collado-Torres < notifications@github.com> wrote:
Hi,
I know that we have been adding lots of changes to the shell scripts recently. Some of these additions change the order of the options and/or the number of them. I think that it'll be cool if we make the shell scripts more robust. See http://www.bahmanm.com/blogs/command-line-options-how-to- parse-in-bash-using-getopt for an idea.
If you like this, I can implement it.
Best, Leo
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/LieberInstitute/RNAseq-pipeline/issues/16, or mute the thread https://github.com/notifications/unsubscribe-auth/AAmMaF-AAzOf3Q0XswxJytWGaJWP7jkMks5rVlWdgaJpZM4LstHM .
That's what getopt
will allow us to do.
Haha sounds good, I skipped immediately to "option strings" and the code example when skimming that site...now I see what you're talking about -a
On Tue, Jan 24, 2017 at 5:17 PM, Leonardo Collado-Torres < notifications@github.com> wrote:
That's what getopt will allow us to do.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/LieberInstitute/RNAseq-pipeline/issues/16#issuecomment-274957305, or mute the thread https://github.com/notifications/unsubscribe-auth/AAmMaKpH9WKDB1y4DGRG-EMriuYigeA0ks5rVnh_gaJpZM4LstHM .
Hi,
I know that we have been adding lots of changes to the shell scripts recently. Some of these additions change the order of the options and/or the number of them. I think that it'll be cool if we make the shell scripts more robust. See http://www.bahmanm.com/blogs/command-line-options-how-to-parse-in-bash-using-getopt for an idea.
If you like this, I can implement it.
Best, Leo