Mercurial > repos > recetox > recetox_msfinder
diff recetox_msfinder.xml @ 0:7cda9aef13f3 draft
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_msfinder commit f655a81cc6289f228ee7f58dc6b3e2d9eb2dc923
author | recetox |
---|---|
date | Tue, 13 Dec 2022 13:26:29 +0000 |
parents | |
children | 29fc1af350f5 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/recetox_msfinder.xml Tue Dec 13 13:26:29 2022 +0000 @@ -0,0 +1,78 @@ +<tool id="recetox_msfinder" name="RECETOX MsFinder" version="@TOOL_VERSION@+galaxy0"> + <description>Annotation of fragment peaks in mass spectral libraries.</description> + <macros> + <import>macros.xml</import> + </macros> + <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" \ + "Ocheck=$element_selection.Ocheck" \ + "Ncheck=$element_selection.Ncheck" \ + "Pcheck=$element_selection.Pcheck" \ + "Scheck=$element_selection.Scheck" \ + "Fcheck=$element_selection.Fcheck" \ + "ClCheck=$element_selection.ClCheck" \ + "BrCheck=$element_selection.BrCheck" \ + "Icheck=$element_selection.Icheck" \ + "SiCheck=$element_selection.SiCheck" \ + "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>