fatmacankara commited on
Commit
2352139
·
1 Parent(s): eced5dc

Rename pages/User Guide.py to pages/1_User Guide.py

Browse files
pages/{User Guide.py → 1_User Guide.py} RENAMED
@@ -5,7 +5,7 @@ def indented_markdown(text, indentation=40, font_size=25):
5
  st.markdown(indented_text, unsafe_allow_html=True)
6
 
7
 
8
- original_title = '<p style="font-family:Trebuchet MS; color:#FD7456; font-size: 35px; font-weight:bold">ASCARIS: Positional Feature Annotation and Protein Structure-Based Representation of Single Amino Acid Variations</p>'
9
  st.markdown(original_title, unsafe_allow_html=True)
10
 
11
 
@@ -23,7 +23,7 @@ text = '<p style="font-family:Trebuchet MS; font-size: 20x">Run ASCARIS for onl
23
  st.markdown(text, unsafe_allow_html=True)
24
 
25
 
26
- text = 'Type your variation of interest in the form of the example:'
27
  indented_markdown(text, indentation=40, font_size=16)
28
 
29
  text = 'P13637-T-613-M'
@@ -33,11 +33,11 @@ st.text('')
33
  st.text('')
34
 
35
 
36
- text = '<p style="font-family:Trebuchet MS; font-size: 25">Run ASCARIS for more than one datapoints:</p>'
37
  st.markdown(text, unsafe_allow_html=True)
38
 
39
 
40
- text = 'Type your variation of interest in the form of the example:'
41
  indented_markdown(text, indentation=40, font_size=16)
42
  text = 'P13637-T-613-M, Q9Y4W6-N-432-T, Q9Y4W6-N-432-T'
43
  indented_markdown(text, indentation=40, font_size=16)
@@ -45,10 +45,10 @@ indented_markdown(text, indentation=40, font_size=16)
45
  st.text('')
46
  st.text('')
47
 
48
- body = '<p style="font-family:Trebuchet MS; font-size: 25px; font-weight:bold">Structure Selection</p>'
49
  st.markdown(body, unsafe_allow_html=True)
50
 
51
- body = '<p style="font-family:Trebuchet MS; font-size: 20x">Users may select where to retrieve their structures to map annotations. If the selection is PDB-ModBase-SwissModel, please select option 1; if the selection is AlphaFold, please select 2 from the dropdown menu.</p>'
52
  st.markdown(body, unsafe_allow_html=True)
53
 
54
  st.text('')
@@ -57,9 +57,5 @@ st.text('')
57
  body = '<p style="font-family:Trebuchet MS; font-size: 25px; font-weight:bold">Imputation</p>'
58
  st.markdown(body, unsafe_allow_html=True)
59
 
60
- body = '<p style="font-family:Trebuchet MS; font-size: 20x">ASCARIS calculates distance information for annotations and domains, as well as SASA values whenever a structure is available, or variation is found on the selected structure. Otherwise, such values are reported as NaN. ASCARIS feature vector can be created either by imputing NaN values in the dataset, or by viewing them as NaNs. Imputation is done by taking the median value of corresponding column feature. Users can select where they want their output to be imputed or not imputed from the dropdown menu.</p>'
61
- st.markdown(body, unsafe_allow_html=True)
62
-
63
-
64
-
65
-
 
5
  st.markdown(indented_text, unsafe_allow_html=True)
6
 
7
 
8
+ original_title = '<p style="font-family:Trebuchet MS; color:#FD7456; font-size: 35px; font-weight:bold">ASCARIS User Guide</p>'
9
  st.markdown(original_title, unsafe_allow_html=True)
10
 
11
 
 
23
  st.markdown(text, unsafe_allow_html=True)
24
 
25
 
26
+ text = 'Type your SAV data point in the following format:'
27
  indented_markdown(text, indentation=40, font_size=16)
28
 
29
  text = 'P13637-T-613-M'
 
33
  st.text('')
34
 
35
 
36
+ text = '<p style="font-family:Trebuchet MS; font-size: 25">Run ASCARIS for more than one datapoint:</p>'
37
  st.markdown(text, unsafe_allow_html=True)
38
 
39
 
40
+ text = 'Type your SAV data point in the following format:'
41
  indented_markdown(text, indentation=40, font_size=16)
42
  text = 'P13637-T-613-M, Q9Y4W6-N-432-T, Q9Y4W6-N-432-T'
43
  indented_markdown(text, indentation=40, font_size=16)
 
45
  st.text('')
46
  st.text('')
47
 
48
+ body = '<p style="font-family:Trebuchet MS; font-size: 25px; font-weight:bold">Selection of the Structure Resource</p>'
49
  st.markdown(body, unsafe_allow_html=True)
50
 
51
+ body = '<p style="font-family:Trebuchet MS; font-size: 20x">Users should select their preferred protein structure resource for the annotation mapping step. If you wish to use PDB-ModBase-SwissModel, please select option 1(ModBase-SwissModel is only used when PDB models are not available for the given SAV); if you wish to use AlphaFold, please select 2 from the dropdown menu.</p>'
52
  st.markdown(body, unsafe_allow_html=True)
53
 
54
  st.text('')
 
57
  body = '<p style="font-family:Trebuchet MS; font-size: 25px; font-weight:bold">Imputation</p>'
58
  st.markdown(body, unsafe_allow_html=True)
59
 
60
+ body = '<p style="font-family:Trebuchet MS; font-size: 20x">ASCARIS calculates spatial distance-based features for annotations and domains, as well as SASA values, wherever structural information is available. Otherwise, such values are reported as NaN. ASCARIS feature vectors can be created either by imputing those NaN values in the dataset, or by leaving them as they are. Imputation is done by taking the median value of the corresponding column (feature). Users can choose whether or not to use imputation from the drop-down menu.</p>'
61
+ st.markdown(body, unsafe_allow_html=True)