comparison build/tools/NameMatcher/NameMatcher.xml @ 6:7a6f2380fc1d draft

planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
author metexplore
date Wed, 17 May 2023 13:26:37 +0000
parents
children 1436e9cde9c9
comparison
equal deleted inserted replaced
5:35c9abcd8934 6:7a6f2380fc1d
1 <?xml version="1.0" encoding="UTF-8"?>
2 <tool id="met4j_NameMatcher" name="NameMatcher" version="1.3.0">
3 <description>This tool runs edit-distance based fuzzy matching to perform near-similar name matching between a metabolic model and a list of chemical names in a dataset. A harmonization processing is performed on chemical names with substitutions of common patterns among synonyms, in order to create aliases on which classical fuzzy matching can be run efficiently.</description>
4 <xrefs>
5 <xref type="bio.tools">met4j</xref>
6 </xrefs>
7 <requirements>
8 <container type="singularity">oras://registry.forgemia.inra.fr/metexplore/met4j/met4j-singularity:1.3.0</container>
9 </requirements>
10 <command detect_errors="exit_code"><![CDATA[sh /usr/bin/met4j.sh mapping.NameMatcher#if str($n):
11 -nMatch "$n"
12 #end if
13 #if str($nSkip):
14 -skip "$nSkip"
15 #end if
16 #if str($col):
17 -col "$col"
18 #end if
19 -sbml "$sbml"
20 -compound "$input"
21 #if str($comment):
22 -c "$comment"
23 #end if
24 #if str($sep):
25 -sep "$sep"
26 #end if
27 -o "$outputFile"
28 ]]></command>
29 <inputs>
30 <param argument="-nMatch" label="[1] Number of match to return per name" name="n" optional="true" type="text" value="1">
31 <sanitizer invalid_char="_">
32 <valid initial="string.printable"/>
33 </sanitizer>
34 </param>
35 <param argument="-skip" label="[0] Number of lines to skip at the beginning of the compound file" name="nSkip" optional="true" type="text" value="0">
36 <sanitizer invalid_char="_">
37 <valid initial="string.printable"/>
38 </sanitizer>
39 </param>
40 <param argument="-col" label="[1] column containing compounds' names" name="col" optional="true" type="text" value="1">
41 <sanitizer invalid_char="_">
42 <valid initial="string.printable"/>
43 </sanitizer>
44 </param>
45 <param argument="-sbml" format="sbml" label="Original sbml file" name="sbml" optional="false" type="data" value=""/>
46 <param argument="-compound" format="tsv" label="Compound file containing one column with compound names to search among the SBML entries" name="input" optional="false" type="data" value=""/>
47 <param argument="-c" label="[#] Comment String in the compound file. The lines beginning by this string won't be read" name="comment" optional="true" type="text" value="#">
48 <sanitizer invalid_char="_">
49 <valid initial="string.printable"/>
50 </sanitizer>
51 </param>
52 <param argument="-sep" label="[\t] separator in the compound file to split the colmumns." name="sep" optional="true" type="text" value="&#9;">
53 <sanitizer invalid_char="_">
54 <valid initial="string.printable"/>
55 </sanitizer>
56 </param>
57 </inputs>
58 <outputs>
59 <data format="tsv" name="outputFile"/>
60 </outputs>
61 <tests/>
62 <help><![CDATA[Metabolic models and Metabolomics Data often refer compounds only by using their common names, which vary greatly according to the source, thus impeding interoperability between models, databases and experimental data. This requires a tedious step of manual mapping. Fuzzy matching is a range of methods which can potentially helps fasten this process, by allowing the search for near-similar names. Fuzzy matching is primarily designed for common language search engines and is frequently based on edit distance, i.e. the number of edits to transform a character string into another, effectively managing typo, case and special character variations, and allowing auto-completion. However, edit-distance based search fall short when mapping chemical names: As an example, alpha-D-Glucose et Glucose would require more edits than between Fructose and Glucose.
63
64 This tool runs edit-distance based fuzzy matching to perform near-similar name matching between a metabolic model and a list of chemical names in a dataset. A harmonization processing is performed on chemical names with substitutions of common patterns among synonyms, in order to create aliases on which classical fuzzy matching can be run efficiently.]]></help>
65 <citations/>
66 </tool>