Skip to content

Commit

Permalink
chore(scripts): calculate-top-peaks: increase chunk size + fix log st…
Browse files Browse the repository at this point in the history
…atement
  • Loading branch information
davidlougheed committed Jan 16, 2024
1 parent d03e782 commit 0bd07d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/calculate-top-peaks.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const chromSizes = chromosomeSizesByAssemblyID[config.assembly ?? "hg19"];
const minPValue = envConfig.PLOT_MANHATTAN_MIN_P_VAL;
const binSize = envConfig.PLOT_MANHATTAN_BIN_SIZE;

const BINS_CHUNK_SIZE = 30;
const BINS_CHUNK_SIZE = 50;

for (const chrom in chromSizes) {
const size = chromSizes[chrom];
Expand Down Expand Up @@ -63,7 +63,7 @@ for (const chrom in chromSizes) {
})();
}));

console.log(`chr${chrom}: processed ${bins.length}/${nBins} bins`);
console.log(`chr${chrom}: processed ${nBins - bins.length}/${nBins} bins`);
}

console.log(`done chr${chrom}`);
Expand Down

0 comments on commit 0bd07d9

Please sign in to comment.