cbirdlab / dDocentHPC

hard fork of dDocent, edited to run without interactive user input
2 stars 5 forks source link

Problem deciding version of bedtools #14

Open cbird808 opened 3 years ago

cbird808 commented 3 years ago

on 2.29.2, the BEDTOOLSFLAG variable was getting set to "OLD" when it should have been set to new.

I changed lines 272 and 273, swapping the arguments passed to CheckVersion function

        CheckVersion "2.24.0" "$real_version" && BEDTOOLSFLAG="OLD"
        CheckVersion "$real_version" "2.26.0" && BEDTOOLSFLAG="NEW"

I tested it, and it works unless the version is 2.24.0 - 2.26.0