00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef CGA_TOOLS_SAM_OPTIONS_HPP_
00016 #define CGA_TOOLS_SAM_OPTIONS_HPP_ 1
00017
00019
00020 #include "cgatools/core.hpp"
00021
00022 namespace boost { namespace program_options {
00023 class options_description;
00024 }}
00025
00026 namespace cgatools { namespace mapping {
00027
00029 class SamGeneratorConfig
00030 {
00031 public:
00032 SamGeneratorConfig()
00033 :
00034 mateSvCandidates_(false)
00035 ,addMateSequenceAndScore_(false)
00036 ,addMateSequenceAndScoreIfMateUnmapped_(false)
00037 ,printAlleleInfo_(true)
00038 ,packCigar_(true)
00039 ,addAlternativeMates_(false)
00040 ,addAlternativeMappings_(false)
00041 ,primaryMappingsOnly_(true)
00042 ,maxConsistentRange_(1300)
00043 {}
00044
00045 bool mateSvCandidates_;
00046 bool addMateSequenceAndScore_;
00047 bool addMateSequenceAndScoreIfMateUnmapped_;
00048 bool printAlleleInfo_;
00051 bool packCigar_;
00052 bool addAlternativeMates_;
00053 bool addAlternativeMappings_;
00054 bool skipNotMapped_;
00055
00056 bool primaryMappingsOnly_;
00057 int maxConsistentRange_;
00058 };
00059
00060 void addSamConfigOptions(SamGeneratorConfig& config,
00061 boost::program_options::options_description &options);
00062
00063 } }
00064
00065 #endif // CGA_TOOLS_SAM_OPTIONS_HPP_