1 string header = ">name/1/0_1337 RQ=0.75"; 2 auto pbHeader1 = PacBioHeader!string(header); 3 4 assert(pbHeader1.to!string == ">name/1/0_1337 RQ=0.75"); 5 assert(pbHeader1.name == "name"); 6 assert(pbHeader1.well == 1); 7 assert(pbHeader1.qualityRegionBegin == 0); 8 assert(pbHeader1.qualityRegionEnd == 1337); 9 assert(pbHeader1.additionalInformation == "RQ=0.75"); 10 11 PacBioHeader!string pbHeader2 = header; 12 13 assert(pbHeader2 == pbHeader1);