Beispiel #1
0
        /// <summary>
        /// Creates a fqFile_component_details class from the core information that is best still stored within the programs memory.
        /// These classes populate a dictionary within the fqfilemap class where the component filename is their key.
        /// </summary>
        /// <param name="component">The component who's details are to be stored</param>
        public void BuildFqFileMap(IFqFile component)
        {
            FqFile_Component_Details componentDetails = new FqFile_Component_Details();

            componentDetails.ContructComponentDetails(component);

            fqFileMap.GetFqFileComponentDetailsMap()[component.getFileName()] = componentDetails;
        }
 public void ContructComponentDetails(IFqFile component)
 {
     this.ComponentName              = component.getFileName();
     this.FileName                   = component.getFileName();
     this.sequencerType              = component.getSequencerType();
     this.ComponentNumber            = component.getComponentNumber();
     this.TotalNucs                  = component.getTotalNucleotides();
     this.TotalSequences             = component.getFastqArraySize();
     this.NucleotidesCleaned         = component.getNucleotidesCleaned();
     this.Distribution               = component.getDistribution();
     this.SequenceLengthDistribution = component.getSequenceLengthDistribution();
     this.NCount            = component.getNCount();
     this.CCount            = component.getCCount();
     this.GCount            = component.getGCount();
     this.MaxSeqSize        = component.getMaxSeqSize();
     this.MinSeqSize        = component.getMinSeqSize();
     this.NPercent          = component.nContents();
     this.CPercent          = component.cContents();
     this.GPercent          = component.gContents();
     this.SequencesRemoved  = component.getSequencesRemoved();
     this.RemovedAdapters   = component.getRemovedAdapters();
     this.perBaseStatistics = component.GetPerBaseStatisticsArray();
 }
        /// <summary>
        /// Creates a fqFile_component_details class from the core information that is best still stored within the programs memory.
        /// These classes populate a dictionary within the fqfilemap class where the component filename is their key.
        /// </summary>
        /// <param name="component">The component who's details are to be stored</param>
        public void BuildFqFileMap(IFqFile component)
        {
            FqFile_Component_Details componentDetails = new FqFile_Component_Details();
            componentDetails.ContructComponentDetails(component);

            fqFileMap.GetFqFileComponentDetailsMap()[component.getFileName()] = componentDetails;
        }
 public void ContructComponentDetails(IFqFile component)
 {
     this.ComponentName = component.getFileName();
     this.FileName = component.getFileName();
     this.sequencerType = component.getSequencerType();
     this.ComponentNumber = component.getComponentNumber();
     this.TotalNucs = component.getTotalNucleotides();
     this.TotalSequences = component.getFastqArraySize();
     this.NucleotidesCleaned = component.getNucleotidesCleaned();
     this.Distribution = component.getDistribution();
     this.SequenceLengthDistribution = component.getSequenceLengthDistribution();
     this.NCount = component.getNCount();
     this.CCount = component.getCCount();
     this.GCount = component.getGCount();
     this.MaxSeqSize = component.getMaxSeqSize();
     this.MinSeqSize = component.getMinSeqSize();
     this.NPercent = component.nContents();
     this.CPercent = component.cContents();
     this.GPercent = component.gContents();
     this.SequencesRemoved = component.getSequencesRemoved();
     this.RemovedAdapters = component.getRemovedAdapters();
     this.perBaseStatistics = component.GetPerBaseStatisticsArray();
 }