changeset 13:2826f4b12b0b draft

Uploaded
author iracooke
date Fri, 13 Jun 2014 02:56:02 -0400
parents be958beb41d9
children ca2c12070e89
files tandem.xml
diffstat 1 files changed, 41 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/tandem.xml	Sun Jun 08 00:18:26 2014 -0400
+++ b/tandem.xml	Fri Jun 13 02:56:02 2014 -0400
@@ -1,10 +1,9 @@
 <tool id="proteomics_search_tandem_1" name="X!Tandem MSMS Search" version="1.0.2">
 
-<!--    <requirements>
-	    <requirement type="package" version="1.2.6">protk</requirement>
-    	<requirement type="package" version="4.6.3">trans_proteomic_pipeline</requirement>
+   <requirements>
+	    <requirement type="package" version="1.2.7">protk</requirement>
    </requirements>
- -->
+
 	<description>Run an X!Tandem Search</description>
 
 	<command>
@@ -14,6 +13,13 @@
 		tandem_search.rb -d $database.fasta_file
 		#end if
 
+		#if $tandem_params.source_select=="built_in":
+		-T $tandem_params.paramskey 
+		#else 
+		-T $tandem_params.params_file
+		#end if
+
+
 		--var-mods='
 		$variable_mods
 		#for $custom_variable_mod in $custom_variable_mods:
@@ -42,13 +48,17 @@
 
 		$allow_multi_isotope_search 
 
-		--keep-params-files
+		$acetyl_protein_nterm
 
 		$cleavage_semi
+
+		$keep_spectra
+
+		--threads $threads
 		
 	</command>
 
-	<inputs>	
+	<inputs>
 		<conditional name="database">
 			<param name="source_select" type="select" label="Database source">
 				<option value="built_in">Built-In</option>
@@ -68,8 +78,24 @@
 			</when>
 		</conditional>
 		
-		<param name="input_file" type="data" format="mzml" multiple="false" label="MSMS File" help="An mzML file with MS/MS data"/>
+		<conditional name="tandem_params">
+			<param name="source_select" type="select" label="Baseline Parameters">
+				<option value="built_in" selected="true">Built-In</option>
+				<option value="input_ref">Custom parameter file</option>
+			</param>
+			<when value="built_in">
+				<param name="paramskey" type="select" format="text" >
+					<label>Paramset</label>
+				    <option value="isb_native">ISB Native</option>		
+					<option value="isb_kscore">ISB K-Score</option>
+				</param>
+			</when>
+			<when value="input_ref">
+				<param name="params_file" type="data" format="xml" label="Custom X!Tandem Parameters" />
+			</when>
+		</conditional>
 
+		<param name="input_file" type="data" format="mzml,mgf" multiple="false" label="MSMS File" help="A file with MS/MS data"/>
 
 		<param name="variable_mods" format="text" type="select" multiple="true" label="Variable Modifications" help="Hold the appropriate key while
 			clicking to select multiple items">
@@ -97,7 +123,8 @@
 			<param name="custom_mod" type="text">
 			</param>
 		</repeat>
-		
+
+		<param name="acetyl_protein_nterm" type="boolean" label="Allow N-terminal protein acetylation as a variable modification" truevalue="-y" falsevalue="" />		
 		
 
 		<param name="missed_cleavages" type="select" format="text" help="Allow peptides to contain up to this many missed enzyme cleavage sites">
@@ -107,7 +134,11 @@
 			<option value="2">2</option>
 		</param>
 
-		<param name="cleavage_semi" type="boolean" label="Allow semi-cleaved peptides" help="This can increase search time dramatically" truevalue="" falsevalue="--no-cleavage-semi" />
+		<param name="cleavage_semi" type="boolean" label="Allow semi-cleaved peptides" help="This can increase search time dramatically" truevalue="--cleavage-semi" falsevalue=""/>
+
+		<param name="keep_spectra" type="boolean" label="Keep Spectra" help="Include spectra in the output" truevalue="--output-spectra" falsevalue=""/>
+
+		<param name="threads" type="integer" value="1" label="Threads" help="Number of threads to use for search. Maximum is 16"/>
 		
 		<param name="enzyme" type="select" format="text">
 		    <label>Enzyme</label>
@@ -146,7 +177,7 @@
 			<option value="Da">Da</option>
 		</param>
 		
-		<param name="allow_multi_isotope_search" type="boolean" label="Allow multi-isotope search" help="This allows peptide candidates in windows around -1 Da and -2 Da from the acquired mass to be considered. Only applicable when the minus/plus window above is set to less than 0.5 Da. Good for accurate-mass instruments for which the reported precursor mass is not corrected to the monoisotopic mass." truevalue="" falsevalue="--strict-monoisotopic-mass"/>
+		<param name="allow_multi_isotope_search" type="boolean" label="Allow multi-isotope search" help="This allows peptide candidates in windows around -1 Da and -2 Da from the acquired mass to be considered. Only applicable when the minus/plus window above is set to less than 0.5 Da. Good for accurate-mass instruments for which the reported precursor mass is not corrected to the monoisotopic mass." truevalue="" falsevalue=""/>
 
 	</inputs>