group2.add_argument("-s",dest="spectra",help="Path to the spectra files (one spectrum per file). Authorized formats: cvs, mgd, mzML.",type=str,required=True)
group2.add_argument("-e",dest="error",help="Maximal error margin for the observation (in Dalton or ppm). Recommended values: 0.02 for maldi FT and 0.1 for maldi TOF.",type=float)
group2.add_argument("-o",dest="output",help="Output path (should include the output file name)",type=str)
group3=parser.add_argument_group('\nOptions for organism selection')
group1.add_argument("-s",dest="spectra",help="Path to the spectra files. Authorized formats: cvs, mgd, mzML.",type=str,required=True)
group1.add_argument("-e",dest="error",help="Error margin tolerance for the observation (in Dalton or ppm). Recommended values: 0.02 for maldi FT and 0.1 for maldi TOF.",type=float)
group1.add_argument("-o",dest="output",help="Output path (should include the output file name)",type=str)
group2=parser.add_argument_group('\nSelection of organisms, basic usage')
group2.add_argument("--mammals",help="use pre-computed peptide table and taxonomy for mammals.",action='store_true')
group3=parser.add_argument_group('\nSelection of organisms, advanced usage')
group3.add_argument("-d",dest="directory",help="Directory where to find Fasta files.",type=str)
group3.add_argument("-l",dest="limit",help="Limit the set of peptides or fasta sequences to organisms, molecules or sequence ID specified in this file (TSV files)",type=str,required=False)
group4=parser.add_argument_group('\nOptions for suboptimal solutions')
group4.add_argument("-n",dest="neighbour",help="Provide near-optimal solutions within a specified percentage margin, ranging between 0 and 100. Default is 100. With -n 100, only optimal solutions are provided.",type=int,required=False,default=100)
group4.add_argument("-a",dest="all",action='store_true',help="Provide all solutions within the percentage margin specified with option -n, and not only suboptimal solutions. Default is False.",required=False)
group4=parser.add_argument_group('\nOptions to limit peptide markers')
group4.add_argument("-l",dest="limit",help="Limit the set of peptides or fasta sequences to organisms, molecules or sequence ID specified in this file (TXT file)",type=str,required=False)
group5.add_argument("--deamidation",dest="deamidation",help="Apply deamidation to peptide markers. Can be used in conjunction with the -l option to specify the list of peptide markers to process. By default, all markers are processed.",action='store_true',required=False)
group6=parser.add_argument_group('\nOptions for suboptimal solutions')
group6.add_argument("-n",dest="neighbour",help="Provide near-optimal solutions within a specified percentage margin, ranging between 0 and 100. Default is 100. With -n 100, only optimal solutions are provided.",type=int,required=False,default=100)
group6.add_argument("-a",dest="all",action='store_true',help="Provide all solutions within the percentage margin specified with option -n, and not only suboptimal solutions. Default is False.",required=False,default=False)