コード例 #1
0
    public void TestErrorLine2()
    {
      var parser = new PileupItemParser(0, 0, true, true, false, 3);

      var errorline = "4\t86101\tG\t47\t,+1c,+1c,+1c.+1C.+1C,+1c..+1C.+1C.+1C,+1c.+1C,+1c.+1C.+1C$.+1C.+1C,+1c.+1C.+1C.+1C,+1c.+1C.+1C.+1C.+1C.+1C.+1C.+1C.+1C.+1C.+1C,+1c.+1C.+1C.+1C.+1C,+1c,+1c,+1c.+1C,+1c,+1c,+1c.+1C.+1C^H,+1c\tBCDCDBDEECBCB?CCEDCECCC>?CA@3CCDACCC>>DBDAA?>@.\t37\t,+1c.+1C,+1c.+1C,+1c.+1C,+1c.+1C.+1C.+1C.+1C.+1C$,,.+1C.+1C.+1C.+1C.+1C.+1C.+1C.+1C.+1C,+1c.+1C,+1c,+1c,+1c,+1c,+1c,+1c.+1C,+1c,+1c,+1c,+1c.+1C\tDCC;>DDC?CD3DD<D5DA=;?DF??BCB<6E=546>";
      var item = parser.GetValue(errorline);
      Assert.AreEqual(2, item.Samples.Count);
    }
コード例 #2
0
    public void TestErrorLine()
    {
      var parser = new PileupItemParser(0, 0, true, true, false, 3);

      var errorline = "3\t383725\tT\t27\t....,.,..,.,..,,,........^S,^S,\tIFJI<EHGIHF>GIIHGEIIGH=D@GA\t0\t\t";
      var item = parser.GetValue(errorline);
      Assert.AreEqual(2, item.Samples.Count);

      errorline = "2\t43639\tT\t0\t\t\t37\t<<<<<>><<<<<<><<<<<><<<<<<<<>,,..,,.,\tHHGHHGGDHHFEHEGC9HHBFEBCFHHHEHHHD6HHD";
      item = parser.GetValue(errorline);
      Assert.AreEqual(2, item.Samples.Count);
    }