public ICoverageBigWigWriter CreateBinCoverageBigWigWriter(IBedGraphWriter bedGraphWriter)
        {
            var calculator           = new NormalizedBinsCoverageCalculator();
            var bedGraphWriterFacade = new CoverageBedGraphWriter(bedGraphWriter, calculator);

            return(new CoverageBigWigWriter(_logger, bedGraphWriterFacade, GetConverter(), _genome));
        }
        public CoverageBedGraphWriter CreateSegmentBedGraphWriter(IBedGraphWriter bedGraphWriter)
        {
            var calculator           = new NormalizedSegmentsCoverageCalculator();
            var bedGraphWriterFacade = new CoverageBedGraphWriter(bedGraphWriter, calculator);

            return(bedGraphWriterFacade);
        }
Ejemplo n.º 3
0
 public CoverageBigWigWriter(ILogger logger, CoverageBedGraphWriter writer, IBedGraphToBigWigConverter converter, GenomeMetadata genome)
 {
     _logger    = logger;
     _writer    = writer;
     _converter = converter;
     _genome    = genome;
 }