public void TestRead()
    {
      var options = new Gtf2BedGeneIdBuilderOptions()
      {
        InputFile = "../../../data/ENSMUSG00000089726.gtf"
      };

      var map = new Gtf2BedGeneIdBuilder(options).ReadBedItems();

      Assert.AreEqual(1, map.Count);
      Assert.AreEqual("ENSMUSG00000089726", map.Keys.First());
      var loc = map["ENSMUSG00000089726"];
      Assert.AreEqual(115042878, loc.Start);
      Assert.AreEqual(115046727, loc.End);
    }
 public Gtf2BedGeneIdBuilder(Gtf2BedGeneIdBuilderOptions options)
 {
     this.options = options;
 }
示例#3
0
 public Gtf2BedGeneIdBuilder(Gtf2BedGeneIdBuilderOptions options)
 {
   this.options = options;
 }