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 ,addMateSequenceAndScoreIfNotLocallyAvailable_(false)
00037 ,printAlleleInfo_(true)
00038 ,packCigar_(true)
00039 ,removePaddingAtCigarEnds_(true)
00040 ,addAlternativeMates_(false)
00041 ,addAlternativeMappings_(false)
00042 ,primaryMappingsOnly_(true)
00043 ,maxConsistentRange_(1300)
00044 {}
00045
00046 bool mateSvCandidates_;
00047 bool addMateSequenceAndScore_;
00048 bool addMateSequenceAndScoreIfNotLocallyAvailable_;
00049 bool printAlleleInfo_;
00052 bool packCigar_;
00053 bool removePaddingAtCigarEnds_;
00054 bool addAlternativeMates_;
00055 bool addAlternativeMappings_;
00056 bool skipNotMapped_;
00057
00058 bool primaryMappingsOnly_;
00059 int maxConsistentRange_;
00060 };
00061
00062 void addSamConfigOptions(SamGeneratorConfig& config,
00063 boost::program_options::options_description &options);
00064
00065 } }
00066
00067 #endif // CGA_TOOLS_SAM_OPTIONS_HPP_