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

P and q values in RNA Seq

Update the TOC (table of content) of MS Word .docx documents with Python