Parse command line parameter using Commons CLI in JAVA

Here is an example of parsing command line parameter using Commons CLI in  JAVA:

After compiling the program:

You can run:
java TestCommandLine --window-size 10 -p-value-cutoff 100

You can also run:
java TestCommandLine -w 10 -p 100

Shaojun Xie

Comments

Popular posts from this blog

gspread error:gspread.exceptions.SpreadsheetNotFound

Miniconda installation problem: concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.

P and q values in RNA Seq