comparison build/tools/DecomposeSBML/DecomposeSBML.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_DecomposeSBML" name="DecomposeSBML" version="1.3.0">
3 <description>Parse SBML to render list of composing entities: metabolites, reactions, genes and others.</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 attributes.DecomposeSBML -i "$sbml"
11 $printMetabolites
12 $printReactions
13 $printCompartments
14 $printPathways
15 $printGenes
16 $noTypeCol
17 -o "$outputFile"
18 ]]></command>
19 <inputs>
20 <param argument="-i" format="sbml" label="Input SBML file" name="sbml" optional="false" type="data" value=""/>
21 <param argument="-m" checked="false" falsevalue="" label="Extract Metabolites" name="printMetabolites" truevalue="-m" type="boolean" value="false"/>
22 <param argument="-r" checked="false" falsevalue="" label="Extract Reactions" name="printReactions" truevalue="-r" type="boolean" value="false"/>
23 <param argument="-c" checked="false" falsevalue="" label="Extract Compartments" name="printCompartments" truevalue="-c" type="boolean" value="false"/>
24 <param argument="-p" checked="false" falsevalue="" label="Extract Pathways" name="printPathways" truevalue="-p" type="boolean" value="false"/>
25 <param argument="-g" checked="false" falsevalue="" label="Extract Genes" name="printGenes" truevalue="-g" type="boolean" value="false"/>
26 <param argument="-nt" checked="false" falsevalue="" label="Do not output type column" name="noTypeCol" truevalue="-nt" type="boolean" value="false"/>
27 </inputs>
28 <outputs>
29 <data format="tsv" name="outputFile"/>
30 </outputs>
31 <tests>
32 <test>
33 <param name="sbml" value="Human-GEM_pathways.xml"/>
34 <output ftype="tsv" name="outputFile">
35 <assert_contents>
36 <has_text_matching expression="GENE" n="86"/>
37 <has_text_matching expression="METABOLITE" n="111"/>
38 <has_text_matching expression="REACTION" n="75"/>
39 <has_text_matching expression="PATHWAY" n="3"/>
40 <has_text_matching expression="COMPARTMENT" n="5"/>
41 </assert_contents>
42 </output>
43 </test>
44 <test>
45 <param name="sbml" value="Human-GEM_pathways.xml"/>
46 <param name="printReactions" value="true"/>
47 <param name="printMetabolites" value="true"/>
48 <param name="printGenes" value="true"/>
49 <param name="printCompartments" value="true"/>
50 <param name="noTypeCol" value="true"/>
51 <output ftype="tsv" name="outputFile">
52 <assert_contents>
53 <has_n_lines n="277"/>
54 </assert_contents>
55 </output>
56 </test>
57 </tests>
58 <help><![CDATA[Parse SBML to render list of composing entities: metabolites, reactions, genes, pathways and compartments. The output file is a tsv with two columns, one with entities identifiers, and one with the entity type. If no entity type is selected, by default all of them are taken into account. Only identifiers are written, attributes can be extracted from dedicated apps or from the SBML2Tab.]]></help>
59 <citations/>
60 </tool>