PhDFlo commited on
Commit
1135d83
·
1 Parent(s): a3348d1

what's next

Browse files
Files changed (1) hide show
  1. app.py +18 -0
app.py CHANGED
@@ -256,6 +256,7 @@ def plot_protein(result_df) -> str:
256
 
257
  return pdb_file
258
 
 
259
  # Function to plot a CIF file
260
  def show_cif_file(cif_file):
261
  """Plot a 3D structure from a CIF file with the Molecule3D library.
@@ -278,6 +279,7 @@ def show_cif_file(cif_file):
278
 
279
  return str(pdb_file)
280
 
 
281
  # Create the Gradio interface
282
  reps = [{"model": 0,"style": "cartoon","color": "hydrophobicity"}]
283
 
@@ -343,6 +345,16 @@ with gr.Blocks(theme=theme) as demo:
343
  label="MCP demonstration video"
344
  )
345
 
 
 
 
 
 
 
 
 
 
 
346
  with open("introduction_page.md", "r") as f:
347
  intro_md = f.read()
348
  gr.Markdown(intro_md)
@@ -358,6 +370,12 @@ with gr.Blocks(theme=theme) as demo:
358
 
359
  gr.Markdown(
360
  """
 
 
 
 
 
 
361
  # Contact
362
  For any issues or questions, please contact the developer or refer to the documentation.
363
  """)
 
256
 
257
  return pdb_file
258
 
259
+
260
  # Function to plot a CIF file
261
  def show_cif_file(cif_file):
262
  """Plot a 3D structure from a CIF file with the Molecule3D library.
 
279
 
280
  return str(pdb_file)
281
 
282
+
283
  # Create the Gradio interface
284
  reps = [{"model": 0,"style": "cartoon","color": "hydrophobicity"}]
285
 
 
345
  label="MCP demonstration video"
346
  )
347
 
348
+ gr.Markdown(
349
+ """
350
+ # MCP tools
351
+ 1. `create_fasta_file`: Create a FASTA file from a protein sequence string with a unique name.
352
+ 2. `create_json_config`: Create a JSON configuration file from the Gradio interface inputs.
353
+ 3. `compute_Chai1`: Compute a Chai-1 simulation on Modal labs server. Return a DataFrame with protein scores.
354
+ 4. `plot_protein`: Plot the 3D structure of a protein using the DataFrame from `compute_Chai1` (Use for Gradio interface).
355
+ 5. `show_cif_file`: Plot a 3D structure from a CIF file with the Molecule3D library (Use for the Gradio interface).
356
+ """)
357
+
358
  with open("introduction_page.md", "r") as f:
359
  intro_md = f.read()
360
  gr.Markdown(intro_md)
 
370
 
371
  gr.Markdown(
372
  """
373
+ # What's next?
374
+ 1. Expose additional tools to post-process the results of the simulations.
375
+ The current post-processong tools are suited for the Gradio interface (ex: Plot images of the molecule structure from a file).
376
+ 2. Continue the pipeline by adding softawres like [OpenMM](https://openmm.org/) or [Gromacs](https://www.gromacs.org/) for molecular dynamics simulations.
377
+ 3. Perform complete simulation plans including loops over parameters fully automated by the LLM.
378
+
379
  # Contact
380
  For any issues or questions, please contact the developer or refer to the documentation.
381
  """)