From b47307323d5c273e8c6c2fb585a2e85da2ac3982 Mon Sep 17 00:00:00 2001 From: "Richard C. Burhans" Date: Tue, 10 Sep 2024 15:48:32 -0400 Subject: [PATCH] adding a new test, small updates --- tools/ncbi_egapx/macros.xml | 2 +- tools/ncbi_egapx/ncbi_egapx.xml | 55 ++++++++++++++++++++------------- 2 files changed, 34 insertions(+), 23 deletions(-) diff --git a/tools/ncbi_egapx/macros.xml b/tools/ncbi_egapx/macros.xml index e65c0d2..1878963 100644 --- a/tools/ncbi_egapx/macros.xml +++ b/tools/ncbi_egapx/macros.xml @@ -5,7 +5,7 @@ 0.2-alpha - 1 + 2 22.05 diff --git a/tools/ncbi_egapx/ncbi_egapx.xml b/tools/ncbi_egapx/ncbi_egapx.xml index 00c03d7..df6fb6d 100644 --- a/tools/ncbi_egapx/ncbi_egapx.xml +++ b/tools/ncbi_egapx/ncbi_egapx.xml @@ -9,44 +9,44 @@ #if str($cond_input_style.input_style) == "history": #set yamlconfig = $yamlin #else: - #set yamlconfig = 'egapx.yaml' - rm -rf 'egapx.yaml' && - touch 'egapx.yaml' && - echo '# yaml generated by ncbi_egapx.xml' >> egapx.yaml && - echo 'taxid: $taxid' >> egapx.yaml && + #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' >> 'egapx.yaml' && + echo 'genome: $reference_genome.genome.fields.path' >> '$yamlconfig' && #elif str($reference_genome.genome_type_select) == "history" - echo 'genome: $reference_genome.genome' >> 'egapx.yaml' && + echo 'genome: $reference_genome.genome' >> '$yamlconfig' && #else: - echo 'genome: $reference_genome.uri' >> 'egapx.yaml' && + echo 'genome: $reference_genome.uri' >> '$yamlconfig' && #end if - echo 'reads:' >> 'egapx.yaml' && + echo 'reads:' >> '$yamlconfig' && #if str($condrnaseq.rna_type_select) == "history": #for $r in $rnaseq: - echo ' - $r' >> 'egapx.yaml' && + echo ' - $r' >> '$yamlconfig' && #end for #else: #set rs = $rnaseq.split() #set rsplit = [x.strip() for x in $rs] #for $r in $rsplit: - echo ' - $r' >> 'egapx.yaml' && + echo ' - $r' >> '$yamlconfig' && #end for #end if #if len($xtra.strip()) > 0: - #set lxtra = $xtra.split('\n') + #set lxtra = $xtra.split("\n") #for row in $lxtra: - echo '$row' >> 'egapx.yaml' && + echo '$row' >> '$yamlconfig' && #end for #end if - echo '' >> 'egapx.yaml' && + echo '' >> '$yamlconfig' && echo "Calculated contents of egapx yaml" && - cat 'egapx.yaml' && + cat '$yamlconfig' && #end if source /galaxy/env.bash && echo \${PATH} && ln -s /galaxy/egapx/egapx_config && - python3 /galaxy/egapx/ui/egapx.py '$yamlconfig' -e galaxy -o 'egapx_out' + python3 /galaxy/egapx/ui/egapx.py '$yamlconfig' -e galaxy -o 'egapx_out' ]]> @@ -61,14 +61,14 @@ - - @@ -76,10 +76,10 @@ - + - + @@ -88,7 +88,7 @@ - @@ -98,7 +98,7 @@ - @@ -115,9 +115,20 @@ + + + + + + + + + + +