aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/platforms/create-platform.html
blob: 0866d5ebdfd4252d2cac6f1879f9ed312b9ee225 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{%extends "platforms/base.html"%}
{%from "flash_messages.html" import flash_all_messages%}
{%from "species/macro-display-species-card.html" import display_species_card%}

{%block title%}Platforms — Create Platforms{%endblock%}

{%block pagetitle%}Platforms — Create Platforms{%endblock%}

{%block lvl3_breadcrumbs%}
<li {%if activelink=="create-platform"%}
    class="breadcrumb-item active"
    {%else%}
    class="breadcrumb-item"
    {%endif%}>
  <a href="{{url_for('species.platforms.create_platform',
           species_id=species.SpeciesId)}}">create platform</a>
</li>
{%endblock%}

{%block contents%}
{{flash_all_messages()}}

<div class="row">
  <h2>Create New Platform</h2>

  <p>You can create a new genetic sequencing platform below.</p>
</div>

<div class="row">
  <form id="frm-create-platform"
        method="POST"
        action="{{url_for('species.platforms.create_platform',
                species_id=species.SpeciesId)}}">

    <div class="form-group">
      <label for="txt-geo-platform" class="form-label">GEO Platform</label>
      <input type="text"
             id="txt-geo-platform"
             name="geo-platform"
             required="required"
             class="form-control"  />
      <small class="form-text text-muted">
        <p>This is the platform's
          <a href="https://www.ncbi.nlm.nih.gov/geo/browse/?view=platforms&tax={{species.TaxonomyId}}"
             title="Platforms for '{{species.FullName}}' on NCBI">
            accession value on NCBI</a>. If you do not know the value, click the
          link and search on NCBI for species '{{species.FullName}}'.</p></small>
    </div>

    <div class="form-group">
      <label for="txt-platform-name" class="form-label">Platform Name</label>
      <input type="text"
             id="txt-platform-name"
             name="platform-name"
             required="required"
             class="form-control" />
      <small class="form-text text-muted">
        <p>This is name of the genetic sequencing platform.</p></small>
    </div>

    <div class="form-group">
      <label for="txt-platform-shortname" class="form-label">
        Platform Short Name</label>
      <input type="text"
             id="txt-platform-shortname"
             name="platform-shortname"
             required="required"
             class="form-control" />
      <small class="form-text text-muted">
        <p>Use the following conventions for this field:
          <ol>
            <li>Start with a 4-letter vendor code, e.g. "Affy" for "Affymetrix", "Illu" for "Illumina", etc.</li>
            <li>Append an underscore to the 4-letter vendor code</li>
            <li>Use the name of the array given by the vendor, e.g.  U74AV2, MOE430A, etc.</li>
          </ol>
        </p>
      </small>
    </div>

    <div class="form-group">
      <label for="txt-platform-title" class="form-label">Platform Title</label>
      <input type="text"
             id="txt-platform-title"
             name="platform-title"
             required="required"
             class="form-control"  />
      <small class="form-text text-muted">
        <p>The full platform title. Sometimes, this is the same as the Platform
          Name above.</p></small>
    </div>

    <div class="form-group">
      <label for="txt-go-tree-value" class="form-label">GO Tree Value</label>
      <input type="text"
             id="txt-go-tree-value"
             name="go-tree-value"
             class="form-control"  />
      <small class="form-text text-muted">
        <p>This is a Chip identification value useful for analysis with the
          <strong>
            <a href="https://www.geneweaver.org/"
               title="Go to the GeneWeaver site."
               target="_blank">GeneWeaver</a></strong>
          and
          <strong>
            <a href="https://www.webgestalt.org/"
               title="Go to the WEB-based GEne SeT AnaLysis Toolkit site."
               target="_blank">WebGestalt</a></strong>
          tools.<br />
        This can be left blank for custom platforms.</p></small>
    </div>

    <div class="form-group">
      <input type="submit"
             value="create new platform"
             class="btn btn-primary"  />
    </div>
  </form>
</div>
{%endblock%}

{%block sidebarcontents%}
{{display_species_card(species)}}
{%endblock%}