Mercurial > repos > frogs > frogs_stat
comparison deseq2_visualisation_macros.xml @ 0:6507a8d42a4f draft default tip
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
| author | frogs |
|---|---|
| date | Wed, 04 Feb 2026 13:16:44 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:6507a8d42a4f |
|---|---|
| 1 <?xml version="1.0"?> | |
| 2 <macros> | |
| 3 <token name="@DESEQ2_ASV_VISUALISATION_CMD_LINE@"> | |
| 4 deseq2_visualisation.py | |
| 5 --analysis-type 'ASV' | |
| 6 --phyloseq-rdata '$phyloseq_rdata' | |
| 7 --deseq-rdata '$deseq_rdata' | |
| 8 --var-exp '$var_exp' | |
| 9 #if $varType.vartType_selected == "qualitative": | |
| 10 --mod1 '$varType.mod1' | |
| 11 --mod2 '$varType.mod2' | |
| 12 #end if | |
| 13 --padj $padj | |
| 14 --html '$html' | |
| 15 </token> | |
| 16 | |
| 17 <xml name="deseq2_asv_visualisation_inputs"> | |
| 18 <!-- Files --> | |
| 19 <param argument="--phyloseq-rdata" type="data" format="rdata" label="Phyloseq object (.Rdata)" help="Rdata file generated by the FROGS Stat Phyloseq import for ASV data."/> | |
| 20 <param argument="--deseq-rdata" type="data" format="rdata" label="DESeq2 object (.Rdata)" help="Rdata file generated by the FROGS Stat DESeq2 Preprocess tool for ASV data."/> | |
| 21 <!-- Parameters --> | |
| 22 <param argument="--var-exp" type="text" label="Experimental variable" help="Sample metadata variable expected to influence ASV abundances (e.g., Treatment, Site, Environment, etc.)."> | |
| 23 <expand macro="restricted_sanitizer_validator"/> | |
| 24 </param> | |
| 25 <conditional name="varType"> | |
| 26 <param name="vartType_selected" type="select" label="Is the experimental variable quantitative or qualitative?" help="Select whether the experimental variable is qualitative (categorical) or quantitative (numerical). If qualitative, specify two conditions to compare."> | |
| 27 <option value="qualitative">Qualitative</option> | |
| 28 <option value="quantitative">Quantitative</option> | |
| 29 </param> | |
| 30 <when value="qualitative"> | |
| 31 <param argument="--mod2" type="text" label="Condition 1 considered as reference" help="Condition used as reference in the comparison (e.g., Control, Untreated, With)."> | |
| 32 <expand macro="restricted_sanitizer_validator"/> | |
| 33 </param> | |
| 34 <param argument="--mod1" type="text" label="Condition 2 to be compared to the reference" help="Condition to compare against the reference (e.g., Treated, Without)."> | |
| 35 <expand macro="restricted_sanitizer_validator"/> | |
| 36 </param> | |
| 37 </when> | |
| 38 <when value="quantitative"/> | |
| 39 </conditional> | |
| 40 <param argument="--padj" type="float" value="0.05" label="Adjusted p-value threshold" help="Adjusted p-value cutoff used to determine significantly differentially abundant ASVs (default: 0.05)."/> | |
| 41 </xml> | |
| 42 | |
| 43 <!-- Test --> | |
| 44 <xml name="deseq2_asv_visualisation_test_input"> | |
| 45 <param name="phyloseq_rdata" value="references/16-phylo_import.Rdata" /> | |
| 46 <param name="deseq_rdata" value="references/23-deseq2_preprocess_asv.Rdata"/> | |
| 47 <param name="var_exp" value="EnvType" /> | |
| 48 <conditional name="varType"> | |
| 49 <param name="vartType_selected" value="qualitative"/> | |
| 50 <param name="mod1" value="BoeufHache"/> | |
| 51 <param name="mod2" value="SaumonFume"/> | |
| 52 </conditional> | |
| 53 <param name="padj" value="0.05" /> | |
| 54 </xml> | |
| 55 | |
| 56 <xml name="deseq2_asv_visualisation_test_output"> | |
| 57 <output name="html" count="1"> | |
| 58 <assert_contents> | |
| 59 <!-- HTML size or line diff can't be used as many information about path, os, date are present. --> | |
| 60 <!-- Here we test only title, intermediate results and output of last R command --> | |
| 61 <!-- Deseq2 is influenced by other intermediate libraries or packages and results are hard to compare --> | |
| 62 <has_text text="Stat: DESeq2 Visualisation" /> | |
| 63 <has_text text="(deseq2_visualisation.py" /> | |
| 64 <has_text text="v5.1.0)" /> | |
| 65 <has_text text='["otu_01582",' /> | |
| 66 <!-- baseMean value of otu_01582 --> | |
| 67 <has_text text='[52.4455' /> | |
| 68 <!-- Log2 FC of otu_01582 --> | |
| 69 <has_text text='[21.6623' /> | |
| 70 <!-- lfcSE of otu_01582 --> | |
| 71 <has_text text='[2.2089' /> | |
| 72 <has_text text='─ Session info ───────────────────────────────────────────────────────────────' /> | |
| 73 </assert_contents> | |
| 74 </output> | |
| 75 </xml> | |
| 76 | |
| 77 <token name="@DESEQ2_FUN_VISUALISATION_CMD_LINE@"> | |
| 78 deseq2_visualisation.py | |
| 79 --analysis 'FUNCTION' | |
| 80 --phyloseq-rdata '$phyloseq_rdata' | |
| 81 --deseq-rdata '$deseq_rdata' | |
| 82 --var-exp '$var_exp' | |
| 83 #if $varType.vartType_selected == "qualitative": | |
| 84 --mod1 '$varType.mod1' | |
| 85 --mod2 '$varType.mod2' | |
| 86 #end if | |
| 87 --padj $padj | |
| 88 --html '$html' | |
| 89 --output-ipath-over '$Function_over_abund' | |
| 90 --output-ipath-under '$Function_under_abund' | |
| 91 </token> | |
| 92 | |
| 93 <xml name="deseq2_fun_visualisation_inputs"> | |
| 94 <!-- Files --> | |
| 95 <param argument="--phyloseq-rdata" type="data" format="rdata" label="Phyloseq object (.Rdata)" help="Rdata file generated by the FROGS Stat DESeq2 Preprocess analysis for FUNCTION data."/> | |
| 96 <param argument="--deseq-rdata" type="data" format="rdata" label="DESeq2 object (.Rdata)" help="Rdata file generated by the FROGS Stat DESeq2 Preprocess analysis for FUNCTION data."/> | |
| 97 <!-- Parameters --> | |
| 98 <param argument="--var-exp" type="text" label="Experimental variable" help="Sample metadata variable expected to influence functional abundances (e.g., Treatment, Site, Environment, etc.)."> | |
| 99 <expand macro="restricted_sanitizer_validator"/> | |
| 100 </param> | |
| 101 <conditional name="varType"> | |
| 102 <param name="vartType_selected" type="select" label="Is the experimental variable quantitative or qualitative?" help="Select whether the experimental variable is qualitative (categorical) or quantitative (numerical). If qualitative, specify two conditions to compare."> | |
| 103 <option value="qualitative">Qualitative</option> | |
| 104 <option value="quantitative">Quantitative</option> | |
| 105 </param> | |
| 106 <when value="qualitative"> | |
| 107 <param argument="--mod2" type="text" label="Condition 1 considered as reference" help="Condition used as reference in the comparison (e.g., Control, Untreated, With)."> | |
| 108 <expand macro="restricted_sanitizer_validator"/> | |
| 109 </param> | |
| 110 <param argument="--mod1" type="text" label="Condition 2 to be compared to the reference" help="Condition to compare against the reference (e.g., Treated, Without)."> | |
| 111 <expand macro="restricted_sanitizer_validator"/> | |
| 112 </param> | |
| 113 </when> | |
| 114 <when value="quantitative"/> | |
| 115 </conditional> | |
| 116 <param argument="--padj" type="float" value="0.05" label="Adjusted p-value threshold" help="Adjusted p-value cutoff used to determine significantly differentially abundant functions (default: 0.05)."/> | |
| 117 </xml> | |
| 118 | |
| 119 <!-- Test --> | |
| 120 <xml name="deseq2_fun_visualisation_test_input"> | |
| 121 <param name="phyloseq_rdata" value="references/23-phyloseq_functions.Rdata" /> | |
| 122 <param name="deseq_rdata" value="references/23-deseq2_preprocess_func.Rdata"/> | |
| 123 <param name="var_exp" value="EnvType" /> | |
| 124 <conditional name="varType"> | |
| 125 <param name="vartType_selected" value="qualitative"/> | |
| 126 <param name="mod1" value="BoeufHache"/> | |
| 127 <param name="mod2" value="SaumonFume"/> | |
| 128 </conditional> | |
| 129 <param name="padj" value="0.05" /> | |
| 130 </xml> | |
| 131 | |
| 132 <xml name="deseq2_fun_visualisation_test_output"> | |
| 133 <output name="html" count="1"> | |
| 134 <assert_contents> | |
| 135 <!-- HTML size or line diff can't be used as many information about path, os, date are present. --> | |
| 136 <!-- Here we test only title, intermediate results and output of last R command --> | |
| 137 <has_text text="Stat: DESeq2 Visualisation" /> | |
| 138 <has_text text="(deseq2_visualisation.py v5.1.0)" /> | |
| 139 <has_text text='["EC:1.3.1.76",' /> | |
| 140 <!-- baseMean value of EC:1.3.1.76 --> | |
| 141 <has_text text='[753.1103444315089' /> | |
| 142 <!-- Log2 FC of EC:1.3.1.76 --> | |
| 143 <has_text text='[-8.386170731613163' /> | |
| 144 <!-- lfcSE of EC:1.3.1.76 --> | |
| 145 <has_text text='[1.005359955086068' /> | |
| 146 <!-- pvalue EC:1.3.1.76 --> | |
| 147 <has_text text='[7.337830601151377e-17' /> | |
| 148 <has_text text='─ Session info ───────────────────────────────────────────────────────────────' /> | |
| 149 </assert_contents> | |
| 150 </output> | |
| 151 </xml> | |
| 152 </macros> |
