required.add_argument("-output","-o",help="Target directory for the pipeline results",required=True)
basic.add_argument("-reference","-r",help="Reference for alignment and statistics")
advanced.add_argument("-list",help="A list of regions to work on (format: [r1, r2, ...] or [rStart_End, ...]) (default: no region)")
basic.add_argument("-size","-s",help="The desired region size (default: 2000)",default='2000')
basic.add_argument("-size","-s",help="The desired region size (default: maximum)",default='0')
basic.add_argument("-tools","-t",help="The list of tools to use in the meta-consensus (default: ['abpoa', 'spoa', 'kalign2', 'kalign3', 'mafft', 'muscle'])",default="['abpoa', 'spoa', 'kalign2', 'kalign3', 'mafft', 'muscle']")
basic.add_argument("-consensus_threshold","-ct",help="Threshold(s) used for the MSA consensus step (default: [70])",default="[70]")
basic.add_argument("-metaconsensus_threshold","-mt",help="Threshold(s) used for the Meta-consensus result (default: [60])",default="[60]")
basic.add_argument("-depth","-d",help="The depth used in the process (default: [60])",default="[60]")
basic.add_argument("-depth","-d",help="The depth used in the process (default: max)",default="0")
#parser.add_argument("-plot", help="Analyse the meta-consensus and MSA consensus quality (requires reference)", action='store_true')
advanced.add_argument("-region_overlap",help="The size of the overlap between regions",default="50")
advanced.add_argument("-cores",help="The amount of cores to use in the pipeline run (default 1)",default=1)
if 'length' in config and int(config['length']) > HIGH_LENGTH:
eprint("\nWarning: a high region length may cause the Multiple Sequence Alignment phase to be extremely SLOW")
if "muscle" in config["tool"]:
eprint("\t- muscle may be extremely SLOW for high length")
if "abpoa" in config["tool"]:
eprint("\t- abpoa may require a lot of memory to run, consider disabling it or working on smaller regions if you encounter problems allocating memory")
if "spoa" in config["tool"]:
eprint("\t- spoa may require a lot of memory to run, consider disabling it or working on smaller regions if you encounter problems allocating memory")