Browse code

Updated readme

Jean-Philippe Fortin authored on 25/07/2024 20:12:48
Showing 2 changed files

... ...
@@ -12,7 +12,7 @@ options("knitr.graphics.auto_pdf"=TRUE)
12 12
 
13 13
 Authors: Jean-Philippe Fortin, Aaron Lun, Luke Hoberecht, Pirunthan Perampalan
14 14
 
15
-Date: July 1, 2022
15
+Date: July 25, 2024
16 16
 
17 17
 # Overview
18 18
 
... ...
@@ -26,8 +26,8 @@ package also provides a Lindel-derived score to predict the probability
26 26
 of a gRNA to produce indels inducing a frameshift for the Cas9 nuclease.
27 27
 Note that DeepHF, DeepCpf1 and enPAM+GB are not available on Windows machines. 
28 28
 
29
-Our work is described in a recent bioRxiv preprint:
30
-["The crisprVerse: A comprehensive Bioconductor ecosystem for the design of CRISPR guide RNAs across nucleases and technologies"](https://www.biorxiv.org/content/10.1101/2022.04.21.488824v3)
29
+Our work is described in our recent papera recent bioRxiv preprint:
30
+["A comprehensive Bioconductor ecosystem for the design of CRISPR guide RNAs across nucleases and technologies"](https://www.nature.com/articles/s41467-022-34320-7)
31 31
 
32 32
 Our main gRNA design package [crisprDesign](https://github.com/crisprVerse/crisprDesign) utilizes the `crisprScore` package to add on- and off-target scores to user-designed gRNAs; check out our [Cas9 gRNA tutorial page](https://github.com/crisprVerse/Tutorials/tree/master/Design_CRISPRko_Cas9) to learn how to use `crisprScore` via `crisprDesign`. 
33 33
 
... ...
@@ -40,13 +40,12 @@ Our main gRNA design package [crisprDesign](https://github.com/crisprVerse/crisp
40 40
 
41 41
 This package is supported for macOS, Linux and Windows machines.
42 42
 Some functionalities are not supported for Windows machines.
43
-Packages were developed and tested on R version 4.2.1.
43
+Packages require R version 4.4 or higher. 
44 44
 
45 45
 
46
-## Installation from Bioconductor
46
+## Installation 
47 47
 
48
-`crisprScore` can be installed from from the Bioconductor devel branch
49
-using the following commands in a fresh R session:
48
+`crisprScore` can be installed from Bioconductor using the following commands in a fresh R session:
50 49
 
51 50
 ```{r, eval=FALSE}
52 51
 if (!require("BiocManager", quietly = TRUE))
... ...
@@ -56,26 +55,25 @@ BiocManager::install(version="devel")
56 55
 BiocManager::install("crisprScore")
57 56
 ```
58 57
 
59
-The complete documentation for the package can be found [here](https://bioconductor.org/packages/devel/bioc/manuals/crisprScore/man/crisprScore.pdf).
58
+To install the release version, use this instead:
60 59
 
61
-## Installation from GitHub
62
-
63
-Alternatively, the development version of `crisprScore` and its dependencies can be installed by typing the following commands inside of an R session:
64
-
65
-
66
-```r
67
-install.packages("devtools")
68
-library(devtools)
69
-install_github("crisprVerse/crisprScoreData")
70
-install_github("crisprVerse/crisprScore")
60
+```{r, eval=FALSE}
61
+BiocManager::install(version="release")
71 62
 ```
72 63
 
73
-
74
-When calling one of the scoring methods for the first time after package
75
-installation, the underlying python module and conda environment will be 
64
+Under the hood, `crisprScore` uses the `basilisk` package to install Python
65
+environments needed to run some of the prediction algorithms. When calling
66
+one of the scoring methods for the first time after package
67
+installation, the underlying python module and conda environments will be 
76 68
 automatically downloaded and installed without the need for user intervention.
77 69
 This may take several minutes, but this is a one-time installation. 
78
-the first time after package installation.
70
+
71
+We made recent changes to install Python packages only from the public 
72
+Bioconda and conda-forge channels to be compliant with the latest
73
+Anaconda licensing policies. Setting the environment variable `BASILISK_USE_MINIFORGE=1` will ensure that crisprScore will use miniforge
74
+to install the Python packages. See the documentation of the `basilisk` package
75
+[(link here)](https://www.bioconductor.org/packages/release/bioc/html/basilisk.html) for more information re. different settings for the installation of the
76
+underlying Python packages
79 77
 
80 78
 Note that RStudio users will need to add the following line to their `.Rprofile`
81 79
 file in order for `crisprScore` to work properly:
... ...
@@ -8,11 +8,7 @@ crisprScore: on-target and off-target scoring for CRISPR gRNAs
8 8
     -   <a href="#software-requirements" id="toc-software-requirements">Software
9 9
         requirements</a>
10 10
         -   <a href="#os-requirements" id="toc-os-requirements">OS Requirements</a>
11
-    -   <a href="#installation-from-bioconductor"
12
-        id="toc-installation-from-bioconductor">Installation from
13
-        Bioconductor</a>
14
-    -   <a href="#installation-from-github"
15
-        id="toc-installation-from-github">Installation from GitHub</a>
11
+    -   <a href="#installation" id="toc-installation">Installation</a>
16 12
 -   <a href="#getting-started" id="toc-getting-started">Getting started</a>
17 13
 -   <a href="#on-targeting-efficiency-scores"
18 14
     id="toc-on-targeting-efficiency-scores">On-targeting efficiency
... ...
@@ -46,7 +42,7 @@ crisprScore: on-target and off-target scoring for CRISPR gRNAs
46 42
 Authors: Jean-Philippe Fortin, Aaron Lun, Luke Hoberecht, Pirunthan
47 43
 Perampalan
48 44
 
49
-Date: July 1, 2022
45
+Date: July 25, 2024
50 46
 
51 47
 # Overview
52 48
 
... ...
@@ -61,10 +57,10 @@ provides a Lindel-derived score to predict the probability of a gRNA to
61 57
 produce indels inducing a frameshift for the Cas9 nuclease. Note that
62 58
 DeepHF, DeepCpf1 and enPAM+GB are not available on Windows machines.
63 59
 
64
-Our work is described in a recent bioRxiv preprint: [“The crisprVerse: A
60
+Our work is described in our recent papera recent bioRxiv preprint: [“A
65 61
 comprehensive Bioconductor ecosystem for the design of CRISPR guide RNAs
66 62
 across nucleases and
67
-technologies”](https://www.biorxiv.org/content/10.1101/2022.04.21.488824v3)
63
+technologies”](https://www.nature.com/articles/s41467-022-34320-7)
68 64
 
69 65
 Our main gRNA design package
70 66
 [crisprDesign](https://github.com/crisprVerse/crisprDesign) utilizes the
... ...
@@ -80,13 +76,13 @@ to learn how to use `crisprScore` via `crisprDesign`.
80 76
 ### OS Requirements
81 77
 
82 78
 This package is supported for macOS, Linux and Windows machines. Some
83
-functionalities are not supported for Windows machines. Packages were
84
-developed and tested on R version 4.2.1.
79
+functionalities are not supported for Windows machines. Packages require
80
+R version 4.4 or higher.
85 81
 
86
-## Installation from Bioconductor
82
+## Installation
87 83
 
88
-`crisprScore` can be installed from from the Bioconductor devel branch
89
-using the following commands in a fresh R session:
84
+`crisprScore` can be installed from Bioconductor using the following
85
+commands in a fresh R session:
90 86
 
91 87
 ``` r
92 88
 if (!require("BiocManager", quietly = TRUE))
... ...
@@ -96,27 +92,29 @@ BiocManager::install(version="devel")
96 92
 BiocManager::install("crisprScore")
97 93
 ```
98 94
 
99
-The complete documentation for the package can be found
100
-[here](https://bioconductor.org/packages/devel/bioc/manuals/crisprScore/man/crisprScore.pdf).
101
-
102
-## Installation from GitHub
103
-
104
-Alternatively, the development version of `crisprScore` and its
105
-dependencies can be installed by typing the following commands inside of
106
-an R session:
95
+To install the release version, use this instead:
107 96
 
108 97
 ``` r
109
-install.packages("devtools")
110
-library(devtools)
111
-install_github("crisprVerse/crisprScoreData")
112
-install_github("crisprVerse/crisprScore")
98
+BiocManager::install(version="release")
113 99
 ```
114 100
 
101
+Under the hood, `crisprScore` uses the `basilisk` package to install
102
+Python environments needed to run some of the prediction algorithms.
115 103
 When calling one of the scoring methods for the first time after package
116
-installation, the underlying python module and conda environment will be
117
-automatically downloaded and installed without the need for user
104
+installation, the underlying python module and conda environments will
105
+be automatically downloaded and installed without the need for user
118 106
 intervention. This may take several minutes, but this is a one-time
119
-installation. the first time after package installation.
107
+installation.
108
+
109
+We made recent changes to install Python packages only from the public
110
+Bioconda and conda-forge channels to be compliant with the latest
111
+Anaconda licensing policies. Setting the environment variable
112
+`BASILISK_USE_MINIFORGE=1` will ensure that crisprScore will use
113
+miniforge to install the Python packages. See the documentation of the
114
+`basilisk` package [(link
115
+here)](https://www.bioconductor.org/packages/release/bioc/html/basilisk.html)
116
+for more information re. different settings for the installation of the
117
+underlying Python packages
120 118
 
121 119
 Note that RStudio users will need to add the following line to their
122 120
 `.Rprofile` file in order for `crisprScore` to work properly:
... ...
@@ -547,8 +545,8 @@ getMITScores(spacers=spacer,
547 545
 ```
548 546
 
549 547
     ##                 spacer          protospacer      score
550
-    ## 1 ATCGATGCTGATGCTAGATA ACCGATGCTGATGCTAGATA 0.31500000
551
-    ## 2 ATCGATGCTGATGCTAGATA ATCGATGCTGATGCTAGATT 1.00000000
548
+    ## 1 ATCGATGCTGATGCTAGATA ACCGATGCTGATGCTAGATA 1.00000000
549
+    ## 2 ATCGATGCTGATGCTAGATA ATCGATGCTGATGCTAGATT 0.41700000
552 550
     ## 3 ATCGATGCTGATGCTAGATA ATCGATGCTGATGCTAGATA 0.06944444
553 551
 
554 552
 ## CFD score
... ...
@@ -636,65 +634,52 @@ code.
636 634
 sessionInfo()
637 635
 ```
638 636
 
639
-    ## R version 4.2.1 (2022-06-23)
640
-    ## Platform: x86_64-apple-darwin17.0 (64-bit)
641
-    ## Running under: macOS Catalina 10.15.7
637
+    ## R version 4.4.1 (2024-06-14)
638
+    ## Platform: x86_64-apple-darwin20
639
+    ## Running under: macOS Ventura 13.6.7
642 640
     ## 
643 641
     ## Matrix products: default
644
-    ## BLAS:   /Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libRblas.0.dylib
645
-    ## LAPACK: /Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libRlapack.dylib
642
+    ## BLAS:   /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/lib/libRblas.0.dylib 
643
+    ## LAPACK: /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/lib/libRlapack.dylib;  LAPACK version 3.12.0
646 644
     ## 
647 645
     ## locale:
648 646
     ## [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
649 647
     ## 
648
+    ## time zone: America/Los_Angeles
649
+    ## tzcode source: internal
650
+    ## 
650 651
     ## attached base packages:
651 652
     ## [1] stats     graphics  grDevices utils     datasets  methods   base     
652 653
     ## 
653 654
     ## other attached packages:
654
-    ## [1] crisprScore_1.3.2     crisprScoreData_1.3.0 ExperimentHub_2.5.0  
655
-    ## [4] AnnotationHub_3.5.1   BiocFileCache_2.5.0   dbplyr_2.2.1         
656
-    ## [7] BiocGenerics_0.43.4  
655
+    ## [1] crisprScore_1.9.1     crisprScoreData_1.9.0 ExperimentHub_2.13.0 
656
+    ## [4] AnnotationHub_3.13.0  BiocFileCache_2.13.0  dbplyr_2.5.0         
657
+    ## [7] BiocGenerics_0.51.0  
657 658
     ## 
658 659
     ## loaded via a namespace (and not attached):
659
-    ##  [1] Rcpp_1.0.9                    lattice_0.20-45              
660
-    ##  [3] dir.expiry_1.5.1              png_0.1-7                    
661
-    ##  [5] Biostrings_2.65.3             assertthat_0.2.1             
662
-    ##  [7] digest_0.6.29                 utf8_1.2.2                   
663
-    ##  [9] mime_0.12                     R6_2.5.1                     
664
-    ## [11] GenomeInfoDb_1.33.7           stats4_4.2.1                 
665
-    ## [13] RSQLite_2.2.16                evaluate_0.16                
666
-    ## [15] highr_0.9                     httr_1.4.4                   
667
-    ## [17] pillar_1.8.1                  basilisk_1.9.6               
668
-    ## [19] zlibbioc_1.43.0               rlang_1.0.6                  
669
-    ## [21] curl_4.3.2                    rstudioapi_0.14              
670
-    ## [23] blob_1.2.3                    S4Vectors_0.35.3             
671
-    ## [25] Matrix_1.5-3                  reticulate_1.26              
672
-    ## [27] rmarkdown_2.16                stringr_1.4.1                
673
-    ## [29] RCurl_1.98-1.8                bit_4.0.4                    
674
-    ## [31] shiny_1.7.2                   compiler_4.2.1               
675
-    ## [33] httpuv_1.6.5                  xfun_0.32                    
676
-    ## [35] pkgconfig_2.0.3               htmltools_0.5.3              
677
-    ## [37] tidyselect_1.1.2              KEGGREST_1.37.3              
678
-    ## [39] tibble_3.1.8                  GenomeInfoDbData_1.2.8       
679
-    ## [41] interactiveDisplayBase_1.35.0 IRanges_2.31.2               
680
-    ## [43] randomForest_4.7-1.1          fansi_1.0.3                  
681
-    ## [45] crayon_1.5.1                  dplyr_1.0.10                 
682
-    ## [47] later_1.3.0                   basilisk.utils_1.9.3         
683
-    ## [49] bitops_1.0-7                  rappdirs_0.3.3               
684
-    ## [51] grid_4.2.1                    jsonlite_1.8.0               
685
-    ## [53] xtable_1.8-4                  lifecycle_1.0.3              
686
-    ## [55] DBI_1.1.3                     magrittr_2.0.3               
687
-    ## [57] cli_3.4.0                     stringi_1.7.8                
688
-    ## [59] cachem_1.0.6                  XVector_0.37.1               
689
-    ## [61] promises_1.2.0.1              ellipsis_0.3.2               
690
-    ## [63] filelock_1.0.2                generics_0.1.3               
691
-    ## [65] vctrs_0.5.1                   tools_4.2.1                  
692
-    ## [67] bit64_4.0.5                   Biobase_2.57.1               
693
-    ## [69] glue_1.6.2                    purrr_0.3.4                  
694
-    ## [71] BiocVersion_3.16.0            parallel_4.2.1               
695
-    ## [73] fastmap_1.1.0                 yaml_2.3.5                   
696
-    ## [75] AnnotationDbi_1.59.1          BiocManager_1.30.18          
697
-    ## [77] memoise_2.0.1                 knitr_1.40
660
+    ##  [1] KEGGREST_1.45.1         dir.expiry_1.13.0       xfun_0.46              
661
+    ##  [4] lattice_0.22-6          Biobase_2.65.0          vctrs_0.6.5            
662
+    ##  [7] tools_4.4.1             generics_0.1.3          stats4_4.4.1           
663
+    ## [10] curl_5.2.1              parallel_4.4.1          tibble_3.2.1           
664
+    ## [13] fansi_1.0.6             AnnotationDbi_1.67.0    RSQLite_2.3.7          
665
+    ## [16] highr_0.11              blob_1.2.4              pkgconfig_2.0.3        
666
+    ## [19] Matrix_1.7-0            S4Vectors_0.43.2        lifecycle_1.0.4        
667
+    ## [22] GenomeInfoDbData_1.2.12 stringr_1.5.1           compiler_4.4.1         
668
+    ## [25] Biostrings_2.73.1       GenomeInfoDb_1.41.1     htmltools_0.5.8.1      
669
+    ## [28] yaml_2.3.9              pillar_1.9.0            crayon_1.5.3           
670
+    ## [31] cachem_1.1.0            basilisk_1.17.0         tidyselect_1.2.1       
671
+    ## [34] digest_0.6.36           stringi_1.8.4           dplyr_1.1.4            
672
+    ## [37] BiocVersion_3.20.0      grid_4.4.1              fastmap_1.2.0          
673
+    ## [40] cli_3.6.3               magrittr_2.0.3          randomForest_4.7-1.1   
674
+    ## [43] utf8_1.2.4              filelock_1.0.3          UCSC.utils_1.1.0       
675
+    ## [46] rappdirs_0.3.3          bit64_4.0.5             rmarkdown_2.27         
676
+    ## [49] XVector_0.45.0          httr_1.4.7              bit_4.0.5              
677
+    ## [52] reticulate_1.38.0       png_0.1-8               memoise_2.0.1          
678
+    ## [55] evaluate_0.24.0         knitr_1.48              IRanges_2.39.2         
679
+    ## [58] basilisk.utils_1.17.0   rlang_1.1.4             Rcpp_1.0.13            
680
+    ## [61] glue_1.7.0              DBI_1.2.3               BiocManager_1.30.23    
681
+    ## [64] rstudioapi_0.16.0       jsonlite_1.8.8          R6_2.5.1               
682
+    ## [67] zlibbioc_1.51.1
698 683
 
699 684
 # References
700 685