From 121baace73afeb30114492ec1513aea097ce5fe2 Mon Sep 17 00:00:00 2001 From: XXAY <2606432452@qq.com> Date: Fri, 8 Oct 2021 16:49:59 +0800 Subject: [PATCH] tools --- chart/views.py | 4 ++-- identifier.sqlite | 0 templates/chart/Basic.html | 3 ++- templates/page/tools.html | 1 - templates/tools/Basics.html | 7 +++++-- templates/tools/fastqc.html | 6 ++++-- templates/tools/orf.html | 6 ++++-- templates/tools/pfam.html | 9 +++++++-- tools/views.py | 1 + 9 files changed, 25 insertions(+), 12 deletions(-) create mode 100644 identifier.sqlite diff --git a/chart/views.py b/chart/views.py index 73909f6..e917d99 100644 --- a/chart/views.py +++ b/chart/views.py @@ -29,10 +29,10 @@ def out_page(request, page): 'title': db.name, 'Basics': mark_safe(a.html_out_Basics()), 'Senior': mark_safe(a.html_out_Senior()), - 'example_file': db.name.replace(" ", "_"), + 'example_file': db.example_file, 'js': mark_safe(a.js_out()), 'url': url_, - "color":mark_safe(a.color_js()) + "color": mark_safe(a.color_js()) } return render(request, f'./chart/Basic.html', data) diff --git a/identifier.sqlite b/identifier.sqlite new file mode 100644 index 0000000..e69de29 diff --git a/templates/chart/Basic.html b/templates/chart/Basic.html index d5f61dc..c793f6f 100644 --- a/templates/chart/Basic.html +++ b/templates/chart/Basic.html @@ -94,7 +94,8 @@ -
  • downlode eg file
  • +
  • downlode eg file +
  • diff --git a/templates/page/tools.html b/templates/page/tools.html index f5a0a3f..7a86dd2 100644 --- a/templates/page/tools.html +++ b/templates/page/tools.html @@ -472,7 +472,6 @@ // fastqc function fastqc_run() { - layui.use(['upload'], function () { var $ = layui.jquery , layer = layui.layer; diff --git a/templates/tools/Basics.html b/templates/tools/Basics.html index 0ea14b0..ce28c12 100644 --- a/templates/tools/Basics.html +++ b/templates/tools/Basics.html @@ -124,8 +124,11 @@
    -

    Convert standard gff format files to standard gtf - format

    +

    + Basic file processing tools + + +

    diff --git a/templates/tools/fastqc.html b/templates/tools/fastqc.html index 5d12db6..76aed8d 100644 --- a/templates/tools/fastqc.html +++ b/templates/tools/fastqc.html @@ -71,8 +71,10 @@
    -

    Convert standard gff format files to standard gtf - format

    +

    + + A tool for sequence quality inspection +

    diff --git a/templates/tools/orf.html b/templates/tools/orf.html index a5dc330..fe9d2b8 100644 --- a/templates/tools/orf.html +++ b/templates/tools/orf.html @@ -131,8 +131,10 @@
    -

    Convert standard gff format files to standard gtf - format

    +

    + + Find the open reading frame in the sequence +

    diff --git a/templates/tools/pfam.html b/templates/tools/pfam.html index 9143349..db73164 100644 --- a/templates/tools/pfam.html +++ b/templates/tools/pfam.html @@ -115,8 +115,13 @@
    -

    Convert standard gff format files to standard gtf - format

    +

    + Pfam( http://pfam.xfam.org/ )It is a widely used protein family domain database, which + relies on multi sequence alignment and hidden Markov models (HMMs) to identify one or + more protein functional domains. Proteins produced by different combinations of domains + are different in nature. Therefore, the identification of protein domains is + particularly important for the analysis of protein function. +

    diff --git a/tools/views.py b/tools/views.py index 20305da..10d4682 100644 --- a/tools/views.py +++ b/tools/views.py @@ -129,6 +129,7 @@ def Differential_expression_analysis(request): destination.write(chunk) destination.close() + os.system("") file_path, file_id = tools.path_out("chart") data = {"id": file_id}