Browse code

Added RNAhub

fortinj2 authored on 22/07/2022 18:24:45
Showing 3 changed files

... ...
@@ -1,5 +1,5 @@
1 1
 Package: crisprScore
2
-Version: 1.1.9
2
+Version: 1.1.10
3 3
 Date: 2022-07-18
4 4
 Title: On-Target and Off-Target Scoring Algorithms for CRISPR gRNAs
5 5
 Authors@R: c(
... ...
@@ -449,8 +449,8 @@ getCasRxRFScores <- function(mrnaSequence,
449 449
   Sys.setenv("PATH" = paste(Sys.getenv('PATH'),
450 450
                             bin.RNAhybrid, sep = ':'))  
451 451
   
452
-  bashScript <- system.file(package="Cas13design")
453
-  bashScript <- file.path(bashScript, "scripts/RNAhyb.sh")
452
+  bashScript <- system.file(package="crisprScore")
453
+  bashScript <- file.path(bashScript, "casrxrf/RNAhyb.sh")
454 454
   
455 455
   # transform to DNAstringSet
456 456
   GuideSeq = DNAStringSet(dat[["spacer"]])
457 457
new file mode 100644
... ...
@@ -0,0 +1,8 @@
1
+#!/bin/bash
2
+#$ -cwd
3
+
4
+while read -r line; do
5
+	g=$(echo $line | cut -d "," -f 1 )
6
+	t=$(echo $line | cut -d "," -f 2 )
7
+	RNAhybrid -c -s 3utr_human ${g} ${t}
8
+done < $1
0 9
\ No newline at end of file