extract($_REQUEST); if (!isset($step)) $step = 1; if ($step == 1) { echo "
";
if(!$Tnum) echo"
(3) Select the T number of your virus/capsid.(Select T=1 for pT2, pT3,pT25, pT169 structures) "; else echo"Lattice for T number = $Tnum "; echo "\n \n"; if (!$matrix) echo" (4) Select the SUBUNIT and MATRIX identifiers(based on the numbers in the adjacent DIAGRAM e.g. C1,B6,C7,B8,C9,B5 OR simply 1, 2, 3, etc.)\n"; else echo"Using Matrices: $matrix \n"; echo" | ";
if (!$matrix) {
echo" ";
if (!$Tnum) echo"\n \n";
else {
$cage=$Tnum;
if (preg_match("/pT/i", $cage)) $cage=1;
if ($cage==3) echo " \n";
else echo" \n";
}
echo" | \n";
}
echo"
|
"; if (!$calpha) echo" (5) Use only the C-alpha atoms?Yes No \n"; else echo"Use only C-alpha atoms? $calpha \n"; echo"\n"; if (!$displayprev) echo" (6) Display graphical preview?Yes No \n"; else echo "Display graphical preview? $displayprev \n"; if (!$usermail) echo"(7) Enter your e-mail address:
(Mandatory) |
|
| ";
// check if user has selected or uploaded a virus
if ($upfile2) $upfile=$upfile2;
else $upfile=$_FILES['upfile']['name'];
if ($upfile) echo"upfile: $upfile \n"; if (!$PDBID && !$upfile) { echo" No input virus for oligomer generation! Click HERE to go back and select or upload an entry."; exit; } elseif ($upfile){ echo"Uploading File: $upfile \n";
move_uploaded_file ($_FILES['upfile']['tmp_name'], "./SCRATCH/" . $_FILES['upfile']['name']);
}
// check that if they did not choose an FXOLGMR, that they have a Tnumber & Matrices
if ($FXOLGMR=='-NO-' && ($T=='-- T numbers --' || !$MATRIX)) {
echo" If you are not generating a partial or full particle from the list, Click HERE to go back and complete the form."; exit; } else { echo" Please wait while your oligomer is generated.Some Oligomers may take longer than others, depending on the number of atoms in the resulting file.
|