Mercurial > repos > galaxyp > openms_fidoadapter
view FidoAdapter.xml @ 15:1595601708ec draft default tip
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit 3d1e5f37fd16524a415f707772eeb7ead848c5e3
author | galaxyp |
---|---|
date | Thu, 01 Dec 2022 19:15:21 +0000 |
parents | c3a5cd016963 |
children |
line wrap: on
line source
<?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]--> <tool id="FidoAdapter" name="FidoAdapter" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05"> <description>Runs the protein inference engine Fido.</description> <macros> <token name="@EXECUTABLE@">FidoAdapter</token> <import>macros.xml</import> </macros> <expand macro="requirements"/> <expand macro="stdio"/> <command detect_errors="exit_code"><![CDATA[@QUOTE_FOO@ @EXT_FOO@ #import re ## Preprocessing mkdir in && ln -s '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' && mkdir out && ## Main program call set -o pipefail && @EXECUTABLE@ -write_ctd ./ && python3 '$__tool_directory__/fill_ctd.py' '@EXECUTABLE@.ctd' '$args_json' '$hardcoded_json' && @EXECUTABLE@ -ini @EXECUTABLE@.ctd -in 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' -out 'out/output.${gxy2omsext("idxml")}' ## Postprocessing && mv 'out/output.${gxy2omsext("idxml")}' '$out' #if "ctd_out_FLAG" in $OPTIONAL_OUTPUTS && mv '@EXECUTABLE@.ctd' '$ctd_out' #end if]]></command> <configfiles> <inputs name="args_json" data_style="paths"/> <configfile name="hardcoded_json"><![CDATA[{"fido_executable": "Fido", "fidocp_executable": "FidoChooseParameters", "log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile> </configfiles> <inputs> <param argument="-in" type="data" format="idxml" optional="false" label="Input: identification results" help=" select idxml data sets(s)"/> <param argument="-separate_runs" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Process multiple protein identification runs in the input separately, don't merge them" help="Merging results in loss of descriptive information of the single protein identification runs"/> <param argument="-greedy_group_resolution" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Post-process Fido output with greedy resolution of shared peptides based on the protein probabilities" help="Also adds the resolved ambiguity groups to output"/> <param argument="-no_cleanup" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Omit clean-up of peptide sequences (removal of non-letter characters, replacement of I with L)" help=""/> <param argument="-all_PSMs" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Consider all PSMs of each peptide, instead of only the best one" help=""/> <param argument="-group_level" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Perform inference on protein group level (instead of individual protein level)" help="This will lead to higher probabilities for (bigger) protein groups"/> <param argument="-log2_states" type="integer" optional="true" min="0" value="0" label="Binary logarithm of the max" help="number of connected states in a subgraph. For a value N, subgraphs that are bigger than 2^N will be split up, sacrificing accuracy for runtime. '0' uses the default (18)"/> <section name="prob" title="Probability values for running Fido directly" help="i.e. without parameter estimation (in which case other settings, except 'log2_states', are ignored)" expanded="false"> <param name="protein" argument="-prob:protein" type="float" optional="true" min="0.0" value="0.0" label="Protein prior probability ('gamma' parameter)" help=""/> <param name="peptide" argument="-prob:peptide" type="float" optional="true" min="0.0" value="0.0" label="Peptide emission probability ('alpha' parameter)" help=""/> <param name="spurious" argument="-prob:spurious" type="float" optional="true" min="0.0" value="0.0" label="Spurious peptide identification probability ('beta' parameter)" help=""/> </section> <expand macro="adv_opts_macro"> <param argument="-keep_zero_group" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Keep the group of proteins with estimated probability of zero, which is otherwise removed (it may be very large)" help=""/> <param argument="-accuracy" type="select" optional="true" label="Accuracy level of start parameters" help="There is a trade-off between accuracy and runtime. Empty uses the default ('best')"> <option value=""></option> <option value="best">best</option> <option value="relaxed">relaxed</option> <option value="sloppy">sloppy</option> <expand macro="list_string_san" name="accuracy"/> </param> <param argument="-log2_states_precalc" type="integer" optional="true" min="0" value="0" label="Like 'log2_states', but allows to set a separate limit for the precalculation" help=""/> <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=""> <expand macro="list_string_san" name="test"/> </param> </expand> <param name="OPTIONAL_OUTPUTS" type="select" optional="true" multiple="true" label="Optional outputs"> <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option> </param> </inputs> <outputs> <data name="out" label="${tool.name} on ${on_string}: out" format="idxml"/> <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd"> <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter> </data> </outputs> <tests><!-- TOPP_FidoAdapter_1 --> <test expect_num_outputs="2"> <section name="adv_opts"> <param name="keep_zero_group" value="false"/> <param name="accuracy"/> <param name="log2_states_precalc" value="0"/> <param name="force" value="false"/> <param name="test" value="true"/> </section> <param name="in" value="FidoAdapter_1_input.idXML"/> <output name="out" file="FidoAdapter_1_output.idXML" compare="sim_size" delta_frac="0.7" ftype="idxml"/> <param name="separate_runs" value="false"/> <param name="greedy_group_resolution" value="false"/> <param name="no_cleanup" value="false"/> <param name="all_PSMs" value="false"/> <param name="group_level" value="false"/> <param name="log2_states" value="0"/> <section name="prob"> <param name="protein" value="0.0"/> <param name="peptide" value="0.0"/> <param name="spurious" value="0.0"/> </section> <param name="OPTIONAL_OUTPUTS" value="ctd_out_FLAG"/> <output name="ctd_out" ftype="xml"> <assert_contents> <is_valid_xml/> </assert_contents> </output> </test> <!-- TOPP_FidoAdapter_2 --> <test expect_num_outputs="2"> <section name="adv_opts"> <param name="keep_zero_group" value="false"/> <param name="accuracy"/> <param name="log2_states_precalc" value="0"/> <param name="force" value="false"/> <param name="test" value="true"/> </section> <param name="in" value="FidoAdapter_1_input.idXML"/> <output name="out" file="FidoAdapter_2_output.idXML" compare="sim_size" delta_frac="0.7" ftype="idxml"/> <param name="separate_runs" value="true"/> <param name="greedy_group_resolution" value="false"/> <param name="no_cleanup" value="false"/> <param name="all_PSMs" value="false"/> <param name="group_level" value="false"/> <param name="log2_states" value="0"/> <section name="prob"> <param name="protein" value="0.0"/> <param name="peptide" value="0.0"/> <param name="spurious" value="0.0"/> </section> <param name="OPTIONAL_OUTPUTS" value="ctd_out_FLAG"/> <output name="ctd_out" ftype="xml"> <assert_contents> <is_valid_xml/> </assert_contents> </output> </test> <!-- TOPP_FidoAdapter_3 --> <test expect_num_outputs="2"> <section name="adv_opts"> <param name="keep_zero_group" value="false"/> <param name="accuracy"/> <param name="log2_states_precalc" value="0"/> <param name="force" value="false"/> <param name="test" value="true"/> </section> <param name="in" value="FidoAdapter_1_input.idXML"/> <output name="out" file="FidoAdapter_3_output.idXML" compare="sim_size" delta_frac="0.7" ftype="idxml"/> <param name="separate_runs" value="false"/> <param name="greedy_group_resolution" value="false"/> <param name="no_cleanup" value="false"/> <param name="all_PSMs" value="true"/> <param name="group_level" value="true"/> <param name="log2_states" value="0"/> <section name="prob"> <param name="protein" value="0.0"/> <param name="peptide" value="0.0"/> <param name="spurious" value="0.0"/> </section> <param name="OPTIONAL_OUTPUTS" value="ctd_out_FLAG"/> <output name="ctd_out" ftype="xml"> <assert_contents> <is_valid_xml/> </assert_contents> </output> </test> <!-- TOPP_FidoAdapter_4 --> <test expect_num_outputs="2"> <section name="adv_opts"> <param name="keep_zero_group" value="false"/> <param name="accuracy"/> <param name="log2_states_precalc" value="0"/> <param name="force" value="false"/> <param name="test" value="true"/> </section> <param name="in" value="FidoAdapter_4_input.idXML"/> <output name="out" file="FidoAdapter_4_output.idXML" compare="sim_size" delta_frac="0.7" ftype="idxml"/> <param name="separate_runs" value="false"/> <param name="greedy_group_resolution" value="false"/> <param name="no_cleanup" value="false"/> <param name="all_PSMs" value="false"/> <param name="group_level" value="false"/> <param name="log2_states" value="0"/> <section name="prob"> <param name="protein" value="0.0"/> <param name="peptide" value="0.0"/> <param name="spurious" value="0.0"/> </section> <param name="OPTIONAL_OUTPUTS" value="ctd_out_FLAG"/> <output name="ctd_out" ftype="xml"> <assert_contents> <is_valid_xml/> </assert_contents> </output> </test> <!-- TOPP_FidoAdapter_5 --> <test expect_num_outputs="2"> <section name="adv_opts"> <param name="keep_zero_group" value="false"/> <param name="accuracy"/> <param name="log2_states_precalc" value="0"/> <param name="force" value="false"/> <param name="test" value="true"/> </section> <param name="in" value="FidoAdapter_5_input.idXML"/> <output name="out" file="FidoAdapter_5_output.idXML" compare="sim_size" delta_frac="0.7" ftype="idxml"/> <param name="separate_runs" value="false"/> <param name="greedy_group_resolution" value="true"/> <param name="no_cleanup" value="false"/> <param name="all_PSMs" value="false"/> <param name="group_level" value="false"/> <param name="log2_states" value="0"/> <section name="prob"> <param name="protein" value="0.0"/> <param name="peptide" value="0.0"/> <param name="spurious" value="0.0"/> </section> <param name="OPTIONAL_OUTPUTS" value="ctd_out_FLAG"/> <output name="ctd_out" ftype="xml"> <assert_contents> <is_valid_xml/> </assert_contents> </output> </test> <!-- TOPP_FidoAdapter_6 --> <test expect_num_outputs="2"> <section name="adv_opts"> <param name="keep_zero_group" value="false"/> <param name="accuracy"/> <param name="log2_states_precalc" value="0"/> <param name="force" value="false"/> <param name="test" value="true"/> </section> <param name="in" value="FidoAdapter_1_input.idXML"/> <output name="out" file="FidoAdapter_6_output.idXML" compare="sim_size" delta_frac="0.7" ftype="idxml"/> <param name="separate_runs" value="false"/> <param name="greedy_group_resolution" value="false"/> <param name="no_cleanup" value="false"/> <param name="all_PSMs" value="false"/> <param name="group_level" value="false"/> <param name="log2_states" value="0"/> <section name="prob"> <param name="protein" value="0.9"/> <param name="peptide" value="0.01"/> <param name="spurious" value="0.0"/> </section> <param name="OPTIONAL_OUTPUTS" value="ctd_out_FLAG"/> <output name="ctd_out" ftype="xml"> <assert_contents> <is_valid_xml/> </assert_contents> </output> </test> </tests> <help><![CDATA[Runs the protein inference engine Fido. For more information, visit http://www.openms.de/doxygen/release/2.8.0/html/TOPP_FidoAdapter.html]]></help> <expand macro="references"/> </tool>