Commit fb216674 authored by Pauline Pommeret's avatar Pauline Pommeret

Adding default values to the args help message

parent 7320afdd
......@@ -19,13 +19,13 @@ if __name__ == "__main__":
PARSER = argparse.ArgumentParser(description="ToDo")
# Adding arguments to the parser
PARSER.add_argument("-a", "--alphabet", type=str, default="dna", help="sequences alphabet (dna, rna, prot), currently only dna is implemented [str]", action="store")
PARSER.add_argument("-A", "--alpha", type=float, default=0.05, help="alpha parameter of the Student table that is to be used in the statistical analysis [float]", action="store")
PARSER.add_argument("-c", "--centering", type=int, default=72, help="number of bp that are to be considered as the center of the sequence [int]", action="store")
PARSER.add_argument("-g", "--graph", type=int, default=None, help="number of graphs that are to be plotted, currently not implemented [int].", action="store")
PARSER.add_argument("-s", "--sliding", type=int, default=72, help="number of bp that are to be included in the smoothing window [int]", action="store")
PARSER.add_argument("-t", "--trx-scale-file", type=str, default=trx_lib.SCALE_FILE, help="path to trx scale file [str]", action="store")
PARSER.add_argument("datadir", type=str, help="Path to the data directory.", action="store")
PARSER.add_argument("-a", "--alphabet", type=str, default="dna", help="[str] sequences alphabet (dna, rna, prot), currently only dna is implemented (default: 'dna')", action="store")
PARSER.add_argument("-A", "--alpha", type=float, default=0.05, help="[float] alpha parameter of the Student table that is to be used in the statistical analysis (default: 0.05)", action="store")
PARSER.add_argument("-c", "--centering", type=int, default=72, help="[int] number of bp that are to be considered as the center of the sequence (default: 72)", action="store")
PARSER.add_argument("-g", "--graph", type=int, default=None, help="[int] number of graphs that are to be plotted, currently not implemented (default: None)", action="store")
PARSER.add_argument("-s", "--sliding", type=int, default=72, help="[int] number of bp that are to be included in the smoothing window (default: 72)", action="store")
PARSER.add_argument("-t", "--trx-scale-file", type=str, default=trx_lib.SCALE_FILE, help="[str] path to trx scale file (default: trx_lib.SCALE_FILE)", action="store")
PARSER.add_argument("datadir", type=str, help="[str] path to the data directory", action="store")
# Then, parse it
ARGS = PARSER.parse_args()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment