# HG changeset patch
# User richard-burhans
# Date 1725919638 0
# Node ID 4420dd857c41528d528a89f0d7301c6e8d40cb13
# Parent 7c72d5c7e4495b56dab69176be884c8882fc749e
planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 050f870384e004445d3dcfb56302b7894793bd23
diff -r 7c72d5c7e449 -r 4420dd857c41 macros.xml
--- a/macros.xml Tue Aug 20 19:47:25 2024 +0000
+++ b/macros.xml Mon Sep 09 22:07:18 2024 +0000
@@ -5,8 +5,8 @@
0.2-alpha
- 0
- 21.05
+ 1
+ 22.05
operation_0362
diff -r 7c72d5c7e449 -r 4420dd857c41 ncbi_egapx.xml
--- a/ncbi_egapx.xml Tue Aug 20 19:47:25 2024 +0000
+++ b/ncbi_egapx.xml Mon Sep 09 22:07:18 2024 +0000
@@ -5,14 +5,108 @@
- > egapx.yaml &&
+ echo 'taxid: $taxid' >> egapx.yaml &&
+ #if str($reference_genome.genome_type_select) == "indexed":
+ echo 'genome: $reference_genome.genome.fields.path' >> 'egapx.yaml' &&
+ #elif str($reference_genome.genome_type_select) == "history"
+ echo 'genome: $reference_genome.genome' >> 'egapx.yaml' &&
+ #else:
+ echo 'genome: $reference_genome.uri' >> 'egapx.yaml' &&
+ #end if
+ echo 'reads:' >> 'egapx.yaml' &&
+ #if str($condrnaseq.rna_type_select) == "history":
+ #for $r in $rnaseq:
+ echo ' - $r' >> 'egapx.yaml' &&
+ #end for
+ #else:
+ #set rs = $rnaseq.split()
+ #set rsplit = [x.strip() for x in $rs]
+ #for $r in $rsplit:
+ echo ' - $r' >> 'egapx.yaml' &&
+ #end for
+ #end if
+ #if len($xtra.strip()) > 0:
+ #set lxtra = $xtra.split('\n')
+ #for row in $lxtra:
+ echo '$row' >> 'egapx.yaml' &&
+ #end for
+ #end if
+ echo '' >> 'egapx.yaml' &&
+ echo "Calculated contents of egapx yaml" &&
+ cat 'egapx.yaml' &&
+ #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'
]]>
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -21,7 +115,7 @@
-
+
@@ -31,7 +125,7 @@
.. class:: warningmark
-**Proof of concept: a quick hack to run a NF workflow inside a specialised Galaxy tool wrapper**
+**Proof of concept: a hack to run a NF workflow inside a specialised Galaxy tool wrapper**
EGAPx is a big, complicated Nextflow workflow, challenging and costly to re-implement **properly**, requiring dozens of new tools and replicating a lot of
complicated *groovy* workflow logic.
@@ -42,7 +136,7 @@
required to convert Nextflow DDL into tools and WF logic. Balancing these competing requirements is a fundamental Galaxy challenge.
-EGAPx requires very substantial resources to run with real data. *128GB and 32 cores* are the minimum requirement; *256GB and 64 cores* are recommended.
+EGAPx requires very substantial resources to run with real data. *132GB and 32 cores* are the minimum requirement; *256GB and 64 cores* are recommended.
A special minimal example that can be run in 6GB with 4 cores is provided as a yaml configuration and is used for the tool test.
diff -r 7c72d5c7e449 -r 4420dd857c41 test-data/input.yaml
--- a/test-data/input.yaml Tue Aug 20 19:47:25 2024 +0000
+++ b/test-data/input.yaml Mon Sep 09 22:07:18 2024 +0000
@@ -1,1 +1,17 @@
-#
+# This is a very minimal example of EGAPx, it fits into 4 CPU cores and 6GB of memory.
+# To be able to do this, we culled the input files and some stages of execution.
+# To limit the requirements you also need to use -e docker_minimal
+
+genome: https://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/020/809/275/GCF_020809275.1_ASM2080927v1/GCF_020809275.1_ASM2080927v1_genomic.fna.gz
+reads:
+ - https://ftp.ncbi.nlm.nih.gov/genomes/TOOLS/EGAP/sample_data/Dermatophagoides_farinae_small/SRR8506572.1
+ - https://ftp.ncbi.nlm.nih.gov/genomes/TOOLS/EGAP/sample_data/Dermatophagoides_farinae_small/SRR8506572.2
+ - https://ftp.ncbi.nlm.nih.gov/genomes/TOOLS/EGAP/sample_data/Dermatophagoides_farinae_small/SRR9005248.1
+ - https://ftp.ncbi.nlm.nih.gov/genomes/TOOLS/EGAP/sample_data/Dermatophagoides_farinae_small/SRR9005248.2
+taxid: 6954
+proteins: []
+hmm: https://ftp.ncbi.nlm.nih.gov/genomes/TOOLS/EGAP/gnomon/hmm_parameters/6956.params
+tasks:
+ star_wnode:
+ star_wnode: -cpus-per-worker 4
+