Mercurial > repos > metexplore > met4j_createmetanetwork
comparison CreateMetaNetwork.xml @ 0:2bf2457aab90 draft
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit e28ca123295d50b85ba872e5a4720fd72697ecc3
| author | metexplore |
|---|---|
| date | Thu, 13 Mar 2025 15:41:28 +0000 |
| parents | |
| children | 3c0d062f0443 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:2bf2457aab90 |
|---|---|
| 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
| 2 <tool id="met4j_CreateMetaNetwork" name="CreateMetaNetwork" version="@TOOL_VERSION@"> | |
| 3 <description>Create a Meta-Network from two sub-networks in SBML format.</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.reconstruction.CreateMetaNetwork -n1 "$sbml1FilePath" | |
| 10 -n2 "$sbml2FilePath" | |
| 11 -n1ex "$external1" | |
| 12 -n2ex "$external2" | |
| 13 #if str($n1prefix): | |
| 14 -n1px "$n1prefix" | |
| 15 #end if | |
| 16 #if str($n2prefix): | |
| 17 -n2px "$n2prefix" | |
| 18 #end if | |
| 19 $keepCompartment | |
| 20 $firstIsMeta | |
| 21 #if str($mergingCriterion): | |
| 22 -mc "$mergingCriterion" | |
| 23 #end if | |
| 24 -o "$outputPath" | |
| 25 ]]></command> | |
| 26 <inputs> | |
| 27 <param argument="-n1" format="sbml" label="input SBML file: path to first network, in sbml format." name="sbml1FilePath" optional="false" type="data" value=""/> | |
| 28 <param argument="-n2" format="sbml" label="input SBML file: path to second network, in sbml format." name="sbml2FilePath" optional="false" type="data" value=""/> | |
| 29 <param argument="-n1ex" label="external compartment identifier in first network." name="external1" optional="false" type="text" value=""> | |
| 30 <sanitizer invalid_char="_"> | |
| 31 <valid initial="string.printable"/> | |
| 32 </sanitizer> | |
| 33 </param> | |
| 34 <param argument="-n2ex" label="external compartment identifier in second network." name="external2" optional="false" type="text" value=""> | |
| 35 <sanitizer invalid_char="_"> | |
| 36 <valid initial="string.printable"/> | |
| 37 </sanitizer> | |
| 38 </param> | |
| 39 <param argument="-n1px" label="prefix that will be added to first network's entities identifiers" name="n1prefix" optional="true" type="text" value="Net1_"> | |
| 40 <sanitizer invalid_char="_"> | |
| 41 <valid initial="string.printable"/> | |
| 42 </sanitizer> | |
| 43 </param> | |
| 44 <param argument="-n2px" label="prefix that will be added to second network's entities identifiers" name="n2prefix" optional="true" type="text" value="Net2_"> | |
| 45 <sanitizer invalid_char="_"> | |
| 46 <valid initial="string.printable"/> | |
| 47 </sanitizer> | |
| 48 </param> | |
| 49 <param argument="-k" checked="false" falsevalue="" label="keep the original external compartments in the meta-network, otherwise, they will be fused into the new shared external compartment" name="keepCompartment" truevalue="-k" type="boolean" value="false"/> | |
| 50 <param argument="-n1meta" checked="false" falsevalue="" label="treat first network as meta-network, allowing more than two sub-models with iterative fusions. This will overwrite shared compartment and pool compounds (which must follow the "pool_" prefix convention) and will ignore --n1prefix argument" name="firstIsMeta" truevalue="-n1meta" type="boolean" value="false"/> | |
| 51 <param argument="-mc" label="field used to identify the same metabolites across the two different networks. "by_name"/"by_id" can be used if names/identifiers are consistent and unambiguous across source models, "by_metanetx" can be used if models contains MetaNetX identifiers in annotation field using standard miriam format." name="mergingCriterion" optional="true" type="select" value="by_name"> | |
| 52 <option value="by_metanetx">by_metanetx</option> | |
| 53 <option selected="true" value="by_name">by_name</option> | |
| 54 <option value="by_id">by_id</option> | |
| 55 </param> | |
| 56 </inputs> | |
| 57 <outputs> | |
| 58 <data format="sbml" name="outputPath"/> | |
| 59 </outputs> | |
| 60 <tests> | |
| 61 <test> | |
| 62 <param name="sbml1FilePath" value="Human-GEM_pathways.xml"/> | |
| 63 <param name="sbml2FilePath" value="ECOL.xml"/> | |
| 64 <param name="external1" value="s"/> | |
| 65 <param name="external2" value="e"/> | |
| 66 <param name="n1prefix" value="hsa"/> | |
| 67 <param name="n2prefix" value="eco"/> | |
| 68 <param name="mergingCriterion" value="by_metanetx"/> | |
| 69 <output ftype="sbml" name="outputPath"> | |
| 70 <assert_contents> | |
| 71 <has_text text="</sbml>"/> | |
| 72 </assert_contents> | |
| 73 </output> | |
| 74 </test> | |
| 75 </tests> | |
| 76 <help><![CDATA[Create a Meta-Network from two sub-networks in SBML format. | |
| 77 A meta-network is a single model which contains several sub-networks that remains individualized within the meta-network (as opposed to model fusion), but which can share some of their components with other sub-networks through a shared "medium" compartment. | |
| 78 @ATTRIBUTION@]]></help> | |
| 79 <citations/> | |
| 80 </tool> |
