Merge pull request #5205 from solgenomics/topic/generic_trial_upload
[sgn.git] / mason / secretom / secretary.mas
blob0033d271c189292cc6305e33d4dddc173cf31231
1 <& /page/page_title.mas, title => '<span class="secretary">SecreTary</span>: Computational prediction of secreted proteins' &>
3 <& /secretom/secretary/nav.mas, curr_page => 'tool' &>
5 <&| /page/info_section.mas, title => 'Submit Sequences' &>
6   
7 <form id="secretary_input" method="post" action="/secretom/secretary/run" name="secretary" enctype="multipart/form-data">
8     <div class="examples">
9       <input type="submit" onclick="set_secretary_example_inputs(); return false;" value="Show Input Example" />
10       <input class="reset" type="reset" name="reset" value="Clear form" />
11     </div>
13     <label for="sequence_input_text">Paste one or more protein sequences in FASTA format</label>
14     <textarea id="sequence_input_text" name="sequence" rows="10" cols="100"></textarea>
16     <table><tr>
17       <td>
18        <label for="sequence_input_file">And/or upload a FASTA file of protein sequences</label><br />
19        <input style="margin: 0.8em 1em"   id="sequence_input_file" type="file" name="sequence_file" />
20       </td>
22       <td>
24         <input id="st_out_in_browser" type="radio" name="st_output_action" value="st_out_in_browser" checked=
25 checked"/>Show results in browser. <br/>
26         <input id="st_out_download" type="radio" name="st_output_action" value="st_out_download" />Download results. <br />
28        <input type="checkbox" value="sort_by_score" name="sort" id="sort_by_score">
29          <label for="sort_by_score">Sort by score</label>
30        <br />
31        <input type="checkbox" value="show_only_sp" name="show_only_sp" id="show_only_sp">
32          <label for="show_only_sp">Show predicted signal peptides only</label>
33       </td>
35       <td>
36        <input class="submit" type="submit" name="submit" onclick="return validate_form()" value="Submit" />
37       </td>
39     </tr></table>
40   </form>
41 </&>
43 <&| /page/info_section.mas, title => 'Other tools' &>
44   <ul>
45   <li><a href="http://www.cbs.dtu.dk/services/SignalP">SignalP</a></li>
46   <li><a href="http://www.predisi.de">PrediSi</a></li>
47   <li><a href="http://rpsp.bioinfo.pl/">Rapid Prediction of Signal Peptides (RPSP)</a></li>
48   <li><a href="http://phobius.sbc.su.se/">Phobius</a></li>
49   <li><a href="http://urgi.versailles.inra.fr/predotar/predotar.html">Predotar</a></li>
50   </ul>
51 </&>
53 <script language="javascript">
55 var seq_input = document.getElementById('sequence_input_text');
56 var seq_file_input = document.getElementById('sequence_input_file');
57 function set_secretary_example_inputs() {
58         seq_input.value = ">AT1G73440.1  \nMARGESEGESSGSERESSSSSSGNESEPTKGTISKYEKQRLSRIAENKARLDALGISKAAKALLSPSPVSKKRRVKRNSGEEDDDYTPVIADGDGDEDDDEVEEIDEDEEFLCKRKNKSSASKRKVSSRKILNTSVSLGEDDDDLDKAIALSLQGSVAGSDKEAATMKKKRPELMSKTQMTQDELVMYFCQFDEGGKGFITLRDVAKMATVHDFTWTEEELQDMIRCFDMDKDGKLSLDEFRKIVSRCRMLKGS* \n>AT1G75120.1 AI22=119.545 Gravy22=0.5864 nR=2 nS=0 nT=0 nDRQPEN=6 Nitrogen=31 Oxygen=27 \nMAVRKEKVQPFRECGIAIAVLVGIFIGCVCTILIPNDFVNFRSSKVASASCESPERVKMFKAEFAIISEKNGELRKQVSDLTEKVRLAEQKEVIKAGPFGTVTGLQTNPTVAPDESANPRLAKLLEKVAVNKEIIVVLANNNVKPMLEVQIASVKRVGIQNYLVVPLDDSLESFCKSNEVAYYKRDPDNAIDVVGKSRRSSDVSGLKFRVLREFLQLGYGVLLSDVDIVFLQNPFGHLYRDSDVESMSDGHDNNTAYGFNDVFDDPTMTRSRTVYTNRIWVFNSGFFYLRPTLPSIELLDRVTDTLSKSGGWDQAVFNQHLFYPSHPGYTGLYASKRVMDVYEFMNSRVLFKTVRKDEEMKKLKPVIIHMNYHSDKLERMQAAVEFYVNGKQDALDRFRDGS* \n>AT1G17600.1 AI22=61.818 Gravy22=-0.2273 nR=2 nS=5 nT=0 nDRQPEN=6 Nitrogen=29 Oxygen=34 \nMVSSSAPRVSKYDVFLSFRGEDTRKTIVSHLYAALDSRGIVTFKDDQRLEIGDHISDELHRALGSSSFAVVVLSENYATSRWCLLELQLIMELMKEGRLEVFPIFYGVDPSVVRHQLGSFSLVKYQGLEMVDKVLRWREALNLIANLSGVVSSHCVDEAIMVGEIARDISRRVTLMHKIDSGNIVGMKAHMEGLNHLLDQESNEVLLVGIWGMGGIGKTSIVKCLYDQLSPKFPAHCFIENIKSVSKDNGHDLKHLQKELLSSILCDDIRLWSVEAGCQEIKKRLGNQKVFLVLDGVDKVAQVHALAKEKNWFGPGSRIIITTRDMGLLNTCGVEVVYEVKCLDDKDALQMFKQIAFEGGLPPCEGFDQLSIRASKLAHGLPSAIQAYALFLRGRTASPEEWEEALGALESSLDENIMEILKISYEGLPKPHQNVFLHVVCLFNGDTLQRITSLLHGPIPQSSLWIRVLAEKSLIKISTNGSVIMHKLVEQMGREIIRDDMSLARKFLRDPMEIRVALAFRDGGEQTECMCLHTCDMTCVLSMEASVVGRMHNLKFLKVYKHVDYRESNLQLIPDQPFLPRSLRLFHWDAFPLRALPSGSDPCFLVELNLRHSDLETLWSGTPSNGVKTENPCEKHNSNYFHVLLYLAQMLKSLKRLDVTGSKHLKQLPDLSSITSLEELLLEQCTRLEGIPECIGKRSTLKKLKLSYRGGRRSALRFFLRKSTRQQHIGLEFPDAKVKMDALINISIGGDITFEFRSKFRGYAEYVSFNSEQQIPIISAMSLQQAPWVISECNRFNSLRIMRFSHKENGESFSFDVFPDFPDLKELKLVNLNIRKIPSGICHLDLLEKLDLSGNDFENLPEAMSSLSRLKTLWLQNCFKLQELPKLTQVQTLTLTNCRNLRSLAKLSNTSQDEGRYCLLELCLENCKSVESLSDQLSHFTKLTCLDLSNHDFETLPSSIRDLTSLVTLCLNNCKKLKSVEKLPLSLQFLDAHGCDSLEAGSAEHFEDIPNKEVNTWLLIRLYYD* \n";
61 function validate_form() {
62   if( seq_input.value || seq_file_input.value )
63         return true;
65   alert('No sequence entered, please paste or upload sequence data to run SecreTary.');
66   return false;
69 </script>