public RegexReduxHelpers(bool bigInput) { if (bigInput) { InputFile = InputFileHelper.FindInputFile("regexdna-input25000.txt"); ExpectedLength = 136381; } else { InputFile = InputFileHelper.FindInputFile("regexdna-input25.txt"); ExpectedLength = 152; } }
public ReverseComplementHelpers(bool bigInput) { if (bigInput) { InputFile = InputFileHelper.FindInputFile("revcomp-input25000.txt"); CheckSum = "61-A4-CC-6D-15-8D-26-77-88-93-4F-E2-29-A2-8D-FB"; } else { InputFile = InputFileHelper.FindInputFile("revcomp-input25.txt"); CheckSum = "62-45-8E-09-2E-89-A0-69-8C-17-F5-D8-C7-63-5B-50"; } FileLength = InputFileHelper.GetFileLength(InputFile); }
public NucleotideHelpers(bool bigInput) { if (bigInput) { InputFile = InputFileHelper.FindInputFile("knucleotide-input-big.txt"); expectedCountLetter = new int[] { 302923, 301375, 198136, 197566 }; expectedCountPairs = new int[] { 91779, 91253, 91225, 90837, 60096, 60030, 59889, 59795, 59756, 59713, 59572, 59557, 39203, 39190, 39081, 39023 }; expectedCountFragments = new int[] { 11765, 3572, 380, 7, 7 }; } else { InputFile = InputFileHelper.FindInputFile("knucleotide-input.txt"); expectedCountLetter = new int[] { 1576, 1480, 974, 970 }; expectedCountPairs = new int[] { 496, 480, 470, 420, 316, 315, 310, 302, 298, 292, 273, 272, 202, 201, 185, 167 }; expectedCountFragments = new int[] { 54, 24, 4, 0, 0 }; } expectedFrequencies = new int[][] { expectedCountLetter, expectedCountPairs }; }