# HG changeset patch # User iuc # Date 1708001391 0 # Node ID 7ff4f61789de80b8e2b0d31f91edec6e28e82a49 # Parent 8d8ae3697a65631d4117f0c8186986392d1a7fff planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/DIMet commit 30fe10acdf65c6917856a0eae21dc91abd2f609f diff -r 8d8ae3697a65 -r 7ff4f61789de dimet_metabologram.xml --- a/dimet_metabologram.xml Tue Jan 23 14:58:39 2024 +0000 +++ b/dimet_metabologram.xml Thu Feb 15 12:49:51 2024 +0000 @@ -12,7 +12,7 @@ @INIT_METABOLOGRAM@ @INIT_TRANSCRIPTS@ @INIT_GROUPS@ - @INIT_COMPARISONS@ + @INIT_COMPARISONS_METABOLOGRAM@ @INIT_PATHWAYS@ @INIT_STAT_TEST@ HYDRA_FULL_ERROR=1 python -m dimet @@ -42,7 +42,7 @@ }, columns_metabolites: {ID: metabolite, values: log2FC}, columns_transcripts: {ID: ${deg_one_id}, values: ${deg_one_values}}, - compartment: cell, + compartment: ${compartments}, label: metabologram }' '++analysis.method.qualityDistanceOverSpan='${qualityDistanceOverSpan}'' @@ -54,7 +54,7 @@ '++analysis.method.impute_values=${impute_values}' '++analysis.statistical_test=${statistical_test}' '++analysis.dataset.subfolder=' - '++analysis.dataset.conditions=${conds}' + '++analysis.dataset.conditions=${$conditions}' '++analysis.dataset.pathways=${pathways}' '++analysis.dataset.transcripts=${transcripts}' '++analysis.comparisons=${comparisons}' @@ -75,8 +75,7 @@ - - + @@ -111,17 +110,26 @@ - - - + + - - + + + + + + + + + + + +
@@ -140,7 +148,7 @@ DIMet Metabologram integrates tracer metabolomics and transcriptomics, in a pathway based fashion. More precisely, the differential information (Fold Changes (log2 transformed, or not)) of both types of omics -must be given as input, plus the files defining the pathways. You can use the minimal data examples from https://zenodo.org/records/8380706 that contain a minimal example data for running our DIMet Metabologram tool. +must be given as input, plus the files defining the pathways. You can use the minimal data examples from https://zenodo.org/records/10579891 that contain a minimal example data for running our DIMet Metabologram tool. The figures in .pdf format are of publication quality, and as they are vectorial images you can open them and customize aesthetics with a professional image software such as Inkscape, Adobe Illustrator, Sketch, CorelDRAW, etc. @@ -168,12 +176,32 @@ 3. **The pathways files**: - 3.1 A file with the pathways and respective gene symbols, which must match with those present in the transcriptomics data. The names of the columns must be the pathways' names, see the minimal data example downloaded from zenodo as explained above. + + 3.1 A file with the pathways and respective gene symbols, which must match with those present in the transcriptomics data. The names of the columns must be the pathways' names, see the minimal data example downloaded from zenodo as explained above. Example: - 3.2 A file with the pathways and respective metabolites ID, that must match with those in your metabolomics data. The names of the columns must be the pathways' names, see the minimal data example downloaded from zenodo as explained above. + ====================== ================== ================== + **PENTHOSE PHOSPHATE** **FATTY ACIDS** ... + ====================== ================== ================== + RPE SCD ... + PGM1 FADS1 ... + PKF BAAT ... + DERA ACOT2 ... + ... ... ... + ====================== ================== ================== + 3.2 A file with the pathways and respective metabolites ID, that must match with those in your metabolomics data. The names of the columns must be the pathways' names, see the minimal data example downloaded from zenodo as explained above. Example: + + ====================== ================== ================== + **PENTHOSE PHOSPHATE** **FATTY ACIDS** ... + ====================== ================== ================== + Xyl_P Acetyl_CoA ... + Glc_6P Palmitate ... + Rib_6P Stearate ... + ... ... ... + ====================== ================== ================== + **Measures' files** The measure's files must be organized as matrices: @@ -308,9 +336,9 @@ **Available data for testing** -You can test our tool with the data from our manuscript https://zenodo.org/record/8378887 (the pertinent +You can test our tool with the data from our manuscript https://zenodo.org/record/10579862 (the pertinent files for you are located in the subfolders inside the data folder). -You can also use the minimal data examples from https://zenodo.org/record/8380706 +You can also use the minimal data examples from https://zenodo.org/record/10579891 ]]> diff -r 8d8ae3697a65 -r 7ff4f61789de macros.xml --- a/macros.xml Tue Jan 23 14:58:39 2024 +0000 +++ b/macros.xml Thu Feb 15 12:49:51 2024 +0000 @@ -1,42 +1,46 @@ - 0.1.4 + 0.2.1 1 pca - - - - - - - - - - - - - - - - - dimet + + + + + - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -86,14 +90,14 @@ - + + label="Select Metabolite(s) for condition 1 to plot (1 Min.). You have to load a abundance file prior to have access to metabolite list"> @@ -115,7 +119,7 @@ + label="Select Metabolite(s) for condition 1 to plot (1 Min.). You have to load a abundance file prior to have access to metabolite list"> @@ -139,9 +143,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -167,6 +195,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -177,7 +233,7 @@ - + @@ -232,7 +288,7 @@ - + @@ -307,6 +363,25 @@ + + + + + + + + + + + + + + + + + + @@ -328,7 +403,7 @@ + label="Select Metabolite(s) for condition 1 to plot (1 min). You have to load a abundance file prior to have access to metabolite list"> @@ -348,8 +423,8 @@ - + label="Select Metabolite(s) for condition 1 to plot (1 Min.). You have to load a abundance file prior to have access to metabolite list"> + @@ -369,7 +444,7 @@ - + @@ -387,27 +462,132 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -420,68 +600,102 @@ ]]> + + + @@ -681,10 +909,43 @@ ]]> + + + 1: + #if len($timepoints) > 0: + #for $tp in $timepoint: + #set $ctrl_found=False + #set $ctrl="" + #set $comparisons_bis = list() + + #for $co in $conditions: + #set $sub_comparisons = list() + #if str($co) in ["'Control'", "'control'", "'ctrl'"]: + #set $ctrl_found=True + #set $ctrl=str($co) + #else: + $sub_comparisons.append(re.sub('"', '', str($co))) + $sub_comparisons.append(re.sub('"', '', str($tp))) + + #end if + $comparisons_bis.append($sub_comparisons) + #end for + + #if $ctrl_found: + $sub_comparisons.append(str($ctrl)) + $sub_comparisons.append(str($tp)) + $comparisons_bis.append($sub_comparisons) + #end if + + $comparisons.append($comparisons_bis) + #end for + #else + #for $co in $conditions: + $comparisons.append(re.sub('"', '', str($co))) + #end for + #end if + + #else + #if len($conditions) > 0: + #if len($timepoints) > 1: + #for $co in $conditions: + #set $comparisons_bis = list() + #for $tp in $timepoint: + #set $sub_comparisons = list() + $sub_comparisons.append(re.sub('"', '', str($co))) + $sub_comparisons.append(re.sub('"', '', str($tp))) + $comparisons_bis.append($sub_comparisons) + #end for + $comparisons.append($comparisons_bis) + #end for + #end if + #else + #for $tp in $timepoint: + $comparisons.append(re.sub('"', '', str($tp))) + #end for + #end if + #end if + ]]>