def main():
    args = app.parse_args()
    out = match_deconvoluted_ions(
        args.search_space,
        args.deconvoluted_spectra_file,
        args.ms1_match_tolerance,
        args.ms2_match_tolerance,
        4)
    out = postprocess_matches(out)
    out = classify_data_by_model(out, args.model_file)
    out = calculate_false_discovery_rate(out, deconvoluted_spectra=args.deconvoluted_spectra_file, model_file_path=args.model_file)
 def test_3_postprocess_matches_step(self):
     print("test_3_postprocess_matches_step")
     self.postprocessed_ions_file = entry_point.postprocess_matches(
         self.db_file_name)
     self.assertTrue(os.path.exists(self.postprocessed_ions_file))
     print(self.postprocessed_ions_file)