Validate.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #include "SamFile.h"
00019
00020 void validateRead1(SamRecord& samRecord);
00021 void validateRead2(SamRecord& samRecord);
00022 void validateRead3(SamRecord& samRecord);
00023 void validateRead4(SamRecord& samRecord);
00024 void validateRead5(SamRecord& samRecord);
00025 void validateRead6(SamRecord& samRecord);
00026 void validateRead7(SamRecord& samRecord);
00027 void validateRead8(SamRecord& samRecord);
00028 void validateRead9(SamRecord& samRecord);
00029 void validateRead10(SamRecord& samRecord);
00030
00031
00032 void validateHeader(SamFileHeader& samHeader);
00033 void validateHeaderFields(SamFileHeader& samHeader);
00034 void validateHeaderString(SamFileHeader& samHeader);
00035
00036 class Validate
00037 {
00038 public:
00039 static const int READ1_POS = 1010;
00040 static const int READ1_ALIGN_END = 1016;
00041 static const int READ1_UNCLIP_START = 1010;
00042 static const int READ1_UNCLIP_END = 1016;
00043 static const int READ1_ALIGN_LEN = 7;
00044 static const std::string READ1_CIGAR;
00045 static const std::string READ1_SEQ;
00046 static const std::string READ1_QUAL;
00047
00048 static const int READ2_POS = 1011;
00049
00050 static const int READ6_POS = 1750;
00051 static const int READ6_ALIGN_END = 1754;
00052 static const int READ6_UNCLIP_START = 1745;
00053 static const int READ6_UNCLIP_END = 1754;
00054 static const int READ6_ALIGN_LEN = 5;
00055 static const std::string READ6_CIGAR;
00056 static const std::string READ6_SEQ;
00057 static const std::string READ6_QUAL;
00058
00059 static const int READ7_POS = 1750;
00060 static const int READ7_ALIGN_END = 1754;
00061 static const int READ7_UNCLIP_START = 1747;
00062 static const int READ7_UNCLIP_END = 1758;
00063 static const int READ7_ALIGN_LEN = 5;
00064 static const std::string READ7_CIGAR;
00065 static const std::string READ7_SEQ;
00066 static const std::string READ7_QUAL;
00067
00068 };