view recetox_msfinder.xml @ 3:d1f44632f206 draft

planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_msfinder commit 14d90155d2579b399ad04010dcade97aa8543d30
author recetox
date Sat, 21 Oct 2023 12:31:00 +0000
parents 42ec41fe2329
children ae66b58846cd
line wrap: on
line source

<tool id="recetox_msfinder" name="RECETOX MsFinder" version="@TOOL_VERSION@+galaxy2">
    <description>Annotation of fragment peaks in mass spectral libraries.</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="refs"/>
    <expand macro="creator" />

    <expand macro="requirements" />
    <command>
        <![CDATA[
        sh ${write_param} &&
        mono /MsFinder/MsFinder/bin/Debug/MsfinderConsoleApp.exe annotate -i "$input_data" -m 'MSFINDER.INI' -o "$annotated_data"        
    ]]>
    </command>

    <configfiles>
        <configfile name="write_param">
            printf "%s\n" "Ms2Tolerance=$Ms2Tolerance" \
            "IsTmsMeoxDerivative=$IsTmsMeoxDerivative" \
            "RelativeAbundanceCutOff=$RelativeAbundanceCutOff" \
            "Ms1Tolerance=$Ms1Tolerance" \
			"MassToleranceType=$MassToleranceType" \
			"StructurePredictionTimeOut=$StructurePredictionTimeOut" \
            "LewisAndSeniorCheck=$LewisAndSeniorCheck" \
			"IsUseRtForFilteringCandidates=False" \
			"RtToleranceForStructureElucidation=2.5" \
			"IsUsePredictedRtForStructureElucidation=False" \
			"Coeff_RtPrediction=-1" \
			"Intercept_RtPrediction=-1" \
			"IsUseRtInchikeyLibrary=True" \
			"IsUsePredictedCcsForStructureElucidation=False" \
			"IsUseCcsForFilteringCandidates=True" \
			"CcsToleranceForStructureElucidation=10" \
			"CanExcuteMS2AdductSearch=False" \
            "IsUseXlogpPrediction=False" >MSFINDER.INI
        </configfile>
    </configfiles>

    <inputs>
        <expand macro="input" />
        <expand macro="parameter" />
        <!-- <section name="element_selection" title="Element Selection" expanded="true" help="Generate formula candidates that just contain the elements selected by the users.">
            <expand macro="element_check_parameter" />
        </section> -->
    </inputs>

    <outputs>
        <expand macro="output" />
    </outputs>

    <tests>
        <test>
            <param name="input_data" value="test.msp" ftype="msp" />
            <output name="annotated_data" file="out.msp" lines_diff="16	" /> 
            <!-- This is set to 16 since msfinder sometimes places double bonds between certain atoms and sometimes not - there are 16 such cases in this file. -->

        </test>
    </tests>

    <help>
        <![CDATA[
            @HELP@
        ]]>
    </help>

    <citations>
        <expand macro="citations" />
    </citations>
</tool>