# HG changeset patch
# User richard-burhans
# Date 1728929227 0
# Node ID 28ab345ebab3f97df1c8f68ad6bb75dab6155d7b
# Parent 908c494fa84e75e5ee175550d2ac7b5e79648de1
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
diff -r 908c494fa84e -r 28ab345ebab3 ncbi_egapx.xml
--- a/ncbi_egapx.xml Fri Oct 11 20:03:16 2024 +0000
+++ b/ncbi_egapx.xml Mon Oct 14 18:07:07 2024 +0000
@@ -6,42 +6,43 @@
'$yamlconfig' &&
+ #if str($reference_genome.genome_type_select) == "history"
+ echo 'genome: $reference_genome.genome' >> '$yamlconfig' &&
+ #elif str($reference_genome.genome_type_select) == "indexed":
+ echo 'genome: $reference_genome.genome.fields.path' >> '$yamlconfig' &&
+ #else:
+ echo 'genome: $reference_genome.uri' >> '$yamlconfig' &&
+ #end if
+ echo 'taxid: $taxid' >> '$yamlconfig' &&
+ echo 'reads:' >> '$yamlconfig' &&
+ #if str($condrnaseq.rna_type_select) == "list":
+ #set rs = $rnaseq.split()
+ #set rsplit = [x.strip() for x in $rs]
+ #for $r in $rsplit:
+ echo ' - $r' >> '$yamlconfig' &&
+ #end for
+ #else:
+ #for $r in $rnaseq:
+ echo ' - $r' >> '$yamlconfig' &&
+ #end for
+ #end if
+ #if $proteins:
+ echo 'proteins: $proteins' >> '$yamlconfig' &&
+ #end if
+ #if len($xtra.strip()) > 0:
+ #set lxtra = $xtra.split("\n")
+ #for row in $lxtra:
+ echo '$row' >> '$yamlconfig' &&
+ #end for
+ #end if
+ echo '' >> '$yamlconfig' &&
+ echo "Calculated contents of egapx yaml" &&
+ cat '$yamlconfig' &&
#else:
- #set yamlconfig = "egapx.yaml"
- rm -rf '$yamlconfig' &&
- touch '$yamlconfig' &&
- echo '# yaml generated by ncbi_egapx.xml' >> '$yamlconfig' &&
- echo 'taxid: $taxid' >> '$yamlconfig' &&
- #if str($reference_genome.genome_type_select) == "indexed":
- echo 'genome: $reference_genome.genome.fields.path' >> '$yamlconfig' &&
- #elif str($reference_genome.genome_type_select) == "history"
- echo 'genome: $reference_genome.genome' >> '$yamlconfig' &&
- #else:
- echo 'genome: $reference_genome.uri' >> '$yamlconfig' &&
- #end if
- echo 'reads:' >> '$yamlconfig' &&
- #if str($condrnaseq.rna_type_select) == "history":
- #for $r in $rnaseq:
- echo ' - $r' >> '$yamlconfig' &&
- #end for
- #else:
- #set rs = $rnaseq.split()
- #set rsplit = [x.strip() for x in $rs]
- #for $r in $rsplit:
- echo ' - $r' >> '$yamlconfig' &&
- #end for
- #end if
- #if len($xtra.strip()) > 0:
- #set lxtra = $xtra.split("\n")
- #for row in $lxtra:
- echo '$row' >> '$yamlconfig' &&
- #end for
- #end if
- echo '' >> '$yamlconfig' &&
- echo "Calculated contents of egapx yaml" &&
- cat '$yamlconfig' &&
+ #set yamlconfig = $yamlin
#end if
source /galaxy/env.bash &&
echo \${PATH} &&
@@ -49,107 +50,108 @@
python3 /galaxy/egapx/ui/egapx.py '$yamlconfig' -e galaxy -o 'egapx_out'
]]>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+ ]]>
+