Mercurial > repos > iuc > gem_knockout
comparison gem_macros.xml @ 0:1cea77c3c471 draft default tip
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
| author | iuc |
|---|---|
| date | Fri, 13 Dec 2024 21:33:47 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:1cea77c3c471 |
|---|---|
| 1 <macros> | |
| 2 <!-- Tokens --> | |
| 3 <token name="@VERSION@">0.29.1</token> | |
| 4 <token name="@PROFILE@">23.0</token> | |
| 5 | |
| 6 <!-- Add version commands for different tools --> | |
| 7 <xml name="version_command_cobra"> | |
| 8 <version_command>echo '@VERSION@'</version_command> | |
| 9 </xml> | |
| 10 | |
| 11 <xml name="version_command_escher"> | |
| 12 <version_command>python -c 'from escher import __version__; print(__version__)'</version_command> | |
| 13 </xml> | |
| 14 | |
| 15 <xml name="version_command_memote"> | |
| 16 <version_command>python -c 'from memote import __version__; print(__version__)'</version_command> | |
| 17 </xml> | |
| 18 | |
| 19 <!-- Version command uses cobra requirement version --> | |
| 20 <xml name="version_command"> | |
| 21 <version_command>echo '@VERSION@'</version_command> | |
| 22 </xml> | |
| 23 | |
| 24 <!-- Setting cobra requirement to use version token --> | |
| 25 <xml name="requirements"> | |
| 26 <requirements> | |
| 27 <requirement type="package" version="@VERSION@">cobra</requirement> | |
| 28 <requirement type="package" version="2.2.3">pandas</requirement> | |
| 29 <requirement type="package" version="0.17.0">memote</requirement> | |
| 30 <requirement type="package" version="1.7.3">escher</requirement> | |
| 31 </requirements> | |
| 32 </xml> | |
| 33 | |
| 34 <!-- Common inputs --> | |
| 35 <xml name="input_model"> | |
| 36 <param format="sbml" name="cb_model_location" type="data" label="Model to analyze"/> | |
| 37 </xml> | |
| 38 | |
| 39 <xml name="input_uptake_constraints"> | |
| 40 <param format="csv" name="uptake_constraints_file" type="data" label="Uptake constraints CSV file" optional="true"/> | |
| 41 </xml> | |
| 42 | |
| 43 <!-- Common outputs --> | |
| 44 <xml name="output"> | |
| 45 <data name="output" format="csv" label="${tool.name} on ${on_string}"/> | |
| 46 </xml> | |
| 47 | |
| 48 <!-- Common test elements --> | |
| 49 <xml name="test_invalid_model"> | |
| 50 <test expect_failure="true"> | |
| 51 <param name="cb_model_location" value="invalid_format.txt"/> | |
| 52 <assert_stderr> | |
| 53 <has_text text="The model could not be read"/> | |
| 54 </assert_stderr> | |
| 55 </test> | |
| 56 </xml> | |
| 57 | |
| 58 <!-- Citations --> | |
| 59 <xml name="citation_cobrapy"> | |
| 60 <citation type="doi">10.1186/1752-0509-7-74</citation> | |
| 61 </xml> | |
| 62 | |
| 63 <xml name="citation_pandas"> | |
| 64 <citation type="doi">10.5281/zenodo.3509134</citation> | |
| 65 </xml> | |
| 66 | |
| 67 <xml name="citation_escher"> | |
| 68 <citation type="doi">10.1371/journal.pcbi.1004321</citation> | |
| 69 </xml> | |
| 70 | |
| 71 <xml name="citation_memote"> | |
| 72 <citation type="doi">10.1038/s41587-020-0446-y</citation> | |
| 73 </xml> | |
| 74 | |
| 75 </macros> |
