Commit 7d3e71a4 authored by ziegenhain@bio.lmu.de's avatar ziegenhain@bio.lmu.de
Browse files

fix possible integer overflow

parent 5e5500f9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -313,7 +313,7 @@ makeGEprofile <- function(abamfile,ubamfile,bcfile,safannot,ncores,stra,bcstart,
  ## XC binning below
  if(XCbin != 0){
    XC_obs<-unique(reads$XC)
    if(length(XC_obs)*length(bc$V1)> 1e+10){
    if(as.numeric(length(XC_obs))*as.numeric(length(bc$V1)) > 1e+10){
      print("There are too many noisy barcodes, binning will be skipped")
    }else{
      print(paste("I am binning cell barcodes within hamming distance ",XCbin,sep=""))
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
# Pipeline to run UMI-seq analysis from fastq to read count tables.
# Authors: Swati Parekh &  Christoph Ziegenhain
# Contact: parekh@bio.lmu.de or christoph.ziegenhain@ki.se or hellmann@bio.lmu.de
vers=0.0.5
vers=0.0.5b
function check_opts() {
    value=$1
    name=$2