Mercurial > repos > metexplore > met4j_sbml2tab
comparison Sbml2Tab.xml @ 0:897bc123f6c5 draft
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit e28ca123295d50b85ba872e5a4720fd72697ecc3
| author | metexplore |
|---|---|
| date | Thu, 13 Mar 2025 15:49:53 +0000 |
| parents | |
| children | be58dd7c74ee |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:897bc123f6c5 |
|---|---|
| 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
| 2 <tool id="met4j_Sbml2Tab" name="Sbml2Tab" version="@TOOL_VERSION@"> | |
| 3 <description>Create a tabulated file listing reaction attributes from a SBML file</description> | |
| 4 <macros> | |
| 5 <import>macros.xml</import> | |
| 6 </macros> | |
| 7 <expand macro="bio_tools"/> | |
| 8 <expand macro="requirements"/> | |
| 9 <command detect_errors="exit_code"><![CDATA[met4j fr.inrae.toulouse.metexplore.met4j_toolbox.convert.Sbml2Tab#if str($i): | |
| 10 -irr "$i" | |
| 11 #end if | |
| 12 #if str($r): | |
| 13 -rev "$r" | |
| 14 #end if | |
| 15 -i "$in" | |
| 16 -o "$out" | |
| 17 ]]></command> | |
| 18 <inputs> | |
| 19 <param argument="-irr" label="[-->] String for irreversible reaction" name="i" optional="true" type="text" value="-->"> | |
| 20 <sanitizer invalid_char="_"> | |
| 21 <valid initial="string.printable"/> | |
| 22 </sanitizer> | |
| 23 </param> | |
| 24 <param argument="-rev" label="[<==>] String for reversible reaction" name="r" optional="true" type="text" value="<==>"> | |
| 25 <sanitizer invalid_char="_"> | |
| 26 <valid initial="string.printable"/> | |
| 27 </sanitizer> | |
| 28 </param> | |
| 29 <param argument="-i" format="sbml" label="Sbml file" name="in" optional="false" type="data" value=""/> | |
| 30 </inputs> | |
| 31 <outputs> | |
| 32 <data format="tsv" name="out"/> | |
| 33 </outputs> | |
| 34 <tests> | |
| 35 <test> | |
| 36 <param name="in" value="toy_model.xml"/> | |
| 37 <output ftype="tsv" name="out"> | |
| 38 <assert_contents> | |
| 39 <has_n_lines n="8"/> | |
| 40 <has_n_columns n="9"/> | |
| 41 <has_text text="2.0 E[c] --> D[c]"/> | |
| 42 <has_text text="A[c] <==> B[c]"/> | |
| 43 </assert_contents> | |
| 44 </output> | |
| 45 </test> | |
| 46 <test> | |
| 47 <param name="in" value="toy_model.xml"/> | |
| 48 <param name="i" value="->"/> | |
| 49 <param name="r" value="="/> | |
| 50 <output ftype="tsv" name="out"> | |
| 51 <assert_contents> | |
| 52 <has_n_lines n="8"/> | |
| 53 <has_n_columns n="9"/> | |
| 54 <has_text text="2.0 E[c] -> D[c]"/> | |
| 55 <has_text text="A[c] = B[c]"/> | |
| 56 </assert_contents> | |
| 57 </output> | |
| 58 </test> | |
| 59 </tests> | |
| 60 <help><![CDATA[Create a tabulated file listing reaction attributes from a SBML file | |
| 61 @ATTRIBUTION@]]></help> | |
| 62 <citations/> | |
| 63 </tool> |
