BIMSBbioinfo / pigx_sars-cov-2

PiGx SARS-CoV-2 wastewater sequencing pipeline
GNU General Public License v3.0
18 stars 3 forks source link

fix thresholding of samples by coverage #135

Closed jonasfreimuth closed 2 years ago

jonasfreimuth commented 2 years ago

I forgot that parameters are characters. Previously this would have meant that samples with 100% coverage would have been excluded as 100 >= as.character(x) evaluates to FALSE for all x between 2 and 99 (except for 10).