Primer3
General informations
- Web site: http://primer3.sourceforge.net
- License: GNU GPL v.2
Installation instructions
| Installed version | |
|---|---|
| Impilo 10.04 A10 | 2.2.2-beta |
| Impilo 11.04 A11 | 2.2.3 |
Basic usage
Informations and tutorial provided by the application. ATTENTION!! Portions of this documentation are not pertinent to an Impilo installation.
<php> /* * DO NOT MODIFY THIS CODE BLOCK UNLESS YOU REALLY KNOW WHAT YOU ARE DOING!! * IT EXISTS TO DISPLAY THE HELP MATERIAL PROVIDED BY THIS APPLICATION! */ $data = array(); $tmp = exec(“cat /opt/bio/sources/primer3-2.2.2-beta/primer3_manual.htm”,$data); $isnothtml = false; foreach($data as $line){
if($line=="<body>"){
$isnothtml = true;
}
if($isnothtml && $line!="<body>" && $line!="</body>" && $line!="</html>"){
//print($line."\n");
if(strpos($line,"<h1>")!==FALSE){
$line = str_replace("<h1>","<h2>",$line);
$line = str_replace("</h1>","</h2>",$line);
print($line);
}
elseif(strpos($line,"<h2>")!==FALSE){
$line = str_replace("<h2>","<h3>",$line);
$line = str_replace("</h2>","</h3>",$line);
print($line);
}
elseif(strpos($line,"<h3>")!==FALSE){
$line = str_replace("<h3>","<h4>",$line);
$line = str_replace("</h3>","</h4>",$line);
print($line);
}
else{
print($line);
}
}
} </php>