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..3a93675 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 @@ - - @@ -79,7 +79,7 @@ - + @@ -88,7 +88,7 @@ - @@ -98,7 +98,7 @@ - @@ -115,9 +115,20 @@ + + + + + + + + + + + +# +#So, all_fasta.loc could look something like this: +# +#apiMel3 apiMel3 Honeybee (Apis mellifera): apiMel3 /path/to/genome/apiMel3/apiMel3.fa +#hg19canon hg19 Human (Homo sapiens): hg19 Canonical /path/to/genome/hg19/hg19canon.fa +#hg19full hg19 Human (Homo sapiens): hg19 Full /path/to/genome/hg19/hg19full.fa +# +#Your all_fasta.loc file should contain an entry for each individual +#fasta file. So there will be multiple fasta files for each build, +#such as with hg19 above. +# diff --git a/tools/ncbi_egapx/tool_data_table_conf.xml.sample b/tools/ncbi_egapx/tool_data_table_conf.xml.sample new file mode 100644 index 0000000..d5c59b9 --- /dev/null +++ b/tools/ncbi_egapx/tool_data_table_conf.xml.sample @@ -0,0 +1,7 @@ + + + + value, dbkey, name, path + +
+