Mercurial > repos > metexplore > met4j
annotate build/tools/SBMLwizard/SBMLwizard.xml @ 8:1274e2a62479 draft default tip
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit e34acf0f51cafcf6ae7c97b4feb3188a39f17c32
author | metexplore |
---|---|
date | Wed, 26 Jul 2023 15:33:45 +0000 |
parents | 1436e9cde9c9 |
children |
rev | line source |
---|---|
7
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8"?> |
8
1274e2a62479
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit e34acf0f51cafcf6ae7c97b4feb3188a39f17c32
metexplore
parents:
7
diff
changeset
|
2 <tool id="met4j_SBMLwizard" name="SBMLwizard" version="1.5.0"> |
7
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
3 <description>General SBML model processing</description> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
4 <xrefs> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
5 <xref type="bio.tools">met4j</xref> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
6 </xrefs> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
7 <requirements> |
8
1274e2a62479
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit e34acf0f51cafcf6ae7c97b4feb3188a39f17c32
metexplore
parents:
7
diff
changeset
|
8 <container type="singularity">oras://registry.forgemia.inra.fr/metexplore/met4j/met4j-singularity:1.5.0</container> |
7
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
9 </requirements> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
10 <command detect_errors="exit_code"><![CDATA[sh /usr/bin/met4j.sh convert.SBMLwizard -s "$inputPath" |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
11 #if str($inputSide) != 'None': |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
12 -rc "$inputSide" |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
13 #end if |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
14 $removeIsolated |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
15 #if str($inputReactions) != 'None': |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
16 -rr "$inputReactions" |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
17 #end if |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
18 $removeNoFlux |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
19 #if str($mergingStrat): |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
20 -mc "$mergingStrat" |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
21 #end if |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
22 $removeDuplicated |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
23 #if str($exchangeCompToRemove): |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
24 -rEX "$exchangeCompToRemove" |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
25 #end if |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
26 -o "$outputPath" |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
27 ]]></command> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
28 <inputs> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
29 <param argument="-s" format="sbml" label="input SBML file" name="inputPath" optional="false" type="data" value=""/> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
30 <param argument="-rc" format="txt" label="file containing identifiers of compounds to remove from the metabolic network" name="inputSide" optional="true" type="data" value=""/> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
31 <param argument="-ric" checked="false" falsevalue="" label="remove isolated compounds (not involved in any reaction)" name="removeIsolated" truevalue="-ric" type="boolean" value="false"/> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
32 <param argument="-rr" format="txt" label="file containing identifiers of reactions to remove from the metabolic network" name="inputReactions" optional="true" type="data" value=""/> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
33 <param argument="-r0" checked="false" falsevalue="" label="remove reactions with lower and upper flux bounds both set to 0.0" name="removeNoFlux" truevalue="-r0" type="boolean" value="false"/> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
34 <param argument="-mc" label="merge compartments using the provided strategy. No merge by default. "by_name" can be used if names are consistent and unambiguous across compartments, "by_id" can be used if compartment suffix is present in compounds identifiers (id in form "xxx_y" with xxx as base identifier and y as compartment label)." name="mergingStrat" optional="true" type="select" value="no"> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
35 <option selected="true" value="no">no</option> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
36 <option value="by_name">by_name</option> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
37 <option value="by_id">by_id</option> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
38 </param> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
39 <param argument="-rdr" checked="false" falsevalue="" label="remove duplicated reactions (same reactants, same GPR)" name="removeDuplicated" truevalue="-rdr" type="boolean" value="false"/> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
40 <param argument="-rEX" label="remove exchange reactions and species from given exchange compartment identifier" name="exchangeCompToRemove" optional="true" type="text" value=""> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
41 <sanitizer invalid_char="_"> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
42 <valid initial="string.printable"/> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
43 </sanitizer> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
44 </param> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
45 </inputs> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
46 <outputs> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
47 <data format="sbml" name="outputPath"/> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
48 </outputs> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
49 <tests> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
50 <test> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
51 <param name="inputPath" value="Human-GEM_pathways.xml"/> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
52 <param name="removeIsolated" value="true"/> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
53 <param name="removeNoFlux" value="true"/> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
54 <param name="mergingStrat" value="by_id"/> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
55 <param name="removeDuplicated" value="true"/> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
56 <param name="exchangeCompToRemove" value="s"/> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
57 <output ftype="sbml" name="outputPath"> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
58 <assert_contents> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
59 <has_text text="</sbml>"/> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
60 </assert_contents> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
61 </output> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
62 </test> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
63 <test> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
64 <param name="inputPath" value="XF_network.sbml"/> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
65 <param name="removeIsolated" value="true"/> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
66 <param name="removeNoFlux" value="true"/> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
67 <param name="removeDuplicated" value="true"/> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
68 <param name="inputSide" value="XF_network_C_Side.tab"/> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
69 <param name="inputReactions" value="XF_network_R_Seed.tab"/> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
70 <output ftype="sbml" name="outputPath"> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
71 <assert_contents> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
72 <has_text text="</sbml>"/> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
73 </assert_contents> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
74 </output> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
75 </test> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
76 </tests> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
77 <help><![CDATA[General SBML model processing including compound removal (such as side compounds or isolated compounds), reaction removal (ex. blocked or exchange reaction), and compartment merging]]></help> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
78 <citations/> |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
diff
changeset
|
79 </tool> |