| 1 |
<!DOCTYPE html> |
| 2 |
<html lang="en"> |
| 3 |
|
| 4 |
<head> |
| 5 |
<title>WebLogo 3 - Create </title> |
| 6 |
<!--base responsive code--> |
| 7 |
<meta charset="utf-8"> |
| 8 |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| 9 |
<meta name="viewport" content="width=device-width, initial-scale=1"> |
| 10 |
<!--original meta data--> |
| 11 |
<meta name="author" content="Gavin E. Crooks"> |
| 12 |
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"> |
| 13 |
<link rel="stylesheet" type="text/css" href="logo.css"> |
| 14 |
<title>WebLogo Create Layout Template</title> |
| 15 |
<!--styling for error message for sequence input--> |
| 16 |
<style type="text/css"> |
| 17 |
.error { |
| 18 |
color: #900; |
| 19 |
border-left: red solid +4pt; |
| 20 |
} |
| 21 |
|
| 22 |
.err_msg { |
| 23 |
color: #900; |
| 24 |
} |
| 25 |
|
| 26 |
.err_msg .btn { |
| 27 |
color: #000; |
| 28 |
} |
| 29 |
</style> |
| 30 |
<!--jquery libraries--> |
| 31 |
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script> |
| 32 |
<script src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script> |
| 33 |
<!-- ========Start Bootstrap dependencies ==========--> |
| 34 |
<!-- Latest compiled and minified CSS --> |
| 35 |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> |
| 36 |
<!-- Optional theme --> |
| 37 |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css"> |
| 38 |
<!-- Latest compiled and minified JavaScript --> |
| 39 |
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> |
| 40 |
<!-- ========= end Bootstrap dependencies======= --> |
| 41 |
|
| 42 |
</head> |
| 43 |
|
| 44 |
<body> |
| 45 |
<!--Navigation--> |
| 46 |
<div class="navbar navbar-default navbar-fixed-top" role="navigation"> |
| 47 |
<div class="container"> |
| 48 |
<div class="navbar-header"> |
| 49 |
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> |
| 50 |
<span class="sr-only">Toggle navigation</span> |
| 51 |
<span class="icon-bar"></span> |
| 52 |
<span class="icon-bar"></span> |
| 53 |
<span class="icon-bar"></span> |
| 54 |
</button> |
| 55 |
<a class="navbar-brand" href="./">WebLogo 3</a> |
| 56 |
</div> |
| 57 |
<div class="collapse navbar-collapse"> |
| 58 |
<ul class="nav navbar-nav"> |
| 59 |
<li><a href="./">home</a></li> |
| 60 |
<li class="active"><a href="create.cgi">create</a></li> |
| 61 |
<li><a href="examples.html">examples</a></li> |
| 62 |
<li><a href="manual.html">manual</a></li> |
| 63 |
</ul> |
| 64 |
</div> |
| 65 |
<!--/.nav-collapse --> |
| 66 |
</div> |
| 67 |
</div> |
| 68 |
<!--end Navigation--> |
| 69 |
<div class="container-fluid"> |
| 70 |
<!--start fluid container for responsive content--> |
| 71 |
<div class="row"> |
| 72 |
<!--outermost row container--> |
| 73 |
<h1><p class="text-center"> WebLogo 3: Create</p></h1> |
| 74 |
<form enctype="multipart/form-data" action="create.cgi" name="logoform" method="post"> |
| 75 |
<!--start WebLogo form--> |
| 76 |
<div class="row"> |
| 77 |
<!--open sequence data form row--> |
| 78 |
<div class="col-sm-1"> |
| 79 |
<br> |
| 80 |
</div> |
| 81 |
<!--left margin column for sequence data form --> |
| 82 |
<div class="col-sm-10"> |
| 83 |
<!--central column for sequence data form--> |
| 84 |
<div class="thumbnail clearfix row" id="thumbnail-1"> |
| 85 |
<!--open thumbnail 1 div--> |
| 86 |
<h2> Sequence Data Input:</h2> |
| 87 |
<hr> |
| 88 |
<div class="form-group clearfix"> |
| 89 |
<!--start clearfix div for browse & open buttons--> |
| 90 |
<div class="col-sm-4"> |
| 91 |
|
| 92 |
<input type="file" name="sequences_file"></input> |
| 93 |
</div> |
| 94 |
|
| 95 |
<div class="col-sm-2"> <!--center spacing div--> |
| 96 |
</div> |
| 97 |
|
| 98 |
<!--start URL download container div--> |
| 99 |
<div class="form-group col-sm-4" id="URL-upload"> |
| 100 |
|
| 101 |
<label>URL:</label> |
| 102 |
<input type="text" name="sequences_url" placeholder="URL of sequences" id="url-upload" value="${sequences_url}"> |
| 103 |
</div> |
| 104 |
|
| 105 |
</div> <!--end URL download container div--> |
| 106 |
</div> <!--start clearfix div for browse & open buttons--> |
| 107 |
|
| 108 |
<div class="form-group"> |
| 109 |
<!--open paste seqence data textbox div--> |
| 110 |
<label class="err_msg">${error_message}</label> |
| 111 |
<textarea type="text" class="form-control" id="sequence-data" name="sequences" style="width:100%" placeholder="Or Paste Sequence Data Here">${sequences}</textarea> |
| 112 |
</div> |
| 113 |
<!--close paste seqence data textbox--> |
| 114 |
<div class="form-group row"> |
| 115 |
<!--Start div for Download and Dropbox button--> |
| 116 |
<div class="col-sm-8"> |
| 117 |
<!--start create&clear button column--> |
| 118 |
<div class="form-group"> |
| 119 |
<!--open create&clear button div--> |
| 120 |
<button class="btn btn-success btn-md" type="submit" name="cmd_create"> |
| 121 |
<span class="glyphicon glyphicon-ok"></span> Create WebLogo |
| 122 |
</button> |
| 123 |
<button type="button" class="btn btn-default" name="cmd_clear" onclick="document.logoform.sequences.value='';"> Clear</button> |
| 124 |
</div> |
| 125 |
<!-- end create&clear button div--> |
| 126 |
|
| 127 |
|
| 128 |
</div> <!--end .col-sm-8 create&clear button column--> |
| 129 |
|
| 130 |
<div class="col-sm-4"><!--start spacing div for download checkbox--> |
| 131 |
|
| 132 |
<div class="form-group"> |
| 133 |
<!--start download checkbox div--> |
| 134 |
<label> |
| 135 |
<input type="checkbox" name="download" value="false">  Download to local drive |
| 136 |
</label> |
| 137 |
</div> |
| 138 |
<!--end download checkbox div div--> |
| 139 |
</div> |
| 140 |
</div> |
| 141 |
<!--End clearfix row div for Download and Dropbox button--> |
| 142 |
</div> |
| 143 |
<!--end clearfix #thumbnail-1 div--> |
| 144 |
</div> |
| 145 |
<!--end col-sm-10 central column for sequence data form--> |
| 146 |
<div class="col-sm-1"> <!--start margin row for sequence data form--> |
| 147 |
<br> |
| 148 |
</div><!--end margin row for sequence data form--> |
| 149 |
|
| 150 |
</div> |
| 151 |
<!--end sequence data form row--> |
| 152 |
<div class="row"> |
| 153 |
<!--start row for logo options--> |
| 154 |
<div class="col-sm-1"> |
| 155 |
<br> |
| 156 |
</div> |
| 157 |
<!--left column margin for logo options form--> |
| 158 |
<div class="col-sm-10" id="wrap"> |
| 159 |
<!--central col-sm-10 logo options column--> |
| 160 |
<div class="thumbnail col-sm-6" id="thumbnail-2"> |
| 161 |
<!--start thumbnail-2 div; left side logo options--> |
| 162 |
<div class="form-group"> |
| 163 |
<!--open title div--> |
| 164 |
<label>Title:</label> |
| 165 |
<input type="text" name="logo_title" value="${logo_title}" maxlength="80" placeholder="max 80 char " id="title"> |
| 166 |
</div> |
| 167 |
<!--close title div--> |
| 168 |
<div class="form-group clearfix"> |
| 169 |
<!--open output format div--> |
| 170 |
<label>Output Format:</label> |
| 171 |
|
| 172 |
<!--open div for format options--> |
| 173 |
<select name="format"> |
| 174 |
<option ${png_print} value="png_print">PNG</option> |
| 175 |
<option ${eps} value="eps">EPS (vector)</option> |
| 176 |
<option ${pdf} value="pdf">PDF (vector)</option> |
| 177 |
<option ${svg} value="svg">SVG (vector)</option> |
| 178 |
<option ${logodata} value="logodata">Data (plain text)</option> |
| 179 |
<option ${csv} value="csv">CSV (plain text)</option> |
| 180 |
</select> |
| 181 |
|
| 182 |
<!--close div for format options--> |
| 183 |
</div> |
| 184 |
<!--close output format div--> |
| 185 |
|
| 186 |
<!--open div for sequence type option--> |
| 187 |
<div class="form-group"> |
| 188 |
<label ${alphabet_err}>Sequence type </label> |
| 189 |
<select type="submit" name="alphabet"> |
| 190 |
<option ${alphabet_auto} value="alphabet_auto" >auto</option> |
| 191 |
<option ${alphabet_protein} value="alphabet_protein">protein</option> |
| 192 |
<option ${alphabet_dna} value="alphabet_dna">dna</option> |
| 193 |
<option ${alphabet_rna} value="alphabet_rna">rna</option> |
| 194 |
</select> |
| 195 |
</div> <!--close dive for sequence type option--> |
| 196 |
|
| 197 |
<div class="form-group"> |
| 198 |
<!--open logo-size div--> |
| 199 |
<label ${size_err}>Logo-size: </label> |
| 200 |
<select type="submit" name="stack_width"> |
| 201 |
<option ${small}>small</option> |
| 202 |
<option ${medium}>medium</option> |
| 203 |
<option ${large}>large</option> |
| 204 |
</select> |
| 205 |
</div> |
| 206 |
<!--close logo-size div--> |
| 207 |
<div class="form-group"> |
| 208 |
<!--open Stacks per Line div--> |
| 209 |
<label ${stacks_per_line_err}>Stacks per Line:</label> |
| 210 |
<input type="text" name="stacks_per_line" size="8" value="${stacks_per_line}" placeholder="40"> |
| 211 |
</div> |
| 212 |
<!--close div for format options--> |
| 213 |
|
| 214 |
|
| 215 |
<div class="form-group"> |
| 216 |
<!--open Ignore lower case div--> |
| 217 |
<label>Ignore lower case: |
| 218 |
<input type="checkbox" name="ignore_lower_case" value="true" ${ignore_lower_case}> |
| 219 |
</label> |
| 220 |
</div> |
| 221 |
<!--close ignore lower case div--> |
| 222 |
<div class="form-group"> |
| 223 |
<!--open Units div--> |
| 224 |
<label>Units: </label> |
| 225 |
<select name="unit_name"> |
| 226 |
<option ${probability}>probability</option> |
| 227 |
<option ${bits}>bits</option> |
| 228 |
<option ${nats}>nats</option> |
| 229 |
<option ${kT}>kT</option> |
| 230 |
<option ${kJ_mol}>kJ/mol</option> |
| 231 |
<option ${kcal_mol}>kcal/mol</option> |
| 232 |
</select> |
| 233 |
</div> |
| 234 |
<!--close Units div--> |
| 235 |
<div class="form-group"> |
| 236 |
<!--open first position number div--> |
| 237 |
<label ${first_index_err}> First position number: </label> |
| 238 |
<input type="text" name="first_index" placeholder="max length 80" size="4" maxlength="80" value="${first_index}"> |
| 239 |
</div> |
| 240 |
<!--close first position div--> |
| 241 |
<div class="form-group"> |
| 242 |
<!--open logo range div--> |
| 243 |
<label ${logo_range_err}> Logo range: </label> |
| 244 |
<input type="text" placeholder="logo start" name="logo_start" value="${logo_start}" size="4" maxlength="80"> - |
| 245 |
<input type="text" placeholder="logo end" name="logo_end" value="${logo_end}" id="formGroupInputSmall" size="4" maxlength="80"> |
| 246 |
</div> |
| 247 |
<!--close logo range div--> |
| 248 |
<div class="form-group"> |
| 249 |
<!--open figure label div--> |
| 250 |
<label>Figure label:</label> |
| 251 |
<input type="text" name="logo_label" value="${logo_label}" maxlength="100"> |
| 252 |
</div> |
| 253 |
<!--close figure label div--> |
| 254 |
<div class="form-group"> |
| 255 |
<!--open scale stack div--> |
| 256 |
<label>Scale stack widths: </label> |
| 257 |
<input type="checkbox" name="scale_width" value="true" ${scale_width}> |
| 258 |
</div> |
| 259 |
<!--close scale stack div--> |
| 260 |
<div class="form-group"> |
| 261 |
<!--open composition div--> |
| 262 |
<label ${composition_err}>Composition:</label> |
| 263 |
<select name="composition"> |
| 264 |
<option ${comp_none} value="comp_none">No adjustment for composition</option> |
| 265 |
<option ${comp_auto} value="comp_auto">auto</option> |
| 266 |
<option ${comp_equiprobable} value="comp_equiprobable">equiprobable</option> |
| 267 |
<option ${comp_CG} value="comp_CG">Percentage CG ⇒</option> |
| 268 |
<option ${comp_Celegans} value="comp_Celegans">C. elegans (36%) </option> |
| 269 |
<option ${comp_Dmelanogaster} value="comp_Dmelanogaster">D. melanogaster (43%)</option> |
| 270 |
<option ${comp_Ecoli} value="comp_Ecoli">E. coli (50.5%) </option> |
| 271 |
<option ${comp_Hsapiens} value="comp_Hsapiens">H. sapiens (40%) </option> |
| 272 |
<option ${comp_Mmusculus} value="comp_Mmusculus">M. musculus (42%)</option> |
| 273 |
<option ${comp_Scerevisiae} value="comp_Scerevisiae">S. cerevisiae (38%)</option> |
| 274 |
</select> |
| 275 |
<span>or</span> |
| 276 |
<input type="text" name="percentCG" value="${percentCG}" size="4" maxlength="8"> |
| 277 |
<span> % CG </span> |
| 278 |
</div> |
| 279 |
<!--close composition div--> |
| 280 |
|
| 281 |
|
| 282 |
<div id="padding-div"> |
| 283 |
<br> |
| 284 |
</div> |
| 285 |
</div> |
| 286 |
<!--close 2nd thumbnail column--> |
| 287 |
<div class="thumbnail col-sm-6" id="thumbnail-3"> |
| 288 |
<!--start third thumbnail ; right side logo options--> |
| 289 |
|
| 290 |
<!--start error bars div--> |
| 291 |
<div class="form-group"> |
| 292 |
<label>Error bars: </label> |
| 293 |
<input type="checkbox" name="show_errorbars" value="true" ${show_errorbars} checked> |
| 294 |
</div> |
| 295 |
<!--end error bars div--> |
| 296 |
|
| 297 |
|
| 298 |
<div class="form-group"> |
| 299 |
<!--start Sequence Ends labels:div--> |
| 300 |
<label>Show Sequence Ends labels:</label> |
| 301 |
<input type="checkbox" name="show_ends" value="true" ${show_ends}> |
| 302 |
</div> |
| 303 |
<!--end Sequence Ends labels:div--> |
| 304 |
<div class="form-group"> |
| 305 |
<!--start Version fineprint: --> |
| 306 |
<label>Version fineprint: </label> |
| 307 |
<input type="checkbox" name="show_fineprint" value="true" checked ${show_fineprint}> |
| 308 |
</div> |
| 309 |
<!--end Version fineprint: --> |
| 310 |
<div class="form-group"> |
| 311 |
<!--start x-axis div--> |
| 312 |
<label>X-axis</label> |
| 313 |
<input type="checkbox" name="show_xaxis" value="true" ${show_xaxis}> |
| 314 |
<span>Label: </span> |
| 315 |
<input type="text" name="xaxis_label" value="${xaxis_label}" size="20" maxlength="100"> |
| 316 |
</div> |
| 317 |
<!--end x-axis div--> |
| 318 |
<div class="form-group"> |
| 319 |
<!--start y-axis div--> |
| 320 |
<label>Y-axis</label> |
| 321 |
<input type="checkbox" name="show_yaxis" value="true" ${show_yaxis}> |
| 322 |
<span>Label: </span> |
| 323 |
<input type="text" name="yaxis_label" value="${yaxis_label}" size="20" maxlength="32"> |
| 324 |
</div> |
| 325 |
<!--end y-axis div--> |
| 326 |
<div class="form-group"> |
| 327 |
<!--start y-axis scale div--> |
| 328 |
<label>Y-axis scale:</label> |
| 329 |
<input type="text" name="yaxis_scale" value="${yaxis_scale}" size="4" maxlength="100" placeholder="100 character max"> |
| 330 |
</div> |
| 331 |
<!--end y-axis scale div--> |
| 332 |
<div class="form-group"> |
| 333 |
<!--Y-axis tic spacing--> |
| 334 |
<label>Y-axis tic spacing:</label> |
| 335 |
<input type="text" name="yaxis_tic_interval" value="${yaxis_tic_interval}" placeholder="Y-axis tic spacing" size="4" maxlength="100"> |
| 336 |
</div> |
| 337 |
<div class="form-group" > |
| 338 |
<!--start color scheme div--> |
| 339 |
<label ${color_scheme_err}>Color scheme: </label> |
| 340 |
<select name="color_scheme"> |
| 341 |
<option ${color_auto} value="color_auto">Auto</option> |
| 342 |
<option ${color_monochrome} value="color_monochrome">Monochrome</option> |
| 343 |
<option ${color_base_pairing} value="color_base_pairing">Base pairing (NA default)</option> |
| 344 |
<option ${color_classic} value="color_classic">Classic (NA)</option> |
| 345 |
<option ${color_hydrophobicity} value="color_hydrophobicity">Hydrophobicity (AA default)</option> |
| 346 |
<option ${color_chemistry} value="color_chemistry">Chemistry (AA)</option> |
| 347 |
<option ${color_charge} value="color_charge">Charge (AA)</option> |
| 348 |
<option ${color_custom} value="color_custom">Custom (Specify below)</option> |
| 349 |
</select> |
| 350 |
<!-- Color key: |
| 351 |
<input type="checkbox" name="show_color_key" value="true" ${show_color_key} disabled > |
| 352 |
--> |
| 353 |
</div> |
| 354 |
<!--end color scheme div--> |
| 355 |
|
| 356 |
<div class="row"> |
| 357 |
<div class="col-sm-5"> |
| 358 |
|
| 359 |
<div class="form-group stacked-textfields" id="Symbols"> |
| 360 |
<!--start symbols div--> |
| 361 |
|
| 362 |
<div> |
| 363 |
<label>Symbols:</label> |
| 364 |
</div> |
| 365 |
<div> |
| 366 |
<!--start symbol options--> |
| 367 |
<input name="symbols0" type="text" maxlength="64" value="${symbols0}"> |
| 368 |
<input name="symbols1" type="text" maxlength="64" value="${symbols1}"> |
| 369 |
<input name="symbols2" type="text" maxlength="64" value="${symbols2}"> |
| 370 |
<input name="symbols3" type="text" maxlength="64" value="${symbols3}"> |
| 371 |
<input name="symbols4" type="text" maxlength="64" value="${symbols4}"> |
| 372 |
</div> |
| 373 |
<!--end symbol options--> |
| 374 |
</div> |
| 375 |
</div> |
| 376 |
<!--end symbols div--> |
| 377 |
|
| 378 |
<div class="col-sm-5"> |
| 379 |
|
| 380 |
<div class="form-group stacked-textfields" id="Colors"> |
| 381 |
<!--start colors div--> |
| 382 |
<div> |
| 383 |
<label>Color:</label> |
| 384 |
</div> |
| 385 |
<div> |
| 386 |
<input name="color0" type="text" maxlength="64" value="${color0}"> |
| 387 |
<input name="color1" type="text" maxlength="64" value="${color1}"> |
| 388 |
<input name="color2" type="text" maxlength="64" value="${color2}"> |
| 389 |
<input name="color3" type="text" maxlength="64" value="${color3}"> |
| 390 |
<input name="color4" type="text" maxlength="64" value="${color4}"> |
| 391 |
</div> |
| 392 |
</div> |
| 393 |
|
| 394 |
</div> |
| 395 |
</div> <!--end row for color and symbols div--> |
| 396 |
|
| 397 |
<!--end colors div--> |
| 398 |
<div class="form-group"> |
| 399 |
<!--start reset defaults div--> |
| 400 |
<!--Reset defaults must come after create_logo so that hitting enter creates a logo--> |
| 401 |
<input type="submit" class="btn btn-default btn-sm" name="cmd_reset" value= "Reset Defaults"> |
| 402 |
|
| 403 |
</div> |
| 404 |
<!--end reset defaults div--> |
| 405 |
</div> |
| 406 |
<!--close 3rd thumbnail group--> |
| 407 |
|
| 408 |
<!--start 4th thumbnail group--> |
| 409 |
<div class="thumbnail clearfix" id="thumbnail-4"> |
| 410 |
|
| 411 |
<div class="form-group"> |
| 412 |
<!--start create weblogo bottom button div--> |
| 413 |
<button class="btn btn-success btn-lg" type="submit" name="cmd_create" id="last-button"> |
| 414 |
<span class="glyphicon glyphicon-ok"></span> Create WebLogo </button> |
| 415 |
</div> |
| 416 |
<!--end create weblogo bottom button div--> |
| 417 |
</div> |
| 418 |
<!--end 4th thumbnail group--> |
| 419 |
</div> |
| 420 |
<!--end col-sm-10 central logo options column--> |
| 421 |
<div class="col-sm-1"> |
| 422 |
<br> |
| 423 |
</div> |
| 424 |
<!--right column margin for logo options form--> |
| 425 |
</div> |
| 426 |
<!--end row for logo options--> |
| 427 |
</form> |
| 428 |
<!--end WebLogo form--> |
| 429 |
<div class="footer row" id="footer"> |
| 430 |
<br> |
| 431 |
</div> |
| 432 |
</div> |
| 433 |
<!--end outermost row container--> |
| 434 |
</div> |
| 435 |
<!--end fluid container for responsive content--> |
| 436 |
<!--fallback to server-hosted files in case CDNs fail--> |
| 437 |
|
| 438 |
<!--Google analytics--> |
| 439 |
<script type="text/javascript"> |
| 440 |
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); |
| 441 |
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); |
| 442 |
</script> |
| 443 |
<script type="text/javascript"> |
| 444 |
var pageTracker = _gat._getTracker("UA-5951066-1"); |
| 445 |
pageTracker._trackPageview(); |
| 446 |
</script> |
| 447 |
</body> |
| 448 |
|
| 449 |
</html> |