Exemplo n.º 1
0
 public void Read(string fileName)
 {
   var lines = File.ReadAllLines(fileName);
   this.FileName = lines[0].StringAfter("Basic Statistics").Trim();
   this.BasicStatistics = GetQCType(lines, "Basic Statistics");
   this.PerBaseSequenceQuality = GetQCType(lines, "Per base sequence quality");
   this.PerTileSequenceQuality = GetQCType(lines, "Per tile sequence quality");
   this.PerSequenceQualityScore = GetQCType(lines, "Per sequence quality scores");
   this.PerBaseSequenceContent = GetQCType(lines, "Per base sequence content");
   this.PerSequenceGCContent = GetQCType(lines, "Per sequence GC content");
   this.PerBaseNContent = GetQCType(lines, "Per base N content");
   this.SequenceLengthDistribution = GetQCType(lines, "Sequence Length Distribution");
   this.SequenceDuplicatonLevels = GetQCType(lines, "Sequence Duplication Levels");
   this.OverrepresentedSequences = GetQCType(lines, "Overrepresented sequences");
   this.AdapterContent = GetQCType(lines, "Adapter Content");
   this.KmerContent = GetQCType(lines, "Kmer Content");
 }
        public void Read(string fileName)
        {
            var lines = File.ReadAllLines(fileName);

            this.FileName                   = lines[0].StringAfter("Basic Statistics").Trim();
            this.BasicStatistics            = GetQCType(lines, "Basic Statistics");
            this.PerBaseSequenceQuality     = GetQCType(lines, "Per base sequence quality");
            this.PerTileSequenceQuality     = GetQCType(lines, "Per tile sequence quality");
            this.PerSequenceQualityScore    = GetQCType(lines, "Per sequence quality scores");
            this.PerBaseSequenceContent     = GetQCType(lines, "Per base sequence content");
            this.PerSequenceGCContent       = GetQCType(lines, "Per sequence GC content");
            this.PerBaseNContent            = GetQCType(lines, "Per base N content");
            this.SequenceLengthDistribution = GetQCType(lines, "Sequence Length Distribution");
            this.SequenceDuplicatonLevels   = GetQCType(lines, "Sequence Duplication Levels");
            this.OverrepresentedSequences   = GetQCType(lines, "Overrepresented sequences");
            this.AdapterContent             = GetQCType(lines, "Adapter Content");
            this.KmerContent                = GetQCType(lines, "Kmer Content");
        }