机器学习和生物信息学实验室联盟
标题:
web server范例
[打印本页]
作者:
zouquan
时间:
2016-1-12 11:33
标题:
web server范例
http://iclab.life.nctu.edu.tw/iclab_webtools/ESAUbiSite/index.html
应该有个按钮,按下之后例子自动粘贴在文本框内,参考上面的链接
代码大约如下:
<script>
function input()
{
var text = ">sp|A6ZKI3|F127A_HUMAN Protein FAM127A OS=Homo sapiens GN=FAM127A PE=1 SV=1\nMAVESRVTQEEIKKEPEKPIDREKTCPLLLRVFTTNNGRHHRMDEFSRGNVPSSELQIYTWMDATLKELTSLVKEVYPEARKKGTHFNFAIVFTDVKRPGYRVKEIGSTMSGRKGTDDSMTLQSQKFQIGDYLDIAITPPNRAPPPSGRMRPY\n>sp|O43164|PJA2_HUMAN E3 ubiquitin-protein ligase Praja-2 OS=Homo sapiens GN=PJA2 PE=1 SV=4\nMSQYTEKEPAAMDQESGKAVWPKPAGGYQTITGRRYGRRHAYVSFKPCMTRHERSLGRAGDDYEVLELDDVPKENSSGSSPLDQVDSSLPSEPIFEKSETEIPTCGSALNQTTESSQSFVAVHHSEEGRDTLGSSTNLHNHSEGEYIPGACSASSVQNGIALVHTDSYDPDGKHGEDNDHLQLSAEVVEGSRYQESLGNTVFELENREAEAYTGLSPPVPSFNCEVRDEFEELDSVPLVKSSAGDTEFVHQNSQEIQRSSQDEMVSTKQQNNTSQERQTEHSPEDAACGPGHICSEQNTNDREKNHGSSPEQVVRPKVRKLISSSQVDQETGFNRHEAKQRSVQRWREALEVEESGSDDLLIKCEEYDGEHDCMFLDPPYSRVITQRETENNQMTSESGATAGRQEVDNTFWNGCGDYYQLYDKDEDSSECSDGEWSASLPHRFSGTEKDQSSSDESWETLPGKDENEPELQSDSSGPEEENQELSLQEGEQTSLEEGEIPWLQYNEVNESSSDEGNEPANEFAQPAFMLDGNNNLEDDSSVSEDLDVDWSLFDGFADGLGVAEAISYVDPQFLTYMALEERLAQAMETALAHLESLAVDVEVANPPASKESIDGLPETLVLEDHTAIGQEQCCPICCSEYIKDDIATELPCHHFFHKPCVSIWLQKSGTCPVCRRHFPPAVIEASAAPSSEPDPDAPPSNDSIAEAPi";
document.forms.form2.seq.value = text;
}
</script>
<div class="contentTitle"><h1>Paste sequences in Fasta format(<input onclick="input()" type="button" value="Example sequences" id="button">) </h1></div>
<div class="contentText">
<form name = "form2" action="action.php" method="post" >
<p><textarea name="seq" cols=70 rows=10></textarea></p>
<p><input value="Click to predict Ubiquitination Sites" type="submit" ><input value="Reset" type="reset" ><br></p>
欢迎光临 机器学习和生物信息学实验室联盟 (http://123.57.240.48/)
Powered by Discuz! X3.2