annotate ncbi_egapx.xml @ 30:21d4de0e41fc draft default tip

planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bdcd7b1991f872540fb5f87ee945077b5ca68780
author richard-burhans
date Mon, 17 Feb 2025 19:17:19 +0000
parents 8ada50a892fa
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
1 <tool id="ncbi_egapx" name="NCBI EGAPx" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
2 <description>annotates eukaryotic genomes</description>
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
3 <macros>
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
4 <import>macros.xml</import>
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
5 </macros>
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
6 <expand macro="edam_ontology"/>
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
7 <expand macro="requirements"/>
3
4420dd857c41 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 050f870384e004445d3dcfb56302b7894793bd23
richard-burhans
parents: 1
diff changeset
8 <command detect_errors="aggressive"><![CDATA[
18
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
9 #if $cond_input_style.input_style == "fillform"
11
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
10 #set yamlconfig = $egapx_config
18
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
11 ## The EGAPx pipeline code determines that a file is gzipped if it has a '.gz' extension.
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
12 ## This code creates symlinks with the appropriate extension.
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
13 #if $cond_input_style.cond_genome_style.genome_style == "history"
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
14 #set $genome_pathname = "genome_" + re.sub('[^\w\-\s]', '_', str($genome.element_identifier)) + "." + $genome.ext
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
15 ln -s '$genome' '$genome_pathname' &&
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
16 #else if $cond_input_style.cond_genome_style.genome_style == "indexed"
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
17 #set $genome_pathname = "genome_" + re.sub('[^\w\-\s]', '_', str($genome.fields.element_identifier)) + "." + $genome.fields.ext
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
18 ln -s '$genome.fields.path' '$genome_pathname' &&
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
19 #end if
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
20 #if $cond_input_style.cond_rnaseq_style.rnaseq_style == "history"
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
21 #import re
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
22 mkdir -p reads &&
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
23 #for $idx, $read in enumerate($cond_input_style.cond_rnaseq_style.rnaseq)
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
24 #if $read
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
25 #set $read_pathname = "reads/" + str($idx) + "_" + re.sub('[^\w\-\s]', '_', str($read.element_identifier)) + "." + $read.ext
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
26 ln -s '$read' '$read_pathname' &&
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
27 #end if
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
28 #end for
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
29 #for $repeat_idx, $repeat_entry in enumerate($cond_input_style.cond_rnaseq_style.reads_lists)
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
30 #for $idx, $collection in enumerate($repeat_entry.rnaseq_single)
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
31 #set $read_pathname = "reads/" + str($repeat_idx) + str($idx) + "_" + re.sub('[^\w\-\s]', '_', str($collection.element_identifier)) + "." + $collection.ext
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
32 ln -s '$collection' '$read_pathname' &&
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
33 #end for
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
34 #end for
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
35 #for $repeat_idx, $repeat_entry in enumerate($cond_input_style.cond_rnaseq_style.reads_paired_lists)
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
36 #for $idx, $collection in enumerate($repeat_entry.rnaseq_paired)
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
37 #set $read_pathname = "reads/" + str($repeat_idx) + str($idx) + "_" + $re.sub('[^\w\-\s]', '_', str($collection.forward.element_identifier)) + "." + $collection.forward.ext
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
38 ln -s '${collection.forward}' '$read_pathname' &&
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
39 #set $read_pathname = "reads/" + str($repeat_idx) + str($idx) + "_" + re.sub('[^\w\-\s]', '_', str($collection.reverse.element_identifier)) + "." + $collection.reverse.ext
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
40 ln -s '${collection.reverse}' '$read_pathname' &&
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
41 #end for
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
42 #end for
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
43 #end if
11
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
44 #else
9
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
45 #set yamlconfig = $yamlin
3
4420dd857c41 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 050f870384e004445d3dcfb56302b7894793bd23
richard-burhans
parents: 1
diff changeset
46 #end if
11
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
47 ## activate the following
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
48 ## - nextflow conda environment
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
49 ## - EGPAx python virtual environment
0
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
50 source /galaxy/env.bash &&
11
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
51 ## use the augmented container EGAPx config
0
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
52 ln -s /galaxy/egapx/egapx_config &&
11
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
53 ## run EGAPx
25
a77f693df58c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 42691bb143bd1ff7a13b0307d96ccb0fbf3747ca
richard-burhans
parents: 18
diff changeset
54 python3 /galaxy/egapx/ui/egapx.py '$yamlconfig' -e galaxy -o 'egapx_out' &&
a77f693df58c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 42691bb143bd1ff7a13b0307d96ccb0fbf3747ca
richard-burhans
parents: 18
diff changeset
55 ## hack to support 0.2-alpha
a77f693df58c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 42691bb143bd1ff7a13b0307d96ccb0fbf3747ca
richard-burhans
parents: 18
diff changeset
56 if [ -e egapx_out/accept.gff ]; then ln -s accept.gff egapx_out/complete.genomic.gff; fi
0
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
57 ]]></command>
25
a77f693df58c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 42691bb143bd1ff7a13b0307d96ccb0fbf3747ca
richard-burhans
parents: 18
diff changeset
58 <environment_variables>
a77f693df58c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 42691bb143bd1ff7a13b0307d96ccb0fbf3747ca
richard-burhans
parents: 18
diff changeset
59 <environment_variable name="NXF_DEBUG">3</environment_variable>
a77f693df58c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 42691bb143bd1ff7a13b0307d96ccb0fbf3747ca
richard-burhans
parents: 18
diff changeset
60 </environment_variables>
11
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
61 <configfiles>
30
21d4de0e41fc planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bdcd7b1991f872540fb5f87ee945077b5ca68780
richard-burhans
parents: 29
diff changeset
62 <configfile name="reads_config"><![CDATA[#slurp
18
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
63 #if $cond_input_style.input_style == "fillform" and $cond_input_style.cond_rnaseq_style.rnaseq_style == "history"
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
64 #import re
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
65 #for $idx, $read in enumerate($cond_input_style.cond_rnaseq_style.rnaseq)
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
66 #if $read
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
67 #set $read_pathname = "reads/" + str($idx) + re.sub('[^\w\-\s]', '_', str($read.element_identifier)) + "." + $read.ext
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
68 ${idx}_${read.name} $read_pathname
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
69 #end if
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
70 #end for
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
71 #for $repeat_idx, $repeat_entry in enumerate($cond_input_style.cond_rnaseq_style.reads_lists)
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
72 #for $idx, $collection in enumerate($repeat_entry.rnaseq_single)
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
73 #set $read_pathname = "reads/" + str($repeat_idx) + str($idx) + re.sub('[^\w\-\s]', '_', str($collection.element_identifier)) + "." + $collection.ext
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
74 ${repeat_idx}${idx}_${collection.name} $read_pathname
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
75 #end for
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
76 #end for
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
77 #for $repeat_idx, $repeat_entry in enumerate($cond_input_style.cond_rnaseq_style.reads_paired_lists)
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
78 #for $idx, $collection in enumerate($repeat_entry.rnaseq_paired)
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
79 #set $forward_read_pathname = "reads/" + str($repeat_idx) + str($idx) + re.sub('[^\w\-\s]', '_', str($collection.forward.element_identifier)) + "." + $collection.forward.ext
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
80 #set $reverse_read_pathname = "reads/" + str($repeat_idx) + str($idx) + re.sub('[^\w\-\s]', '_', str($collection.reverse.element_identifier)) + "." + $collection.reverse.ext
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
81 ${repeat_idx}${idx}_${collection.name} $forward_read_pathname $reverse_read_pathname
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
82 #end for
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
83 #end for
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
84 #end if
30
21d4de0e41fc planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bdcd7b1991f872540fb5f87ee945077b5ca68780
richard-burhans
parents: 29
diff changeset
85 #silent pass]]></configfile>
21d4de0e41fc planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bdcd7b1991f872540fb5f87ee945077b5ca68780
richard-burhans
parents: 29
diff changeset
86 <configfile name="egapx_config"><![CDATA[#slurp
21d4de0e41fc planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bdcd7b1991f872540fb5f87ee945077b5ca68780
richard-burhans
parents: 29
diff changeset
87 #if $cond_input_style.input_style == "fillform"
21d4de0e41fc planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bdcd7b1991f872540fb5f87ee945077b5ca68780
richard-burhans
parents: 29
diff changeset
88 #import re
21d4de0e41fc planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bdcd7b1991f872540fb5f87ee945077b5ca68780
richard-burhans
parents: 29
diff changeset
89 #if $cond_input_style.cond_genome_style.genome_style == "history"
21d4de0e41fc planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bdcd7b1991f872540fb5f87ee945077b5ca68780
richard-burhans
parents: 29
diff changeset
90 #set genome_value = "genome_" + re.sub('[^\w\-\s]', '_', str($genome.element_identifier)) + "." + $genome.ext
21d4de0e41fc planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bdcd7b1991f872540fb5f87ee945077b5ca68780
richard-burhans
parents: 29
diff changeset
91 #else if $cond_input_style.cond_genome_style.genome_style == "indexed"
21d4de0e41fc planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bdcd7b1991f872540fb5f87ee945077b5ca68780
richard-burhans
parents: 29
diff changeset
92 #set genome_value = "genome_" + re.sub('[^\w\-\s]', '_', str($genome.fields.element_identifier)) + "." + $genomefields.ext
21d4de0e41fc planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bdcd7b1991f872540fb5f87ee945077b5ca68780
richard-burhans
parents: 29
diff changeset
93 #else
21d4de0e41fc planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bdcd7b1991f872540fb5f87ee945077b5ca68780
richard-burhans
parents: 29
diff changeset
94 #set genome_value = $uri
21d4de0e41fc planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bdcd7b1991f872540fb5f87ee945077b5ca68780
richard-burhans
parents: 29
diff changeset
95 #end if
11
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
96 # yaml generated by ncbi_egapx.xml
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
97 genome: $genome_value
18
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
98 taxid: $taxid
30
21d4de0e41fc planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bdcd7b1991f872540fb5f87ee945077b5ca68780
richard-burhans
parents: 29
diff changeset
99 #if $cond_input_style.cond_rnaseq_style.rnaseq_style == "history"
18
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
100 reads: $reads_config
11
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
101 #else
29
8ada50a892fa planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit f2b75ca7f0f40a117d37ec27c1fc48047c014823
richard-burhans
parents: 25
diff changeset
102 reads:
18
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
103 #set reads_values = $rnaseq.split()
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
104 #for $read in [str(rv).strip() for rv in $reads_values]
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
105 - $read
30
21d4de0e41fc planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bdcd7b1991f872540fb5f87ee945077b5ca68780
richard-burhans
parents: 29
diff changeset
106 #end for
21d4de0e41fc planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bdcd7b1991f872540fb5f87ee945077b5ca68780
richard-burhans
parents: 29
diff changeset
107 #end if
21d4de0e41fc planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bdcd7b1991f872540fb5f87ee945077b5ca68780
richard-burhans
parents: 29
diff changeset
108 #if str($cond_input_style.proteins) != "None"
18
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
109 proteins: $cond_input_style.proteins
30
21d4de0e41fc planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bdcd7b1991f872540fb5f87ee945077b5ca68780
richard-burhans
parents: 29
diff changeset
110 #end if
21d4de0e41fc planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bdcd7b1991f872540fb5f87ee945077b5ca68780
richard-burhans
parents: 29
diff changeset
111 #if str($cond_input_style.extra) != "None"
21d4de0e41fc planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bdcd7b1991f872540fb5f87ee945077b5ca68780
richard-burhans
parents: 29
diff changeset
112 #for row in str($cond_input_style.extra).strip().split("\n")
21d4de0e41fc planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bdcd7b1991f872540fb5f87ee945077b5ca68780
richard-burhans
parents: 29
diff changeset
113 #if $row
11
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
114 $row
30
21d4de0e41fc planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bdcd7b1991f872540fb5f87ee945077b5ca68780
richard-burhans
parents: 29
diff changeset
115 #end if
21d4de0e41fc planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bdcd7b1991f872540fb5f87ee945077b5ca68780
richard-burhans
parents: 29
diff changeset
116 #end for
21d4de0e41fc planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bdcd7b1991f872540fb5f87ee945077b5ca68780
richard-burhans
parents: 29
diff changeset
117 #end if
21d4de0e41fc planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bdcd7b1991f872540fb5f87ee945077b5ca68780
richard-burhans
parents: 29
diff changeset
118 #end if
21d4de0e41fc planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bdcd7b1991f872540fb5f87ee945077b5ca68780
richard-burhans
parents: 29
diff changeset
119 #silent pass]]></configfile>
11
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
120 </configfiles>
0
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
121 <inputs>
9
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
122 <conditional name="cond_input_style">
18
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
123 <param name="input_style" type="select" label="Fill in a tool form or use an existing yaml configuration from the current history?" help="Use the tool form to select inputs from the history, or use a pre-prepared yaml file.">
9
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
124 <option value="fillform" selected="True">Provide configuration details for conversion into a configuration yaml</option>
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
125 <option value="history">Use a pre-prepared yaml egapx configuration</option>
18
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
126 </param>
9
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
127 <when value="fillform">
16
d167f698d5e9 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit d5c4a9faa18df570d02ce208d301a160d8555f58
richard-burhans
parents: 14
diff changeset
128 <conditional name="cond_genome_style">
18
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
129 <param name="genome_style" type="select" label="Reference genome source for mapping supplied RNA-seq reads" help="Select a built in, history or remote URI for the reference genome FASTA">
11
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
130 <option value="history" selected="True">Use a genome FASTA file from the current history</option>
9
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
131 <option value="indexed">Use a Galaxy server built-in genome</option>
11
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
132 <option value="uri">Provide a remote web link URI ("https://...") pointing at the required genome reference FASTA file</option>
9
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
133 </param>
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
134 <when value="history">
11
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
135 <param name="genome" type="data" format="fasta" label="Select the reference genome FASTA from the current history"/>
9
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
136 </when>
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
137 <when value="indexed">
18
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
138 <param name="genome" type="select" label="Select a built in reference genome or custom genome" help="If not listed, add a custom genome or use a reference genome from the history">
9
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
139 <options from_data_table="all_fasta">
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
140 <validator message="No genomes are available " type="no_options"/>
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
141 </options>
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
142 </param>
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
143 </when>
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
144 <when value="uri">
11
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
145 <param name="uri" type="text" label="URI pointing to the reference genome FASTA file"/>
9
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
146 </when>
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
147 </conditional>
16
d167f698d5e9 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit d5c4a9faa18df570d02ce208d301a160d8555f58
richard-burhans
parents: 14
diff changeset
148 <param name="taxid" type="text" label="NCBI Taxon ID" help="Used to identify the HMM model files needed">
d167f698d5e9 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit d5c4a9faa18df570d02ce208d301a160d8555f58
richard-burhans
parents: 14
diff changeset
149 <validator type="regex" message="Numeric">^[0-9]+$</validator>
d167f698d5e9 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit d5c4a9faa18df570d02ce208d301a160d8555f58
richard-burhans
parents: 14
diff changeset
150 </param>
d167f698d5e9 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit d5c4a9faa18df570d02ce208d301a160d8555f58
richard-burhans
parents: 14
diff changeset
151 <conditional name="cond_rnaseq_style">
18
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
152 <param name="rnaseq_style" type="select" label="RNA sequence data source" help="Select RNAseq input data from history or input a list of SRA identifiers or remote URI">
16
d167f698d5e9 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit d5c4a9faa18df570d02ce208d301a160d8555f58
richard-burhans
parents: 14
diff changeset
153 <option value="history" selected="True">Select one or more RNA-seq fastq datasets from the current history</option>
d167f698d5e9 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit d5c4a9faa18df570d02ce208d301a160d8555f58
richard-burhans
parents: 14
diff changeset
154 <option value="list">Type in a list of SRA identifiers and/or remote RNA-seq FASTA URI</option>
9
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
155 </param>
16
d167f698d5e9 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit d5c4a9faa18df570d02ce208d301a160d8555f58
richard-burhans
parents: 14
diff changeset
156 <when value="history">
18
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
157 <param name="rnaseq" type="data" format="fastqsanger,fastqsanger.gz" multiple="true" optional="true" label="Select multiple RNA-seq fastqsanger inputs from the current history" help="All selected rna-seq fastqsanger will be added to the yaml for egapx configuration"/>
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
158 <repeat name="reads_lists" title="Single-end reads" min="0">
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
159 <param name="rnaseq_single" type="data_collection" format="fastqsanger,fastqsanger.gz" collection_type="list" label="Select multiple RNA-seq fastqsanger inputs from the current history" help="All selected rna-seq fastqsanger will be added to the yaml for egapx configuration"/>
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
160 </repeat>
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
161 <repeat name="reads_paired_lists" title="Paired-end reads" min="0">
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
162 <param name="rnaseq_paired" type="data_collection" format="fastqsanger,fastqsanger.gz" collection_type="list:paired" label="Select multiple RNA-seq fastqsanger inputs from the current history" help="All selected rna-seq fastqsanger will be added to the yaml for egapx configuration"/>
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
163 </repeat>
16
d167f698d5e9 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit d5c4a9faa18df570d02ce208d301a160d8555f58
richard-burhans
parents: 14
diff changeset
164 </when>
9
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
165 <when value="list">
18
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
166 <param name="rnaseq" type="text" area="true" label="List all required individual RNA-seq URI or SRA identifiers, separated by spaces or newlines" help="Either a working URI for a RNA-seq FASTA, or a bare SRA identifier will work - can be mixed">
9
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
167 <validator type="empty_field"/>
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
168 </param>
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
169 </when>
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
170 </conditional>
11
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
171 <param name="proteins" type="data" format="fasta,fasta.gz" optional="true" label="Select a protein set"/>
18
83f9b1d86951 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8214876a80a4416d2614c7227b22a436489f59cf
richard-burhans
parents: 17
diff changeset
172 <param name="extra" type="text" area="true" optional="true" label="Additional yaml to append to the egapx.yaml configuration"
9
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
173 help="Not normally needed but useful for testing additional configuration elements">
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
174 <sanitizer invalid_char="">
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
175 <valid initial="string.printable"/>
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
176 </sanitizer>
3
4420dd857c41 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 050f870384e004445d3dcfb56302b7894793bd23
richard-burhans
parents: 1
diff changeset
177 </param>
4420dd857c41 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 050f870384e004445d3dcfb56302b7894793bd23
richard-burhans
parents: 1
diff changeset
178 </when>
4420dd857c41 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 050f870384e004445d3dcfb56302b7894793bd23
richard-burhans
parents: 1
diff changeset
179 <when value="history">
11
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
180 <param name="yamlin" type="data" format="yaml" label="egapx configuration yaml file to pass to Nextflow"/>
3
4420dd857c41 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 050f870384e004445d3dcfb56302b7894793bd23
richard-burhans
parents: 1
diff changeset
181 </when>
9
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
182 </conditional>
0
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
183 </inputs>
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
184 <outputs>
29
8ada50a892fa planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit f2b75ca7f0f40a117d37ec27c1fc48047c014823
richard-burhans
parents: 25
diff changeset
185 <data name="complete_genomic_gff" format="gff" label="Final annotation for ${on_string}" from_work_dir="egapx_out/complete.genomic.gff"/>
8ada50a892fa planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit f2b75ca7f0f40a117d37ec27c1fc48047c014823
richard-burhans
parents: 25
diff changeset
186 <collection name="output_files" type="list" label="EGAPx output for ${on_string}">
8ada50a892fa planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit f2b75ca7f0f40a117d37ec27c1fc48047c014823
richard-burhans
parents: 25
diff changeset
187 <data name="complete_genomic_gtf" format="gtf" label="Final annotation" from_work_dir="egapx_out/complete.genomic.gtf"/>
8ada50a892fa planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit f2b75ca7f0f40a117d37ec27c1fc48047c014823
richard-burhans
parents: 25
diff changeset
188 <data name="complete_genomic_fna" format="fasta" label="Full genome sequences" from_work_dir="egapx_out/complete.genomic.fna"/>
8ada50a892fa planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit f2b75ca7f0f40a117d37ec27c1fc48047c014823
richard-burhans
parents: 25
diff changeset
189 <data name="complete_cds" format="fasta" label="Annotated CDS" from_work_dir="egapx_out/complete.cds.fna"/>
8ada50a892fa planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit f2b75ca7f0f40a117d37ec27c1fc48047c014823
richard-burhans
parents: 25
diff changeset
190 <data name="complete_transcripts" format="fasta" label="Annotated transcripts" from_work_dir="egapx_out/complete.transcripts.fna"/>
8ada50a892fa planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit f2b75ca7f0f40a117d37ec27c1fc48047c014823
richard-burhans
parents: 25
diff changeset
191 <data name="complete_proteins" format="fasta" label="Annotated proteins" from_work_dir="egapx_out/complete.proteins.faa"/>
8ada50a892fa planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit f2b75ca7f0f40a117d37ec27c1fc48047c014823
richard-burhans
parents: 25
diff changeset
192 <data name="annotated_genome" format="asn1" label="Final annotation" from_work_dir="egapx_out/annotated_genome.asn"/>
8ada50a892fa planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit f2b75ca7f0f40a117d37ec27c1fc48047c014823
richard-burhans
parents: 25
diff changeset
193 <data name="accept_ftable_annot" format="txt" label="Accepted annotation models" from_work_dir="egapx_out/annot_builder_output/accept.ftable_annot"/>
8ada50a892fa planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit f2b75ca7f0f40a117d37ec27c1fc48047c014823
richard-burhans
parents: 25
diff changeset
194 <data name="annotation_data_cmt" format="tabular" label="Structured Comment" from_work_dir="egapx_out/annotation_data.cmt"/>
8ada50a892fa planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit f2b75ca7f0f40a117d37ec27c1fc48047c014823
richard-burhans
parents: 25
diff changeset
195 <data name="feature_counts" format="xml" label="Feature counts" from_work_dir="egapx_out/stats/feature_counts.xml"/>
8ada50a892fa planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit f2b75ca7f0f40a117d37ec27c1fc48047c014823
richard-burhans
parents: 25
diff changeset
196 <data name="feature_stats" format="xml" label="Feature stats" from_work_dir="egapx_out/stats/feature_stats.xml"/>
8ada50a892fa planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit f2b75ca7f0f40a117d37ec27c1fc48047c014823
richard-burhans
parents: 25
diff changeset
197 <data name="all_unannotated_val" format="xml" label="" from_work_dir="egapx_out/validated/all_unannotated.val"/>
8ada50a892fa planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit f2b75ca7f0f40a117d37ec27c1fc48047c014823
richard-burhans
parents: 25
diff changeset
198 <data name="genome_val" format="xml" label="" from_work_dir="egapx_out/validated/genome.val"/>
8ada50a892fa planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit f2b75ca7f0f40a117d37ec27c1fc48047c014823
richard-burhans
parents: 25
diff changeset
199 </collection>
9
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
200 <collection name="nextflow_stats" type="list" label="EGAPx nextflow stats for ${on_string}">
29
8ada50a892fa planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit f2b75ca7f0f40a117d37ec27c1fc48047c014823
richard-burhans
parents: 25
diff changeset
201 <data name="run_report" format="html" label="Nextflow execution report" from_work_dir="egapx_out/run.report.html"/>
8ada50a892fa planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit f2b75ca7f0f40a117d37ec27c1fc48047c014823
richard-burhans
parents: 25
diff changeset
202 <data name="run_timeline" format="html" label="Nextflow execution timeline" from_work_dir="egapx_out/run.timeline.html"/>
8ada50a892fa planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit f2b75ca7f0f40a117d37ec27c1fc48047c014823
richard-burhans
parents: 25
diff changeset
203 <data name="nextflow_log" format="txt" label="Nextflow execution log" from_work_dir="egapx_out/nextflow.log"/>
8ada50a892fa planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit f2b75ca7f0f40a117d37ec27c1fc48047c014823
richard-burhans
parents: 25
diff changeset
204 <data name="run_trace" format="tabular" label="Nextflow trace file" from_work_dir="egapx_out/run.trace.txt"/>
8ada50a892fa planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit f2b75ca7f0f40a117d37ec27c1fc48047c014823
richard-burhans
parents: 25
diff changeset
205 <data name="run_params" format="yaml" label="Nextflow run parameters" from_work_dir="egapx_out/run_params.yaml"/>
9
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
206 </collection>
0
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
207 </outputs>
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
208 <tests>
9
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
209 <test expect_test_failure="true">
11
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
210 <param name="input_style" value="fillform"/>
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
211 <param name="taxid" value="6954"/>
16
d167f698d5e9 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit d5c4a9faa18df570d02ce208d301a160d8555f58
richard-burhans
parents: 14
diff changeset
212 <param name="genome_style" value="uri"/>
11
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
213 <param name="uri" value="https://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/020/809/275/GCF_020809275.1_ASM2080927v1/GCF_020809275.1_ASM2080927v1_genomic.fna.gz"/>
16
d167f698d5e9 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit d5c4a9faa18df570d02ce208d301a160d8555f58
richard-burhans
parents: 14
diff changeset
214 <param name="rnaseq_style" value="list"/>
29
8ada50a892fa planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit f2b75ca7f0f40a117d37ec27c1fc48047c014823
richard-burhans
parents: 25
diff changeset
215 <param name="rnaseq" value="https://ftp.ncbi.nlm.nih.gov/genomes/TOOLS/EGAP/sample_data/Dermatophagoides_farinae_small/SRR8506572_1.gz https://ftp.ncbi.nlm.nih.gov/genomes/TOOLS/EGAP/sample_data/Dermatophagoides_farinae_small/SRR8506572_2.gz https://ftp.ncbi.nlm.nih.gov/genomes/TOOLS/EGAP/sample_data/Dermatophagoides_farinae_small/SRR9005248_1.gz https://ftp.ncbi.nlm.nih.gov/genomes/TOOLS/EGAP/sample_data/Dermatophagoides_farinae_small/SRR9005248_2.gz"/>
8ada50a892fa planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit f2b75ca7f0f40a117d37ec27c1fc48047c014823
richard-burhans
parents: 25
diff changeset
216 <expand macro="test_outputs"/>
9
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
217 </test>
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
218 <test expect_test_failure="true">
11
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
219 <param name="input_style" value="history"/>
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
220 <param name="yamlin" value="input.yaml"/>
29
8ada50a892fa planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit f2b75ca7f0f40a117d37ec27c1fc48047c014823
richard-burhans
parents: 25
diff changeset
221 <expand macro="test_outputs"/>
9
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
222 </test>
0
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
223 </tests>
9
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
224 <help><![CDATA[
0
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
225 Galaxy tool wrapping the Eukaryotic Genome Annotation Pipeline (EGAPx)
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
226 =================================================================================================
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
227
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
228 .. class:: warningmark
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
229
3
4420dd857c41 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 050f870384e004445d3dcfb56302b7894793bd23
richard-burhans
parents: 1
diff changeset
230 **Proof of concept: a hack to run a NF workflow inside a specialised Galaxy tool wrapper**
0
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
231
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
232 EGAPx is a big, complicated Nextflow workflow, challenging and costly to re-implement **properly**, requiring dozens of new tools and replicating a lot of
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
233 complicated *groovy* workflow logic.
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
234
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
235 It is also very new and in rapid development. Investing developer effort and keeping updated as EGAPx changes rapidly may be *inefficient of developer resources*.
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
236
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
237 This wrapper is designed to allow measuring how *inefficient* it is in terms of computing resource utilisation, in comparison to the developer effort
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
238 required to convert Nextflow DDL into tools and WF logic. Balancing these competing requirements is a fundamental Galaxy challenge.
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
239
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
240
3
4420dd857c41 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 050f870384e004445d3dcfb56302b7894793bd23
richard-burhans
parents: 1
diff changeset
241 EGAPx requires very substantial resources to run with real data. *132GB and 32 cores* are the minimum requirement; *256GB and 64 cores* are recommended.
0
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
242
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
243 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.
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
244
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
245 In this implementation, the user must supply a yaml configuration file as initial proof of concept.
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
246 History inputs and even a yaml editor might be provided in future.
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
247
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
248 The NF workflow to tool model tested here may be applicable to other NF workflows that take a single configuration yaml.
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
249
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
250 .. class:: warningmark
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
251
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
252 The computational resource cost of typing the wrong SRA identifiers into a tool form is potentially enormous with this tool!
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
253
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
254
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
255 Sample yaml configurations
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
256 ===========================
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
257
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
258 YAML sample configurations can be uploaded into your Galaxy history from the `EGAPx github repository <https://github.com/ncbi/egapx/tree/main/examples/>`_.
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
259 The simplest possible example is shown below - can be cut/paste into a history dataset in the upload tool.
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
260
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
261
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
262 *./examples/input_D_farinae_small.yaml* is shown below and can be cut and pasted into the upload form to create a yaml file.
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
263 RNA-seq data is provided as URI to the reads FASTA files.
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
264
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
265 input_D_farinae_small.yaml
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
266
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
267 ::
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
268
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
269 genome: https://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/020/809/275/GCF_020809275.1_ASM2080927v1/GCF_020809275.1_ASM2080927v1_genomic.fna.gz
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
270 taxid: 6954
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
271 reads:
1
e7091c5a8495 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 46dd51a84896294de21e1fb688b91817195edbca
richard-burhans
parents: 0
diff changeset
272 - https://ftp.ncbi.nlm.nih.gov/genomes/TOOLS/EGAP/sample_data/Dermatophagoides_farinae_small/SRR8506572.1
e7091c5a8495 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 46dd51a84896294de21e1fb688b91817195edbca
richard-burhans
parents: 0
diff changeset
273 - https://ftp.ncbi.nlm.nih.gov/genomes/TOOLS/EGAP/sample_data/Dermatophagoides_farinae_small/SRR8506572.2
e7091c5a8495 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 46dd51a84896294de21e1fb688b91817195edbca
richard-burhans
parents: 0
diff changeset
274 - https://ftp.ncbi.nlm.nih.gov/genomes/TOOLS/EGAP/sample_data/Dermatophagoides_farinae_small/SRR9005248.1
e7091c5a8495 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 46dd51a84896294de21e1fb688b91817195edbca
richard-burhans
parents: 0
diff changeset
275 - https://ftp.ncbi.nlm.nih.gov/genomes/TOOLS/EGAP/sample_data/Dermatophagoides_farinae_small/SRR9005248.2
0
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
276
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
277
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
278 input_Gavia_stellata.yaml
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
279
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
280 ::
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
281
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
282 genome: https://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/030/936/135/GCF_030936135.1_bGavSte3.hap2/GCF_030936135.1_bGavSte3.hap2_genomic.fna.gz
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
283 reads: txid37040[Organism] AND biomol_transcript[properties] NOT SRS024887[Accession]
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
284 taxid: 37040
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
285
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
286 input_C_longicornis.yaml
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
287
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
288 ::
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
289
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
290 genome: https://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/029//603/195/GCF_029603195.1_ASM2960319v2/GCF_029603195.1_ASM2960319v2_genomic.fna.gz
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
291 reads: txid2530218[Organism] AND biomol_transcript[properties] NOT SRS024887[Accession]
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
292 taxid: 2530218
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
293
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
294 Purpose
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
295 ========
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
296
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
297 **This is not intended for production**
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
298
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
299 Just a proof of concept.
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
300 It is possibly too inefficient to be useful although it may turn out not to be a problem if run on a dedicated workstation.
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
301 At least the efficiency can now be more easily estimated.
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
302
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
303 This tool is not recommended for public deployment because of the resource demands.
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
304
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
305 EGAPx Overview
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
306 ===============
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
307
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
308 .. image:: $PATH_TO_IMAGES/Pipeline_sm_ncRNA_CAGE_80pct.png
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
309
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
310 **Warning:**
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
311 The current version is an alpha release with limited features and organism scope to collect initial feedback on execution. Outputs are not yet complete and not intended for production use. Please open a GitHub [Issue](https://github.com/ncbi/egapx/issues) if you encounter any problems with EGAPx. You can also write to cgr@nlm.nih.gov to give us your feedback or if you have any questions.
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
312
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
313 EGAPx is the publicly accessible version of the updated NCBI [Eukaryotic Genome Annotation Pipeline](https://www.ncbi.nlm.nih.gov/genome/annotation_euk/process/).
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
314
11
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
315 EGAPx takes an assembly FASTA file, a taxid of the organism, and RNA-seq data. Based on the taxid, EGAPx will pick protein sets and HMM models. The pipeline runs `miniprot` to align protein sequences, and `STAR` to align RNA-seq to the assembly. Protein alignments and RNA-seq read alignments are then passed to `Gnomon` for gene prediction. In the first step of `Gnomon`, the short alignments are chained together into putative gene models.
0
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
316 In the second step, these predictions are further supplemented by *ab-initio* predictions based on HMM models. The final annotation for the input assembly is produced as a `gff` file.
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
317
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
318 **Security Notice:**
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
319
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
320 EGAPx has dependencies in and outside of its execution path that include several thousand files from the [NCBI C++ toolkit](https://www.ncbi.nlm.nih.gov/toolkit), and more than a million total lines of code. Static Application Security Testing has shown a small number of verified buffer overrun security vulnerabilities. Users should consult with their organizational security team on risk and if there is concern, consider mitigating options like running via VM or cloud instance.
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
321
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
322
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
323 *To specify an array of NCBI SRA datasets in yaml*
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
324
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
325 ::
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
326
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
327 reads:
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
328 - SRR8506572
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
329 - SRR9005248
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
330
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
331
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
332 *To specify an SRA entrez query*
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
333
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
334 ::
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
335
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
336 reads: 'txid6954[Organism] AND biomol_transcript[properties] NOT SRS024887[Accession] AND (SRR8506572[Accession] OR SRR9005248[Accession] )'
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
337
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
338
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
339 **Note:** Both the above examples will have more RNA-seq data than the `input_D_farinae_small.yaml` example. To make sure the entrez query does not produce a large number of SRA runs, please run it first at the [NCBI SRA page](https://www.ncbi.nlm.nih.gov/sra). If there are too many SRA runs, then select a few of them and list it in the input yaml.
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
340
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
341 Output
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
342 =======
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
343
25
a77f693df58c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 42691bb143bd1ff7a13b0307d96ccb0fbf3747ca
richard-burhans
parents: 18
diff changeset
344 EGAPx output will appear as a collection in the user history. The main annotation file is called *complete.genomic.gff*.
0
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
345
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
346 ::
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
347
25
a77f693df58c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 42691bb143bd1ff7a13b0307d96ccb0fbf3747ca
richard-burhans
parents: 18
diff changeset
348 complete.genomic.gff
0
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
349 annot_builder_output
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
350 nextflow.log
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
351 run.report.html
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
352 run.timeline.html
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
353 run.trace.txt
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
354 run_params.yaml
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
355
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
356
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
357 The *nextflow.log* is the log file that captures all the process information and their work directories. ``run_params.yaml`` has all the parameters that were used in the EGAPx run. More information about the process time and resources can be found in the other run* files.
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
358
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
359 ## Intermediate files
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
360
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
361 In the log, each line denotes the process that completed in the workflow. The first column (_e.g._ `[96/621c4b]`) is the subdirectory where the intermediate output files and logs are found for the process in the same line, _i.e._, `egapx:miniprot:run_miniprot`. To see the intermediate files for that process, you can go to the work directory path that you had supplied and traverse to the subdirectory `96/621c4b`:
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
362
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
363 ::
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
364
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
365 $ aws s3 ls s3://temp_datapath/D_farinae/96/
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
366 PRE 06834b76c8d7ceb8c97d2ccf75cda4/
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
367 PRE 621c4ba4e6e87a4d869c696fe50034/
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
368 $ aws s3 ls s3://temp_datapath/D_farinae/96/621c4ba4e6e87a4d869c696fe50034/
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
369 PRE output/
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
370 2024-03-27 11:19:18 0
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
371 2024-03-27 11:19:28 6 .command.begin
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
372 2024-03-27 11:20:24 762 .command.err
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
373 2024-03-27 11:20:26 762 .command.log
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
374 2024-03-27 11:20:23 0 .command.out
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
375 2024-03-27 11:19:18 13103 .command.run
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
376 2024-03-27 11:19:18 129 .command.sh
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
377 2024-03-27 11:20:24 276 .command.trace
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
378 2024-03-27 11:20:25 1 .exitcode
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
379 $ aws s3 ls s3://temp_datapath/D_farinae/96/621c4ba4e6e87a4d869c696fe50034/output/
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
380 2024-03-27 11:20:24 17127134 aligns.paf
9
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
381 ]]></help>
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
382 <expand macro="citations"/>
11
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
383 <expand macro="creators"/>
0
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
384 </tool>