public void TestCalculateFPKMWithoutSampleReads()
    {
      var options = new HTSeqCountToFPKMCalculatorOptions()
      {
        InputFile = "../../../data/genetable.tsv",
        GeneLengthFile = "../../../data/genetable.tsv.length",
      };

      double[] s1;
      double[] s2;

      var actuals = new HTSeqCountToFPKMCalculator(options).CalculateFPKM(out s1, out s2);
      var sampleReads = 138.0;
      var geneLength = 2968.0;
      var originalCount = 128.0;

      var expect = originalCount / ((sampleReads / 1000000) * (geneLength / 1000));
      Assert.AreEqual(expect, actuals.Count[0, 0], 0.0001);
    }
 public HTSeqCountToFPKMCalculator(HTSeqCountToFPKMCalculatorOptions options)
 {
     this.options = options;
 }
 public HTSeqCountToFPKMCalculator(HTSeqCountToFPKMCalculatorOptions options)
 {
   this.options = options;
 }