Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -680,18 +680,18 @@ with gr.Blocks(theme='ParityError/Interstellar') as demo:
|
|
680 |
๊ฐ๋ ฅํ ํ์ด๋ก์ DNA ์ผ๋ถ๋ฅผ ์๋ก์ด ํ์ด๋ก์๊ฒ ์ด์ํฉ๋๋ค.
|
681 |
""")
|
682 |
|
|
|
683 |
pdb_id_code = gr.Textbox(
|
684 |
label="ํ์ด๋ก DNA ์ฝ๋",
|
685 |
lines=1,
|
686 |
-
placeholder='๊ธฐ์กด ํ์ด๋ก์ DNA ์ฝ๋๋ฅผ ์
๋ ฅํ์ธ์ (์: 1DPX)'
|
687 |
-
info="๊ณต๊ฐ๋ ํ์ด๋ก DNA ๋ฐ์ดํฐ๋ฒ ์ด์ค์์ ์ฝ๋๋ฅผ ์ฐพ์ ์ ์์ต๋๋ค"
|
688 |
)
|
689 |
|
|
|
690 |
contigs = gr.Textbox(
|
691 |
label="์ด์ํ DNA ์์ญ",
|
692 |
lines=1,
|
693 |
-
placeholder='์์: 15,A3-10,20-30'
|
694 |
-
info="์ด์ํ๊ณ ์ถ์ DNA ์์ญ์ ์ ํํ๊ณ ์๋ก์ด DNA๋ฅผ ์ถ๊ฐํ ์ ์์ต๋๋ค"
|
695 |
)
|
696 |
|
697 |
with gr.Row():
|
@@ -717,13 +717,12 @@ with gr.Blocks(theme='ParityError/Interstellar') as demo:
|
|
717 |
""")
|
718 |
|
719 |
with gr.Row():
|
720 |
-
gr.
|
721 |
-
|
722 |
-
|
723 |
-
|
724 |
-
|
725 |
-
|
726 |
-
)
|
727 |
|
728 |
pssm = gr.File(label='๋ถ์๋ ๊ฐ๋ฌธ ํน์ฑ')
|
729 |
pssm_view = gr.Plot(label='๊ฐ๋ฌธ ํน์ฑ ๋ถ์ ๊ฒฐ๊ณผ')
|
@@ -748,10 +747,6 @@ with gr.Blocks(theme='ParityError/Interstellar') as demo:
|
|
748 |
gr.Markdown("#### ๐ฌ DNA ๊ตฌ์กฐ")
|
749 |
output_viewer = gr.HTML()
|
750 |
|
751 |
-
# ์ด๋ฒคํธ ์ฐ๊ฒฐ ๋ถ๋ถ์ ๋์ผํ๊ฒ ์ ์ง
|
752 |
-
|
753 |
-
|
754 |
-
|
755 |
# ์ด๋ฒคํธ ์ฐ๊ฒฐ
|
756 |
preview_btn.click(get_motif_preview,[pdb_id_code, contigs],[preview_viewer, rewrite_pdb])
|
757 |
pssm_gen_btn.click(get_pssm,[fasta_msa,input_pssm],[pssm_view, pssm])
|
|
|
680 |
๊ฐ๋ ฅํ ํ์ด๋ก์ DNA ์ผ๋ถ๋ฅผ ์๋ก์ด ํ์ด๋ก์๊ฒ ์ด์ํฉ๋๋ค.
|
681 |
""")
|
682 |
|
683 |
+
gr.Markdown("๊ณต๊ฐ๋ ํ์ด๋ก DNA ๋ฐ์ดํฐ๋ฒ ์ด์ค์์ ์ฝ๋๋ฅผ ์ฐพ์ ์ ์์ต๋๋ค")
|
684 |
pdb_id_code = gr.Textbox(
|
685 |
label="ํ์ด๋ก DNA ์ฝ๋",
|
686 |
lines=1,
|
687 |
+
placeholder='๊ธฐ์กด ํ์ด๋ก์ DNA ์ฝ๋๋ฅผ ์
๋ ฅํ์ธ์ (์: 1DPX)'
|
|
|
688 |
)
|
689 |
|
690 |
+
gr.Markdown("์ด์ํ๊ณ ์ถ์ DNA ์์ญ์ ์ ํํ๊ณ ์๋ก์ด DNA๋ฅผ ์ถ๊ฐํ ์ ์์ต๋๋ค")
|
691 |
contigs = gr.Textbox(
|
692 |
label="์ด์ํ DNA ์์ญ",
|
693 |
lines=1,
|
694 |
+
placeholder='์์: 15,A3-10,20-30'
|
|
|
695 |
)
|
696 |
|
697 |
with gr.Row():
|
|
|
717 |
""")
|
718 |
|
719 |
with gr.Row():
|
720 |
+
with gr.Column():
|
721 |
+
gr.Markdown("ํ์ด๋ก ๊ฐ๋ฌธ์ DNA ์ ๋ณด๊ฐ ๋ด๊ธด ํ์ผ์ ์
๋ก๋ํ์ธ์")
|
722 |
+
fasta_msa = gr.File(label='๊ฐ๋ฌธ DNA ๋ฐ์ดํฐ')
|
723 |
+
with gr.Column():
|
724 |
+
gr.Markdown("์ด๋ฏธ ๋ถ์๋ ๊ฐ๋ฌธ ํน์ฑ ๋ฐ์ดํฐ๊ฐ ์๋ค๋ฉด ์
๋ก๋ํ์ธ์")
|
725 |
+
input_pssm = gr.File(label='๊ฐ๋ฌธ ํน์ฑ ๋ฐ์ดํฐ')
|
|
|
726 |
|
727 |
pssm = gr.File(label='๋ถ์๋ ๊ฐ๋ฌธ ํน์ฑ')
|
728 |
pssm_view = gr.Plot(label='๊ฐ๋ฌธ ํน์ฑ ๋ถ์ ๊ฒฐ๊ณผ')
|
|
|
747 |
gr.Markdown("#### ๐ฌ DNA ๊ตฌ์กฐ")
|
748 |
output_viewer = gr.HTML()
|
749 |
|
|
|
|
|
|
|
|
|
750 |
# ์ด๋ฒคํธ ์ฐ๊ฒฐ
|
751 |
preview_btn.click(get_motif_preview,[pdb_id_code, contigs],[preview_viewer, rewrite_pdb])
|
752 |
pssm_gen_btn.click(get_pssm,[fasta_msa,input_pssm],[pssm_view, pssm])
|