Mercurial > repos > galaxyp > openms_xfdr
diff XFDR.xml @ 9:cf9b51c0b15e draft default tip
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 5c080b1e2b99f1c88f4557e9fec8c45c9d23b906
author | galaxyp |
---|---|
date | Fri, 14 Jun 2024 21:30:46 +0000 |
parents | 87dda030bc92 |
children |
line wrap: on
line diff
--- a/XFDR.xml Thu Dec 01 18:59:41 2022 +0000 +++ b/XFDR.xml Fri Jun 14 21:30:46 2024 +0000 @@ -1,6 +1,5 @@ -<?xml version='1.0' encoding='UTF-8'?> <!--This is a configuration file for the integration of a tools into Galaxy (https://galaxyproject.org/). This file was automatically generated using CTDConverter.--> -<!--Proposed Tool Section: [ID Processing]--> +<!--Proposed Tool Section: [Cross-Linking]--> <tool id="XFDR" name="XFDR" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05"> <description>Calculates false discovery rate estimates on crosslink identifications</description> <macros> @@ -16,7 +15,7 @@ ## Preprocessing #if $in: mkdir in && - ln -s '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' && + cp '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' && #end if #if "out_idXML_FLAG" in str($OPTIONAL_OUTPUTS).split(',') mkdir out_idXML && @@ -73,20 +72,20 @@ </configfiles> <inputs> <param argument="-in" type="data" format="idxml,mzid,xquest.xml" optional="true" label="Crosslink Identifications in either xquest.xml, idXML, or mzIdentML format (as produced by OpenPepXL)" help=" select idxml,mzid,xquest.xml data sets(s)"/> - <param argument="-decoy_string" type="text" optional="true" value="DECOY_" label="Prefix of decoy protein ids" help="The correspondig target protein id should be retrievable by deleting this prefix"> + <param argument="-decoy_string" type="text" value="DECOY_" label="Prefix of decoy protein ids" help="The correspondig target protein id should be retrievable by deleting this prefix"> <expand macro="list_string_san" name="decoy_string"/> </param> - <param argument="-minborder" type="float" optional="true" value="-50.0" label="Filter for minimum precursor mass error (ppm) before FDR estimation" help="Values outside of the tolerance window of the original search will effectively disable this filter"/> - <param argument="-maxborder" type="float" optional="true" value="50.0" label="Filter for maximum precursor mass error (ppm) before FDR estimation" help="Values outside of the tolerance window of the original search will effectively disable this filter"/> - <param argument="-mindeltas" type="float" optional="true" min="0.0" max="1.0" value="0.0" label="Filter for delta score, 0 disables the filte" help="Minimum delta score required, hits are rejected if larger or equal. The delta score is a ratio of the score of a hit and the score of the next best hit to the same spectrum, so the value range is between 0 and 1 with 1.0 meaning the scores are equal and 0.5 meaning the next best score is half as high as the current one"/> - <param argument="-minionsmatched" type="integer" optional="true" min="0" value="0" label="Filter for minimum matched ions per peptide" help=""/> + <param argument="-minborder" type="float" value="-50.0" label="Filter for minimum precursor mass error (ppm) before FDR estimation" help="Values outside of the tolerance window of the original search will effectively disable this filter"/> + <param argument="-maxborder" type="float" value="50.0" label="Filter for maximum precursor mass error (ppm) before FDR estimation" help="Values outside of the tolerance window of the original search will effectively disable this filter"/> + <param argument="-mindeltas" type="float" min="0.0" max="1.0" value="0.0" label="Filter for delta score, 0 disables the filte" help="Minimum delta score required, hits are rejected if larger or equal. The delta score is a ratio of the score of a hit and the score of the next best hit to the same spectrum, so the value range is between 0 and 1 with 1.0 meaning the scores are equal and 0.5 meaning the next best score is half as high as the current one"/> + <param argument="-minionsmatched" type="integer" min="0" value="0" label="Filter for minimum matched ions per peptide" help=""/> <param argument="-uniquexl" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Calculate statistics based only on unique IDs" help="For a set of IDs from equal candidates (same pair of peptides, modifications and cross-linked positions), only the highest scoring hit will be considered. By default the score distribution will be estimated using all 1st ranked candidates"/> <param argument="-no_qvalues" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Do not transform simple FDR to q-values" help=""/> - <param argument="-minscore" type="float" optional="true" value="-10.0" label="Minimum score to be considered for FDR calculation" help="A number lower than the lowest score will effectively disable this filter"/> - <param argument="-binsize" type="float" optional="true" min="0.0" value="0.0001" label="Bin size for the cumulative histograms for score distributions" help="Should be about the same size as the smallest expected difference between scores. Smaller numbers will make XFDR more robust, but much slower. Negative numbers are not allowed. Should only be changed if the range of the main score changes or another score than the OpenPepXL score is used"/> + <param argument="-minscore" type="float" value="-10.0" label="Minimum score to be considered for FDR calculation" help="A number lower than the lowest score will effectively disable this filter"/> + <param argument="-binsize" type="float" min="0.0" value="0.0001" label="Bin size for the cumulative histograms for score distributions" help="Should be about the same size as the smallest expected difference between scores. Smaller numbers will make XFDR more robust, but much slower. Negative numbers are not allowed. Should only be changed if the range of the main score changes or another score than the OpenPepXL score is used"/> <expand macro="adv_opts_macro"> <param argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overrides tool-specific checks" help=""/> - <param argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help=""> + <param argument="-test" type="hidden" value="False" label="Enables the test mode (needed for internal use only)" help="" optional="true"> <expand macro="list_string_san" name="test"/> </param> </expand> @@ -114,16 +113,17 @@ <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter> </data> </outputs> - <tests><!-- TOPP_XFDR_1 --> + <tests> + <!-- TOPP_XFDR_1 --> <test expect_num_outputs="4"> <section name="adv_opts"> <param name="force" value="false"/> <param name="test" value="true"/> </section> <param name="in" value="XFDR_test_in1.idXML"/> - <output name="out_idXML" file="XFDR_test_out1_temp.idXML" compare="sim_size" delta_frac="0.7" ftype="idxml"/> - <output name="out_mzIdentML" file="XFDR_test_out1_temp.mzid" compare="sim_size" delta_frac="0.7" ftype="mzid"/> - <output name="out_xquest" file="XFDR_test_out1_temp.xquest.xml" compare="sim_size" delta_frac="0.7" ftype="xquest.xml"/> + <output name="out_idXML" value="XFDR_test_out1_temp.idXML" compare="sim_size" delta_frac="0.7" ftype="idxml"/> + <output name="out_mzIdentML" value="XFDR_test_out1.mzid" compare="sim_size" delta_frac="0.7" ftype="mzid"/> + <output name="out_xquest" value="XFDR_test_out1.xquest.xml" compare="sim_size" delta_frac="0.7" ftype="xquest.xml"/> <param name="decoy_string" value="DECOY_"/> <param name="minborder" value="-50.0"/> <param name="maxborder" value="50.0"/> @@ -139,6 +139,9 @@ <is_valid_xml/> </assert_contents> </output> + <assert_stdout> + <has_text_matching expression="@EXECUTABLE@ took .* \(wall\), .* \(CPU\), .* \(system\), .* \(user\)(; Peak Memory Usage: 32 MB)?."/> + </assert_stdout> </test> <!-- TOPP_XFDR_2 --> <test expect_num_outputs="4"> @@ -147,9 +150,9 @@ <param name="test" value="true"/> </section> <param name="in" value="XFDR_test_in1.idXML"/> - <output name="out_idXML" file="XFDR_test_out2_temp.idXML" compare="sim_size" delta_frac="0.7" ftype="idxml"/> - <output name="out_mzIdentML" file="XFDR_test_out2_temp.mzid" compare="sim_size" delta_frac="0.7" ftype="mzid"/> - <output name="out_xquest" file="XFDR_test_out2_temp.xquest.xml" compare="sim_size" delta_frac="0.7" ftype="xquest.xml"/> + <output name="out_idXML" value="XFDR_test_out2.idXML" compare="sim_size" delta_frac="0.7" ftype="idxml"/> + <output name="out_mzIdentML" value="XFDR_test_out2.mzid" compare="sim_size" delta_frac="0.7" ftype="mzid"/> + <output name="out_xquest" value="XFDR_test_out2.xquest.xml" compare="sim_size" delta_frac="0.7" ftype="xquest.xml"/> <param name="decoy_string" value="DECOY_"/> <param name="minborder" value="-50.0"/> <param name="maxborder" value="50.0"/> @@ -165,6 +168,9 @@ <is_valid_xml/> </assert_contents> </output> + <assert_stdout> + <has_text_matching expression="@EXECUTABLE@ took .* \(wall\), .* \(CPU\), .* \(system\), .* \(user\)(; Peak Memory Usage: 32 MB)?."/> + </assert_stdout> </test> <!-- TOPP_XFDR_3 --> <test expect_num_outputs="4"> @@ -173,9 +179,9 @@ <param name="test" value="true"/> </section> <param name="in" value="XFDR_test_in2.xquest.xml"/> - <output name="out_idXML" file="XFDR_test_out3_temp.idXML" compare="sim_size" delta_frac="0.7" ftype="idxml"/> - <output name="out_mzIdentML" file="XFDR_test_out3_temp.mzid" compare="sim_size" delta_frac="0.7" ftype="mzid"/> - <output name="out_xquest" file="XFDR_test_out3_temp.xquest.xml" compare="sim_size" delta_frac="0.7" ftype="xquest.xml"/> + <output name="out_idXML" value="XFDR_test_out3.idXML" compare="sim_size" delta_frac="0.7" ftype="idxml"/> + <output name="out_mzIdentML" value="XFDR_test_out3.mzid" compare="sim_size" delta_frac="0.7" ftype="mzid"/> + <output name="out_xquest" value="XFDR_test_out3.xquest.xml" compare="sim_size" delta_frac="0.7" ftype="xquest.xml"/> <param name="decoy_string" value="DECOY_"/> <param name="minborder" value="-50.0"/> <param name="maxborder" value="50.0"/> @@ -191,6 +197,9 @@ <is_valid_xml/> </assert_contents> </output> + <assert_stdout> + <has_text_matching expression="@EXECUTABLE@ took .* \(wall\), .* \(CPU\), .* \(system\), .* \(user\)(; Peak Memory Usage: 32 MB)?."/> + </assert_stdout> </test> <!-- TOPP_XFDR_4 --> <test expect_num_outputs="4"> @@ -199,9 +208,9 @@ <param name="test" value="true"/> </section> <param name="in" value="XFDR_test_in2.xquest.xml"/> - <output name="out_idXML" file="XFDR_test_out4_temp.idXML" compare="sim_size" delta_frac="0.7" ftype="idxml"/> - <output name="out_mzIdentML" file="XFDR_test_out4_temp.mzid" compare="sim_size" delta_frac="0.7" ftype="mzid"/> - <output name="out_xquest" file="XFDR_test_out4_temp.xquest.xml" compare="sim_size" delta_frac="0.7" ftype="xquest.xml"/> + <output name="out_idXML" value="XFDR_test_out4.idXML" compare="sim_size" delta_frac="0.7" ftype="idxml"/> + <output name="out_mzIdentML" value="XFDR_test_out4.mzid" compare="sim_size" delta_frac="0.7" ftype="mzid"/> + <output name="out_xquest" value="XFDR_test_out4.xquest.xml" compare="sim_size" delta_frac="0.7" ftype="xquest.xml"/> <param name="decoy_string" value="DECOY_"/> <param name="minborder" value="-3.0"/> <param name="maxborder" value="3.0"/> @@ -217,6 +226,9 @@ <is_valid_xml/> </assert_contents> </output> + <assert_stdout> + <has_text_matching expression="@EXECUTABLE@ took .* \(wall\), .* \(CPU\), .* \(system\), .* \(user\)(; Peak Memory Usage: 32 MB)?."/> + </assert_stdout> </test> <!-- TOPP_XFDR_5 --> <test expect_num_outputs="4"> @@ -225,9 +237,9 @@ <param name="test" value="true"/> </section> <param name="in" value="XFDR_test_in3.xquest.xml"/> - <output name="out_idXML" file="XFDR_test_out5_temp.idXML" compare="sim_size" delta_frac="0.7" ftype="idxml"/> - <output name="out_mzIdentML" file="XFDR_test_out5_temp.mzid" compare="sim_size" delta_frac="0.7" ftype="mzid"/> - <output name="out_xquest" file="XFDR_test_out5_temp.xquest.xml" compare="sim_size" delta_frac="0.7" ftype="xquest.xml"/> + <output name="out_idXML" value="XFDR_test_out5.idXML" compare="sim_size" delta_frac="0.7" ftype="idxml"/> + <output name="out_mzIdentML" value="XFDR_test_out5.mzid" compare="sim_size" delta_frac="0.7" ftype="mzid"/> + <output name="out_xquest" value="XFDR_test_out5.xquest.xml" compare="sim_size" delta_frac="0.7" ftype="xquest.xml"/> <param name="decoy_string" value="DECOY_"/> <param name="minborder" value="-3.0"/> <param name="maxborder" value="3.0"/> @@ -243,6 +255,9 @@ <is_valid_xml/> </assert_contents> </output> + <assert_stdout> + <has_text_matching expression="@EXECUTABLE@ took .* \(wall\), .* \(CPU\), .* \(system\), .* \(user\)(; Peak Memory Usage: 32 MB)?."/> + </assert_stdout> </test> <!-- TOPP_XFDR_6 --> <test expect_num_outputs="2"> @@ -251,7 +266,7 @@ <param name="test" value="true"/> </section> <param name="in" value="XFDR_test_in4.idXML"/> - <output name="out_idXML" file="XFDR_test_out6_temp.idXML" compare="sim_size" delta_frac="0.7" ftype="idxml"/> + <output name="out_idXML" value="XFDR_test_out6.idXML" compare="sim_size" delta_frac="0.7" ftype="idxml"/> <param name="decoy_string" value="DECOY_"/> <param name="minborder" value="-50.0"/> <param name="maxborder" value="50.0"/> @@ -267,6 +282,9 @@ <is_valid_xml/> </assert_contents> </output> + <assert_stdout> + <has_text_matching expression="@EXECUTABLE@ took .* \(wall\), .* \(CPU\), .* \(system\), .* \(user\)(; Peak Memory Usage: 32 MB)?."/> + </assert_stdout> </test> <!-- TOPP_XFDR_7 --> <test expect_num_outputs="4"> @@ -275,9 +293,9 @@ <param name="test" value="true"/> </section> <param name="in" value="XFDR_test_in2.xquest.xml"/> - <output name="out_idXML" file="XFDR_test_out7_temp.idXML" compare="sim_size" delta_frac="0.7" ftype="idxml"/> - <output name="out_mzIdentML" file="XFDR_test_out7_temp.mzid" compare="sim_size" delta_frac="0.7" ftype="mzid"/> - <output name="out_xquest" file="XFDR_test_out7_temp.xquest.xml" compare="sim_size" delta_frac="0.7" ftype="xquest.xml"/> + <output name="out_idXML" value="XFDR_test_out7.idXML" compare="sim_size" delta_frac="0.7" ftype="idxml"/> + <output name="out_mzIdentML" value="XFDR_test_out7.mzid" compare="sim_size" delta_frac="0.7" ftype="mzid"/> + <output name="out_xquest" value="XFDR_test_out7.xquest.xml" compare="sim_size" delta_frac="0.7" ftype="xquest.xml"/> <param name="decoy_string" value="DECOY_"/> <param name="minborder" value="-50.0"/> <param name="maxborder" value="50.0"/> @@ -293,11 +311,14 @@ <is_valid_xml/> </assert_contents> </output> + <assert_stdout> + <has_text_matching expression="@EXECUTABLE@ took .* \(wall\), .* \(CPU\), .* \(system\), .* \(user\)(; Peak Memory Usage: 32 MB)?."/> + </assert_stdout> </test> </tests> <help><![CDATA[Calculates false discovery rate estimates on crosslink identifications -For more information, visit http://www.openms.de/doxygen/release/2.8.0/html/TOPP_XFDR.html]]></help> +For more information, visit https://openms.de/doxygen/release/3.1.0/html/TOPP_XFDR.html]]></help> <expand macro="references"/> </tool>