Mercurial > repos > metexplore > met4j_createmetanetwork
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CreateMetaNetwork.xml Thu Mar 13 15:41:28 2025 +0000 @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<tool id="met4j_CreateMetaNetwork" name="CreateMetaNetwork" version="@TOOL_VERSION@"> + <description>Create a Meta-Network from two sub-networks in SBML format.</description> + <macros> + <import>macros.xml</import> + </macros> + <expand macro="bio_tools"/> + <expand macro="requirements"/> + <command detect_errors="exit_code"><![CDATA[met4j fr.inrae.toulouse.metexplore.met4j_toolbox.reconstruction.CreateMetaNetwork -n1 "$sbml1FilePath" + -n2 "$sbml2FilePath" + -n1ex "$external1" + -n2ex "$external2" +#if str($n1prefix): + -n1px "$n1prefix" +#end if +#if str($n2prefix): + -n2px "$n2prefix" +#end if + $keepCompartment + $firstIsMeta +#if str($mergingCriterion): + -mc "$mergingCriterion" +#end if + -o "$outputPath" +]]></command> + <inputs> + <param argument="-n1" format="sbml" label="input SBML file: path to first network, in sbml format." name="sbml1FilePath" optional="false" type="data" value=""/> + <param argument="-n2" format="sbml" label="input SBML file: path to second network, in sbml format." name="sbml2FilePath" optional="false" type="data" value=""/> + <param argument="-n1ex" label="external compartment identifier in first network." name="external1" optional="false" type="text" value=""> + <sanitizer invalid_char="_"> + <valid initial="string.printable"/> + </sanitizer> + </param> + <param argument="-n2ex" label="external compartment identifier in second network." name="external2" optional="false" type="text" value=""> + <sanitizer invalid_char="_"> + <valid initial="string.printable"/> + </sanitizer> + </param> + <param argument="-n1px" label="prefix that will be added to first network's entities identifiers" name="n1prefix" optional="true" type="text" value="Net1_"> + <sanitizer invalid_char="_"> + <valid initial="string.printable"/> + </sanitizer> + </param> + <param argument="-n2px" label="prefix that will be added to second network's entities identifiers" name="n2prefix" optional="true" type="text" value="Net2_"> + <sanitizer invalid_char="_"> + <valid initial="string.printable"/> + </sanitizer> + </param> + <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"/> + <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"/> + <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"> + <option value="by_metanetx">by_metanetx</option> + <option selected="true" value="by_name">by_name</option> + <option value="by_id">by_id</option> + </param> + </inputs> + <outputs> + <data format="sbml" name="outputPath"/> + </outputs> + <tests> + <test> + <param name="sbml1FilePath" value="Human-GEM_pathways.xml"/> + <param name="sbml2FilePath" value="ECOL.xml"/> + <param name="external1" value="s"/> + <param name="external2" value="e"/> + <param name="n1prefix" value="hsa"/> + <param name="n2prefix" value="eco"/> + <param name="mergingCriterion" value="by_metanetx"/> + <output ftype="sbml" name="outputPath"> + <assert_contents> + <has_text text="</sbml>"/> + </assert_contents> + </output> + </test> + </tests> + <help><![CDATA[Create a Meta-Network from two sub-networks in SBML format. +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. +@ATTRIBUTION@]]></help> + <citations/> +</tool>
