comparison ncbi_egapx.xml @ 16:d167f698d5e9 draft

planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit d5c4a9faa18df570d02ce208d301a160d8555f58
author richard-burhans
date Sat, 16 Nov 2024 14:48:29 +0000
parents b608f6329ba7
children e0de8669b340
comparison
equal deleted inserted replaced
15:815d401afcfe 16:d167f698d5e9
22 ]]></command> 22 ]]></command>
23 <configfiles> 23 <configfiles>
24 <configfile name="egapx_config"><![CDATA[ 24 <configfile name="egapx_config"><![CDATA[
25 #if str($cond_input_style.input_style) == "fillform" 25 #if str($cond_input_style.input_style) == "fillform"
26 # yaml generated by ncbi_egapx.xml 26 # yaml generated by ncbi_egapx.xml
27 #if str($reference_genome.genome_type_select) == "history" 27 #if str($cond_input_style.cond_genome_style.genome_style) == "history"
28 #set genome_value = $reference_genome.genome 28 #set genome_value = $cond_input_style.cond_genome_style.genome
29 #elif str($reference_genome.genome_type_select) == "indexed" 29 #elif str($cond_input_style.cond_genome_style.genome_style) == "indexed"
30 #set genome_value = $reference_genome.genome.fields.path 30 #set genome_value = $cond_input_style.cond_genome_style.genome.fields.path
31 #else 31 #else
32 #set genome_value = $reference_genome.uri 32 #set genome_value = $cond_input_style.cond_genome_style.uri
33 #end if 33 #end if
34 genome: $genome_value 34 genome: $genome_value
35 taxid: $taxid 35 taxid: $taxid
36 #if str($condrnaseq.rna_type_select) == "list" 36 #if str($cond_rnaseq_style.rnaseq_style) == "list"
37 #set $reads_values = $rnaseq.split() 37 #set $reads_values = $rnaseq.split()
38 #else 38 #else
39 #set $reads_values = $rnaseq 39 #set $reads_values = $rnaseq
40 #end if 40 #end if
41 reads: 41 reads:
57 help="Use the tool form to select inputs from the history, or use a pre-prepared yaml file."> 57 help="Use the tool form to select inputs from the history, or use a pre-prepared yaml file.">
58 <option value="fillform" selected="True">Provide configuration details for conversion into a configuration yaml</option> 58 <option value="fillform" selected="True">Provide configuration details for conversion into a configuration yaml</option>
59 <option value="history">Use a pre-prepared yaml egapx configuration</option> 59 <option value="history">Use a pre-prepared yaml egapx configuration</option>
60 </param> 60 </param>
61 <when value="fillform"> 61 <when value="fillform">
62 <conditional name="reference_genome"> 62 <conditional name="cond_genome_style">
63 <param name="genome_type_select" type="select" label="Reference genome source for mapping supplied RNA-seq reads" 63 <param name="genome_style" type="select" label="Reference genome source for mapping supplied RNA-seq reads"
64 help="Select a built in, history or remote URI for the reference genome FASTA"> 64 help="Select a built in, history or remote URI for the reference genome FASTA">
65 <option value="history" selected="True">Use a genome FASTA file from the current history</option> 65 <option value="history" selected="True">Use a genome FASTA file from the current history</option>
66 <option value="indexed">Use a Galaxy server built-in genome</option> 66 <option value="indexed">Use a Galaxy server built-in genome</option>
67 <option value="uri">Provide a remote web link URI ("https://...") pointing at the required genome reference FASTA file</option> 67 <option value="uri">Provide a remote web link URI ("https://...") pointing at the required genome reference FASTA file</option>
68 </param> 68 </param>
79 </when> 79 </when>
80 <when value="uri"> 80 <when value="uri">
81 <param name="uri" type="text" label="URI pointing to the reference genome FASTA file"/> 81 <param name="uri" type="text" label="URI pointing to the reference genome FASTA file"/>
82 </when> 82 </when>
83 </conditional> 83 </conditional>
84 <param name="taxid" type="integer" min="0" value="0" label="NCBI Taxon ID" help="Used to identify the HMM model files needed"/> 84
85 85 <param name="taxid" type="text" label="NCBI Taxon ID" help="Used to identify the HMM model files needed">
86 <conditional name="condrnaseq"> 86 <validator type="regex" message="Numeric">^[0-9]+$</validator>
87 <param name="rna_type_select" type="select" label="RNA sequence data source" 87 </param>
88
89 <conditional name="cond_rnaseq_style">
90 <param name="rnaseq_style" type="select" label="RNA sequence data source"
88 help="Select RNAseq input data from history or input a list of SRA identifiers or remote URI"> 91 help="Select RNAseq input data from history or input a list of SRA identifiers or remote URI">
89 <option value="list" selected="True">Type in a list of SRA identifiers and/or remote RNA-seq FASTA URI</option> 92 <option value="history" selected="True">Select one or more RNA-seq fastq datasets from the current history</option>
90 <option value="history">Select one or more RNA-seq fastq datasets from the current history</option> 93 <option value="list">Type in a list of SRA identifiers and/or remote RNA-seq FASTA URI</option>
91 </param> 94 </param>
95 <when value="history">
96 <param name="rnaseq" type="data" format="fastqsanger,fastqsanger.gz" multiple="true" label="Select multiple RNA-seq fastqsanger inputs from the current history"
97 help="All selected rna-seq fastqsanger will be added to the yaml for egapx configuration"/>
98 </when>
92 <when value="list"> 99 <when value="list">
93 <param name="rnaseq" type="text" area="true" label="List all required individual RNA-seq URI or SRA identifiers, separated by spaces or newlines" 100 <param name="rnaseq" type="text" area="true" label="List all required individual RNA-seq URI or SRA identifiers, separated by spaces or newlines"
94 help="Either a working URI for a RNA-seq FASTA, or a bare SRA identifier will work - can be mixed"> 101 help="Either a working URI for a RNA-seq FASTA, or a bare SRA identifier will work - can be mixed">
95 <validator type="empty_field"/> 102 <validator type="empty_field"/>
96 </param> 103 </param>
97 </when>
98 <when value="history">
99 <param name="rnaseq" type="data" format="fastqsanger,fastqsanger.gz" multiple="true" label="Select multiple RNA-seq fastqsanger inputs from the current history"
100 help="All selected rna-seq fastqsanger will be added to the yaml for egapx configuration"/>
101 </when> 104 </when>
102 </conditional> 105 </conditional>
103 <param name="proteins" type="data" format="fasta,fasta.gz" optional="true" label="Select a protein set"/> 106 <param name="proteins" type="data" format="fasta,fasta.gz" optional="true" label="Select a protein set"/>
104 <param name="xtra" type="text" area="true" label="Additional yaml to append to the egapx.yaml configuration" 107 <param name="xtra" type="text" area="true" label="Additional yaml to append to the egapx.yaml configuration"
105 help="Not normally needed but useful for testing additional configuration elements"> 108 help="Not normally needed but useful for testing additional configuration elements">
125 </outputs> 128 </outputs>
126 <tests> 129 <tests>
127 <test expect_test_failure="true"> 130 <test expect_test_failure="true">
128 <param name="input_style" value="fillform"/> 131 <param name="input_style" value="fillform"/>
129 <param name="taxid" value="6954"/> 132 <param name="taxid" value="6954"/>
130 <param name="genome_type_select" value="uri"/> 133 <param name="genome_style" value="uri"/>
131 <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"/> 134 <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"/>
132 <param name="rna_type_select" value="list"/> 135 <param name="rnaseq_style" value="list"/>
133 <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"/> 136 <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"/>
134 <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"/> 137 <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"/>
135 <output name="output"><assert_contents><has_size min="1"/></assert_contents></output> 138 <output name="output"><assert_contents><has_size min="1"/></assert_contents></output>
136 <output_collection name="nextflow_stats" type="list"> 139 <output_collection name="nextflow_stats" type="list">
137 <element name="nf_log"><assert_contents><has_size min="1"/></assert_contents></element> 140 <element name="nf_log"><assert_contents><has_size min="1"/></assert_contents></element>