Browse code

Fixed getCasRxRFScores

fortinj2 authored on 23/07/2022 15:22:41
Showing 1 changed files

... ...
@@ -446,8 +446,9 @@ getCasRxRFScores <- function(mrnaSequence,
446 446
                                WIDTH=12,
447 447
                                bin.RNAhybrid
448 448
 ){
449
+  bin.folder <- gsub("/RNAhybrid", "", bin.RNAhybrid)
449 450
   Sys.setenv("PATH" = paste(Sys.getenv('PATH'),
450
-                            bin.RNAhybrid, sep = ':'))  
451
+                            bin.folder, sep = ':'))  
451 452
   
452 453
   bashScript <- system.file(package="crisprScore")
453 454
   bashScript <- file.path(bashScript, "casrxrf/RNAhyb.sh")