NiniCat commited on
Commit
306ab4d
1 Parent(s): 45f796e

Updated app.py to include CRISPR model selection

Browse files
Files changed (2) hide show
  1. app.py +9 -0
  2. tiger.md +2 -28
app.py CHANGED
@@ -8,6 +8,9 @@ ENTRY_METHODS = dict(
8
  manual='Manual entry of single transcript',
9
  fasta="Fasta file upload (supports multiple transcripts if they have unique ID's)"
10
  )
 
 
 
11
 
12
 
13
  @st.cache_data
@@ -32,6 +35,12 @@ def progress_update(update_text, percent_complete):
32
 
33
  def initiate_run():
34
 
 
 
 
 
 
 
35
  # initialize state variables
36
  st.session_state.transcripts = None
37
  st.session_state.input_error = None
 
8
  manual='Manual entry of single transcript',
9
  fasta="Fasta file upload (supports multiple transcripts if they have unique ID's)"
10
  )
11
+ CRISPR_MODELS = ['Cas9', 'Cas12', 'Cas13']
12
+ selected_model = st.selectbox('Select CRISPR model:', CRISPR_MODELS, key='selected_model')
13
+
14
 
15
 
16
  @st.cache_data
 
35
 
36
  def initiate_run():
37
 
38
+
39
+ # Placeholder for dynamic module import based on selected_model
40
+ # model_module = get_model_module(selected_model)
41
+ # You will need to implement get_model_module function to import the correct module (cas9, cas12, cas13)
42
+
43
+ # ... rest of the initiate_run function ...
44
  # initialize state variables
45
  st.session_state.transcripts = None
46
  st.session_state.input_error = None
tiger.md CHANGED
@@ -1,30 +1,4 @@
1
- TIGER Online Tool for Cas13 Efficacy Prediction
2
- Welcome to TIGER! This online tool accompanies our recent study from the labs of David Knowles and Neville Sanjana. TIGER's ability to make accurate on- and off-target predictions enables users to 1) design highly effective gRNAs and 2) precisely modulate transcript expression by engineered gRNA-target mismatches.
3
-
4
- If you use the TIGER Online Tool in your study, please consider citing:
5
-
6
- Prediction of on-target and off-target activity of CRISPR–Cas13d guide RNAs using deep learning. Wessels, H.-H.*, Stirn, A.*, Méndez-Mancilla, A., Kim, E. J., Hart, S. K., Knowles, D. A.#, & Sanjana, N. E.# Nature Biotechnology (2023). https://doi.org/10.1038/s41587-023-01830-8
7
-
8
- Please note that this precompiled, online tool differs from the manuscript slightly. First, this version of TIGER predicts using just target and guide sequence (see Figure 3c). Second, we map TIGER's predictions to the unit interval (0,1) to make estimates more interpretable: A Guide Score close to 1 corresponds to high gRNA activity (i.e. desirable for on-target guides). A Guide Score near 0 denotes no/minimal activity (i.e. desirable for predicted off-targets to minimize the activity of these gRNAs on unintended targets). This transformation is monotonic and therefore preserves Spearman, AUROC, and AUPRC performance. These estimates (transformations of log-fold-change predictions from TIGER) appear in the Guide Score column of this online tool’s output.
9
-
10
- Using the TIGER Online Tool
11
- The tool supports two methods for transcript entry:
12
-
13
- Manual entry of a single transcript
14
- Uploading a FASTA file that can contain one or more transcripts. Each transcript must have a unique ID.
15
- The tool has three run modes:
16
-
17
- Report all on-target gRNAs for each provided transcript.
18
- Report the top 10 most active, on-target gRNAs for each provided transcript. This mode allows for the optional identification of off-target effects. For off-target avoidance, please note that a higher Guide Score (closer to 1) corresponds to more likely off-target effects.
19
- Report the top 10 most active, on-target gRNAs for each provided transcript and their titration candidates (all possible single mismatches). A higher Guide Score (closer to 1) corresponds to greater transcript knockdown.
20
- The tool uses Gencode v19 (protein-coding and non-coding RNAs) to identify potential off-target transcripts. Due to computational limitations, the online tool only supports off-target predictions for the top 10 most active, on-target gRNAs per transcript.
21
-
22
- Future Development Plans
23
- Off-target scanning speed improvements
24
- Off-target scanning for titration (engineered mismatch) mode
25
- Allow users to select more than the top ten guides per transcript
26
- Incorporate non-scalar features (target accessibility, hybridization energies, etc...)
27
- To report bugs or to request additional features, please click the "Community" button in the top right corner of this screen and start a new discussion. Alternatively, please email Andrew Stirn.
28
 
29
  Version
30
- You are using version 2.0 of this tool. All hugging face versions are marked with a vX.x tag. The code used to train this model can be found here--specifically, please see tiger_trainer.py therein. This GitHub repository has matching vX.x tags. We will increment the major number when a change causes a difference in predictions (e.g. retraining the model). We will otherwise increment the minor number (e.g. changes to the user interface, speed improvements, etc...).
 
1
+ CRISPR Online Tool for Cas9/Cas12/Cas13 Efficacy Prediction
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
 
3
  Version
4
+ You are using version 0.1 of this beta tool.