lbugnon commited on
Commit
c7d800a
·
verified ·
1 Parent(s): 8f7d59d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -41,6 +41,11 @@ def run():
41
  title='sincFold: an end-to-end deep learning approach for RNA structure prediction',
42
  description='sincFold is an end-to-end deep learning approach that predicts the nucleotides contact matrix using only the RNA sequence as input. This demo provides a sincFold model pre-trained with known RNAs secondary structures. Input RNA sequences of up to 512 nucleotides can be processed with this demo. To process sequences longer than 512 nucleotides you can either install the package (via pip) or clone the entire repository.\n\nWebdemo: https://sinc.unl.edu.ar/web-demo/sincFold/\nSource-code: https://github.com/sinc-lab/sincFold.\nbioRxiv: https://www.biorxiv.org/content/10.1101/2023.10.10.561771v1',
43
  fn=fold,
 
 
 
 
 
44
  inputs=[
45
  gr.Textbox(label="RNA Sequence",
46
  value="GAUAAACCUUUAGCAAUAAACGAAAGUUUAACUAAGCCAUACUAACCCCAGGGUUGGUCAAUUUCGUGCCAGCCACCGCGGUCACACGAUUAACCCAAGCCAAUAGAAAUCGGCGUAAAGAGUGUUUUAGAUCAAUCCCCCAAUAAAGCUAAAAUUCACCUG")],
@@ -49,11 +54,6 @@ def run():
49
  gr.Textbox(label="Dot-bracket"),
50
  gr.Image(label="Structure"),
51
  gr.File(label="Fasta format"),
52
- ],
53
- examples=[
54
- ["AACCGGGUCAGGUCCGGAAGGAAGCAGCCCUAA"],
55
- ["CCACGGCGACUAUAUCCCUGGUGUUCACCUCUUCCCAUUCCGAACAGAGUCGUUAAGCCCAGGAGAGCCGAUGGUACUGCUUUAUUGCGGGAGAGUAGGUCGUCGCCGAGU"],
56
- ["GAUAAACCUUUAGCAAUAAACGAAAGUUUAACUAAGCCAUACUAACCCCAGGGUUGGUCAAUUUCGUGCCAGCCACCGCGGUCACACGAUUAACCCAAGCCAAUAGAAAUCGGCGUAAAGAGUGUUUUAGAUCAAUCCCCCAAUAAAGCUAAAAUUCACCUG"],
57
  ])
58
 
59
  demo.launch(server_name="0.0.0.0", server_port=7860)
 
41
  title='sincFold: an end-to-end deep learning approach for RNA structure prediction',
42
  description='sincFold is an end-to-end deep learning approach that predicts the nucleotides contact matrix using only the RNA sequence as input. This demo provides a sincFold model pre-trained with known RNAs secondary structures. Input RNA sequences of up to 512 nucleotides can be processed with this demo. To process sequences longer than 512 nucleotides you can either install the package (via pip) or clone the entire repository.\n\nWebdemo: https://sinc.unl.edu.ar/web-demo/sincFold/\nSource-code: https://github.com/sinc-lab/sincFold.\nbioRxiv: https://www.biorxiv.org/content/10.1101/2023.10.10.561771v1',
43
  fn=fold,
44
+ examples=[
45
+ ["AACCGGGUCAGGUCCGGAAGGAAGCAGCCCUAA"],
46
+ ["CCACGGCGACUAUAUCCCUGGUGUUCACCUCUUCCCAUUCCGAACAGAGUCGUUAAGCCCAGGAGAGCCGAUGGUACUGCUUUAUUGCGGGAGAGUAGGUCGUCGCCGAGU"],
47
+ ["GAUAAACCUUUAGCAAUAAACGAAAGUUUAACUAAGCCAUACUAACCCCAGGGUUGGUCAAUUUCGUGCCAGCCACCGCGGUCACACGAUUAACCCAAGCCAAUAGAAAUCGGCGUAAAGAGUGUUUUAGAUCAAUCCCCCAAUAAAGCUAAAAUUCACCUG"],
48
+ ],
49
  inputs=[
50
  gr.Textbox(label="RNA Sequence",
51
  value="GAUAAACCUUUAGCAAUAAACGAAAGUUUAACUAAGCCAUACUAACCCCAGGGUUGGUCAAUUUCGUGCCAGCCACCGCGGUCACACGAUUAACCCAAGCCAAUAGAAAUCGGCGUAAAGAGUGUUUUAGAUCAAUCCCCCAAUAAAGCUAAAAUUCACCUG")],
 
54
  gr.Textbox(label="Dot-bracket"),
55
  gr.Image(label="Structure"),
56
  gr.File(label="Fasta format"),
 
 
 
 
 
57
  ])
58
 
59
  demo.launch(server_name="0.0.0.0", server_port=7860)