annotate ncbi_egapx.xml @ 12:649483462da3 draft

planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit cc28ee834f74de99d89dd30baeb7ad54e699649e
author richard-burhans
date Thu, 14 Nov 2024 16:32:29 +0000
parents 5bec47dfe99a
children b608f6329ba7
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[
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
9 #if str($cond_input_style.input_style) == "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
10 #set yamlconfig = $egapx_config
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
11 #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
12 #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
13 #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
14 ## 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
15 ## - 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
16 ## - 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
17 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
18 ## 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
19 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
20 ## run EGAPx
4
539ea4dee35a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit f47ba0b127d52901402fe9f830a0095c6f8fa36a
richard-burhans
parents: 3
diff changeset
21 python3 /galaxy/egapx/ui/egapx.py '$yamlconfig' -e galaxy -o 'egapx_out'
0
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
22 ]]></command>
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
23 <configfiles>
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
24 <configfile name="egapx_config"><![CDATA[
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
25 #if str($cond_input_style.input_style) == "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
26 # 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
27 #if str($reference_genome.genome_type_select) == "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
28 #set genome_value = $reference_genome.genome
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
29 #elif str($reference_genome.genome_type_select) == "indexed"
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
30 #set genome_value = $reference_genome.genome.fields.path
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
31 #else
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
32 #set genome_value = $reference_genome.uri
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
33 #end if
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
34 genome: $genome_value
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
35 taxid: $taxid
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
36 #if str($condrnaseq.rna_type_select) == "list"
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
37 #set $reads_values = $rnaseq.split()
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
38 #else
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
39 #set $reads_values = $rnaseq
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
40 #end if
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
41 reads:
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
42 #for r in [x.strip() for x in $reads_values]
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
43 - $r
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 #end for
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
45 #if str($proteins) != "None"
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
46 proteins: $proteins
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 #end if
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 #for row in $xtra.strip().split("\n")
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 $row
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
50 #end for
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 #end if
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
52 ]]></configfile>
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 </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
54 <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
55 <conditional name="cond_input_style">
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
56 <param name="input_style" type="select" label="Fill in a tool form or use an existing yaml configuration from the current history?"
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
57 help="Use the tool form to select inputs from the history, or use a pre-prepared yaml file.">
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
58 <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
59 <option value="history">Use a pre-prepared yaml egapx configuration</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
60 </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
61 <when value="fillform">
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
62 <conditional name="reference_genome">
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
63 <param name="genome_type_select" type="select" label="Reference genome source for mapping supplied RNA-seq reads"
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
64 help="Select a built in, history or remote URI for the reference genome FASTA">
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
65 <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
66 <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
67 <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
68 </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
69 <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
70 <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
71 </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
72 <when value="indexed">
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
73 <param name="genome" type="select" label="Select a built in reference genome or custom genome"
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
74 help="If not listed, add a custom genome or use a reference genome from the history">
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
75 <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
76 <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
77 </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
78 </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
79 </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
80 <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
81 <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
82 </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
83 </conditional>
12
649483462da3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit cc28ee834f74de99d89dd30baeb7ad54e699649e
richard-burhans
parents: 11
diff changeset
84 <param name="taxid" type="integer" min="0" value="0" label="NCBI Taxon ID" help="Used to identify the HMM model files needed"/>
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
85 <conditional name="condrnaseq">
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
86 <param name="rna_type_select" type="select" label="RNA sequence data source"
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
87 help="Select RNAseq input data from history or input a list of SRA identifiers or remote 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
88 <option value="list" selected="True">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
89 <option value="history">Select one or more RNA-seq fastq datasets from the current history</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
90 </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
91 <when value="list">
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
92 <param name="rnaseq" type="text" area="true" label="List all required individual RNA-seq URI or SRA identifiers, separated by spaces or newlines"
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
93 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
94 <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
95 </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
96 </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
97 <when value="history">
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
98 <param name="rnaseq" type="data" format="fastqsanger,fastqsanger.gz" multiple="true" label="Select multiple RNA-seq fastqsanger inputs from the current history"
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
99 help="All selected rna-seq fastqsanger will be added to the yaml for egapx configuration"/>
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
100 </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
101 </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
102 <param name="proteins" type="data" format="fasta,fasta.gz" optional="true" label="Select a protein set"/>
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
103 <param name="xtra" type="text" area="true" label="Additional yaml to append to the egapx.yaml configuration"
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
104 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
105 <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
106 <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
107 </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
108 </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
109 </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
110 <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
111 <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
112 </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
113 </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
114 </inputs>
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
115 <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
116 <data name="output" format="gff" label="EGAPx annotation for ${on_string}" from_work_dir="egapx_out/accept.gff"/>
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
117 <collection name="nextflow_stats" type="list" label="EGAPx nextflow stats for ${on_string}">
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
118 <data name="nf_log" format="txt" label="Nextflow execution log" from_work_dir="egapx_out/nextflow.log"/>
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
119 <data name="nf_report" format="html" label="Nextflow execution report" from_work_dir="egapx_out/run.report.html"/>
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
120 <data name="nf_trace" format="tabular" label="Nextflow trace file" from_work_dir="egapx_out/run.trace.txt"/>
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
121 <data name="nf_timeline" format="html" label="Nextflow execution timeline" from_work_dir="egapx_out/run.timeline.html"/>
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 <data name="nf_params" format="yaml" label="Nextflow run parameters" from_work_dir="egapx_out/run_params.yaml"/>
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
123 </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
124 </outputs>
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
125 <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
126 <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
127 <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
128 <param name="taxid" value="6954"/>
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
129 <param name="genome_type_select" value="uri"/>
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 <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"/>
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
131 <param name="rna_type_select" value="list"/>
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 <param name="rnaseq" value="https://ftp.ncbi.nlm.nih.gov/genomes/TOOLS/EGAP/sample_data/Dermatophagoides_farinae_small/SRR8506572.1 https://ftp.ncbi.nlm.nih.gov/genomes/TOOLS/EGAP/sample_data/Dermatophagoides_farinae_small/SRR8506572.2 https://ftp.ncbi.nlm.nih.gov/genomes/TOOLS/EGAP/sample_data/Dermatophagoides_farinae_small/SRR9005248.1 https://ftp.ncbi.nlm.nih.gov/genomes/TOOLS/EGAP/sample_data/Dermatophagoides_farinae_small/SRR9005248.2"/>
5bec47dfe99a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 544ef29cd524d03b10fdc60769d5d0f2a93d3a67
richard-burhans
parents: 9
diff changeset
133 <param name="xtra" value="hmm: https://ftp.ncbi.nlm.nih.gov/genomes/TOOLS/EGAP/gnomon/hmm_parameters/6956.params&#10;tasks:&#10; star_wnode:&#10; star_wnode: -cpus-per-worker 4"/>
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
134 <output name="output"><assert_contents><has_size min="1"/></assert_contents></output>
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
135 <output_collection name="nextflow_stats" type="list">
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 <element name="nf_log"><assert_contents><has_size min="1"/></assert_contents></element>
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 <element name="nf_report"><assert_contents><has_size min="1"/></assert_contents></element>
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
138 <element name="nf_trace"><assert_contents><has_size min="1"/></assert_contents></element>
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 <element name="nf_timeline"><assert_contents><has_size min="1"/></assert_contents></element>
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 <element name="nf_params"><assert_contents><has_size min="1"/></assert_contents></element>
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 </output_collection>
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 </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
143 <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
144 <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
145 <param name="yamlin" value="input.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
146 <output name="output"><assert_contents><has_size min="1"/></assert_contents></output>
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 <output_collection name="nextflow_stats" type="list">
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
148 <element name="nf_log"><assert_contents><has_size min="1"/></assert_contents></element>
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
149 <element name="nf_report"><assert_contents><has_size min="1"/></assert_contents></element>
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
150 <element name="nf_trace"><assert_contents><has_size min="1"/></assert_contents></element>
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
151 <element name="nf_timeline"><assert_contents><has_size min="1"/></assert_contents></element>
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
152 <element name="nf_params"><assert_contents><has_size min="1"/></assert_contents></element>
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
153 </output_collection>
28ab345ebab3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 92ff2adad69b7a8a49d067e525a97f3ec25a275a
richard-burhans
parents: 7
diff changeset
154 </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
155 </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
156 <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
157 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
158 =================================================================================================
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
159
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
160 .. 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
161
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
162 **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
163
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
164 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
165 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
166
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
167 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
168
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
169 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
170 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
171
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
172
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
173 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
174
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
175 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
176
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
177 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
178 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
179
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
180 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
181
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
182 .. 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
183
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
184 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
185
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
186
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
187 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
188 ===========================
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
189
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
190 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
191 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
192
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
193
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
194 *./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
195 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
196
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
197 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
198
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
199 ::
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
200
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
201 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
202 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
203 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
204 - 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
205 - 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
206 - 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
207 - 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
208
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
209
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
210 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
211
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
212 ::
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
213
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
214 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
215 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
216 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
217
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
218 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
219
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
220 ::
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
221
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
222 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
223 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
224 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
225
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
226 Purpose
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
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
229 **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
230
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
231 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
232 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
233 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
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 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
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 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
238 ===============
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 .. 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
241
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
242 **Warning:**
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
243 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
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 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
246
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
247 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
248 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
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 **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
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 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
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 *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
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
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
259 reads:
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
260 - SRR8506572
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
261 - SRR9005248
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
262
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
263
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
264 *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
265
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 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
269
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
270
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
271 **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
272
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
273 Output
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
274 =======
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
275
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
276 EGAPx output will appear as a collection in the user history. The main annotation file is called *accept.gff*.
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 ::
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 accept.gff
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
281 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
282 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
283 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
284 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
285 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
286 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
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 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
290
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
291 ## 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
292
0ab743c8837f planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit bd7ba5efde8e6fc5104441896d628760b6c54aa0
richard-burhans
parents:
diff changeset
293 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
294
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 $ 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
298 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
299 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
300 $ 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
301 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
302 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
303 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
304 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
305 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
306 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
307 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
308 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
309 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
310 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
311 $ 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
312 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
313 ]]></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
314 <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
315 <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
316 </tool>