1 string header = ">name/1/0_1337 RQ=0.75"; 2 auto pbHeader1 = header.parsePacBioHeader(); 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");
Convenience wrapper around PacBioHeader!T(T header).