Mercurial > repos > metexplore > met4j
annotate tools/attributes/GetReactantsFromReactions/GetReactantsFromReactions.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 | 7a6f2380fc1d |
children |
rev | line source |
---|---|
3
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8"?> |
6
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
5
diff
changeset
|
2 <tool id="met4j_GetReactantsFromReactions" name="GetReactantsFromReactions" version="MET4J_VERSION_TEST"> |
3
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
3 <description>Get reactants lists from a list of reactions and a GSMN.</description> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
4 <xrefs> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
5 <xref type="bio.tools">met4j</xref> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
6 </xrefs> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
7 <requirements> |
6
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
5
diff
changeset
|
8 <container type="singularity">oras://registry.forgemia.inra.fr/metexplore/met4j/met4j-singularity:MET4J_VERSION_TEST</container> |
3
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
9 </requirements> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
10 <command detect_errors="exit_code"><![CDATA[sh /usr/bin/met4j.sh attributes.GetReactantsFromReactions -i "$sbml" |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
11 -r "$reactionFile" |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
12 #if str($sep): |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
13 -sep "$sep" |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
14 #end if |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
15 $hasHeader |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
16 #if str($i) != 'nan': |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
17 -col "$i" |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
18 #end if |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
19 $printSubstrates |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
20 $printProducts |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
21 -o "$outputFile" |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
22 ]]></command> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
23 <inputs> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
24 <param argument="-i" format="sbml" label="Input SBML file" name="sbml" optional="false" type="data" value=""/> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
25 <param argument="-r" format="tsv" label="Input Reaction file" name="reactionFile" optional="false" type="data" value=""/> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
26 <param argument="-sep" label="Separator in reaction file" name="sep" optional="true" type="text" value="	"> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
27 <sanitizer invalid_char="_"> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
28 <valid initial="string.printable"/> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
29 </sanitizer> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
30 </param> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
31 <param argument="-header" checked="false" falsevalue="" label="Skip reaction file header" name="hasHeader" truevalue="-header" type="boolean" value="false"/> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
32 <param argument="-col" label="Column number in reaction file (first as 1)" name="i" optional="true" type="integer" value="1"/> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
33 <param argument="-s" checked="false" falsevalue="" label="Extract substrates only" name="printSubstrates" truevalue="-s" type="boolean" value="false"/> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
34 <param argument="-p" checked="false" falsevalue="" label="Extract products only" name="printProducts" truevalue="-p" type="boolean" value="false"/> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
35 </inputs> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
36 <outputs> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
37 <data format="tsv" name="outputFile"/> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
38 </outputs> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
39 <tests> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
40 <test> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
41 <param name="sbml" value="XF_network.sbml"/> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
42 <param name="reactionFile" value="XF_network_R_Seed.tab"/> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
43 <output ftype="tsv" name="outputFile"> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
44 <assert_contents> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
45 <has_text_matching expression="R_GLUN" n="4"/> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
46 <has_text_matching expression="R_ACGS" n="5"/> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
47 </assert_contents> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
48 </output> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
49 </test> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
50 <test> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
51 <param name="sbml" value="XF_network.sbml"/> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
52 <param name="reactionFile" value="XF_network_R_Seed.tab"/> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
53 <param name="printSubstrates" value="true"/> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
54 <output ftype="tsv" name="outputFile"> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
55 <assert_contents> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
56 <has_text_matching expression="R_GLUN" n="2"/> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
57 <has_text_matching expression="R_ACGS" n="5"/> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
58 </assert_contents> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
59 </output> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
60 </test> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
61 <test> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
62 <param name="sbml" value="XF_network.sbml"/> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
63 <param name="reactionFile" value="XF_network_R_Seed.tab"/> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
64 <param name="printProducts" value="true"/> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
65 <output ftype="tsv" name="outputFile"> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
66 <assert_contents> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
67 <has_text_matching expression="R_GLUN" n="2"/> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
68 <has_text_matching expression="R_ACGS" n="5"/> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
69 </assert_contents> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
70 </output> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
71 </test> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
72 </tests> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
73 <help><![CDATA[Get reactants lists from a list of reactions and a GSMN. Output a tab-separated file with one row per reactant, reaction identifiers in first column, reactant identifiers in second column. It can provides substrates, products, or both (by default). In the case of reversible reactions, all reactants are considered both substrates and products]]></help> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
74 <citations/> |
6bd9aad9626d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit a078bf88575dac3d09462252eae92c24f34d0414
metexplore
parents:
diff
changeset
|
75 </tool> |