// -*- mode: c++; indent-tabs-mode: nil; -*- // // Copyright 2009 Illumina, Inc. // // This software is covered by the "Illumina Genome Analyzer Software // License Agreement" and the "Illumina Source Code License Agreement", // and certain third party copyright/licenses, and any user of this // source file is bound by the terms therein (see accompanying files // Illumina_Genome_Analyzer_Software_License_Agreement.pdf and // Illumina_Source_Code_License_Agreement.pdf and third party // copyright/license notices). // // /// \file /// /// \author Chris Saunders /// #include "blt/blt_info.hh" #include "blt/blt_run.hh" #include "blt_common/blt_arg_parse.hh" #include "blt_common/blt_arg_validate.hh" #include "blt_util/blt_exception.hh" #include "blt_common/blt_shared.hh" #include "blt_util/log.hh" #include "common/Exceptions.hh" #include #include #include namespace { const prog_info& pinfo(blt_info::get()); } static void try_main(int argc,char* argv[]){ arg_data ad(argc,argv,pinfo); if((ad.argc==1) or ((ad.argc==2) and ((ad.argstr[1] == "-h") or (ad.argstr[1] == "-help") or (ad.argstr[1] == "--help") or (ad.argstr[1] == "-")))) pinfo.usage(); blt_options client_opt; bool is_min_qscore_set(false); bool is_min_sascore_set(false); bool is_min_pascore_set(false); bool is_bacon_call_thresh(false); bool is_bacon_second_call_thresh(false); bool is_bacon_het_snp_ratio_thresh(false); for(int i(0);i