Пример #1
0
 public RunStatistics(int numberOfReads)
 {
     ErrorRate = new DescriptiveStats[numberOfReads];
     NoCalls = new DescriptiveStats[numberOfReads];
     OverallCoveragePerRead = new float[numberOfReads];
     for (int readIndex = 0; readIndex < numberOfReads; readIndex++)
     {
         ErrorRate[readIndex] = new DescriptiveStats();
         NoCalls[readIndex] = new DescriptiveStats();
     }
     string version = Assembly.GetExecutingAssembly().GetName().Version.ToString();
     AnalysisSoftwareVersion = version;
 }
Пример #2
0
		public SampleStatistics(int numberOfReads)
		{
			if (numberOfReads > 0)
			{
				E01 = new int[numberOfReads];
				E03 = new int[numberOfReads];
				E05 = new int[numberOfReads];
				E10 = new int[numberOfReads];
				PerfectReads = new long[numberOfReads];
				AverageErrorRate = new float[numberOfReads];
				AverageNoCallRate = new float[numberOfReads];
				GCBias = new float[numberOfReads];
				GCBiasPlotPath = new string[numberOfReads];
				CoveragePlotPath = new string[numberOfReads];
				ErrorCoveragePlotPath = new string[numberOfReads];
				SampleCoverageByRead = new DescriptiveStats[numberOfReads];
				for (int index = 0; index < numberOfReads; index++)
				{
					SampleCoverageByRead[index] = new DescriptiveStats();
				}
				AverageAlignmentScore = new float[numberOfReads];
			}
		}