Class StatisticsCollector

    • Constructor Detail

      • StatisticsCollector

        public StatisticsCollector()
    • Method Detail

      • getCollectorsNamesRequiered

        public List<String> getCollectorsNamesRequiered()
        Description copied from interface: Collector
        Get the name of the collectors required to run this collector.
        Specified by:
        getCollectorsNamesRequiered in interface Collector
        Returns:
        a list of String with the name of the required collectors
      • configure

        public void configure​(QC qc,
                              CollectorConfiguration conf)
        Description copied from interface: Collector
        Configure the collector with the path of the run data.
        Specified by:
        configure in interface Collector
        Parameters:
        qc - QC object for the run
        conf - the collector configuration
      • clear

        public void clear()
        Description copied from interface: Collector
        Remove temporary files.
        Specified by:
        clear in interface Collector
      • addFastqScreenReport

        protected void addFastqScreenReport​(int projectId,
                                            int sampleId,
                                            List<File> reportFiles)
        Add a FastqScreen report.
        Parameters:
        projectId - the projectId
        sampleId - the sampleId
        reportFiles - the list of report file
      • isSampleStatisticsCollector

        public abstract boolean isSampleStatisticsCollector()
        Checks if is sample statistics collector.
        Returns:
        true, if is sample statistics collector
      • isProjectStatisticsCollector

        public abstract boolean isProjectStatisticsCollector()
        Checks if is project statistics collector.
        Returns:
        true, if is project statistics collector
      • getCollectorPrefix

        public abstract String getCollectorPrefix()
        Gets the collector prefix.
        Returns:
        the collector prefix
      • getReportDirectory

        public File getReportDirectory()
        Gets the report directory.
        Returns:
        the report directory
      • getContaminationThreshold

        public double getContaminationThreshold()
        Gets the contamination threshold.
        Returns:
        the contamination threshold
      • isSummaryCollector

        public boolean isSummaryCollector()
        Description copied from interface: Collector
        Test if the class is a summary collector. A summary collector must be executed after all the other collectors.
        Specified by:
        isSummaryCollector in interface Collector
        Returns:
        true if the collector is a summary collector