comparison ncbi_egapx.xml @ 41:d129c3d0e920 draft default tip

planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/ncbi_egapx commit 8278322cb9db499c593669d2bb8b740024ecf5dc
author richard-burhans
date Mon, 28 Jul 2025 14:35:28 +0000
parents b095c69eab5b
children
comparison
equal deleted inserted replaced
40:b095c69eab5b 41:d129c3d0e920
75 ## - nextflow conda environment 75 ## - nextflow conda environment
76 ## - EGPAx python virtual environment 76 ## - EGPAx python virtual environment
77 source /galaxy/env.bash && 77 source /galaxy/env.bash &&
78 python3 /galaxy/scripts/galaxy-resource-config.py && 78 python3 /galaxy/scripts/galaxy-resource-config.py &&
79 ## run EGAPx 79 ## run EGAPx
80 python3 /galaxy/egapx/ui/egapx.py '$yamlconfig' -e galaxy -o 'egapx_out' && 80 python3 /galaxy/egapx/ui/egapx.py
81 #if $developer.query_limit.query_limit_selector == "false"
82 --force
83 #end if
84 '$yamlconfig' -e galaxy -o 'egapx_out' &&
81 ## hack to support 0.2-alpha 85 ## hack to support 0.2-alpha
82 if [ -e egapx_out/accept.gff ]; then ln -s accept.gff egapx_out/complete.genomic.gff; fi 86 if [ -e egapx_out/accept.gff ]; then ln -s accept.gff egapx_out/complete.genomic.gff; fi
83 #if $developer.collect_star_bams 87 #if $developer.collect_star_bams
84 && bash '$__tool_directory__/get-bams.bash' 88 && bash '$__tool_directory__/get-bams.bash'
85 #end if 89 #end if
86 ]]></command> 90 ]]></command>
87 <environment_variables> 91 <environment_variables>
88 <environment_variable name="NXF_DEBUG">3</environment_variable> 92 <environment_variable name="NXF_DEBUG">3</environment_variable>
93 <environment_variable name="EGAPX_RNASEQ_QUERY_LIMIT">$getVar('developer.query_limit.rnaseq_query_limit', '20')</environment_variable>
89 </environment_variables> 94 </environment_variables>
90 <configfiles> 95 <configfiles>
91 <configfile name="short_reads_config"><![CDATA[#slurp 96 <configfile name="short_reads_config"><![CDATA[#slurp
92 #if $cond_input_style.input_style == "fillform" and $cond_input_style.cond_short_reads_style.short_reads_style == "history" 97 #if $cond_input_style.input_style == "fillform" and $cond_input_style.cond_short_reads_style.short_reads_style == "history"
93 #import re 98 #import re
260 <param name="yamlin" type="data" format="yaml" label="egapx configuration yaml file to pass to Nextflow"/> 265 <param name="yamlin" type="data" format="yaml" label="egapx configuration yaml file to pass to Nextflow"/>
261 </when> 266 </when>
262 </conditional> 267 </conditional>
263 <section name="developer" title="Developer options" expanded="false"> 268 <section name="developer" title="Developer options" expanded="false">
264 <param name="collect_star_bams" type="boolean" checked="false" label="Collect BAM output from STAR"/> 269 <param name="collect_star_bams" type="boolean" checked="false" label="Collect BAM output from STAR"/>
270 <conditional name="query_limit">
271 <param name="query_limit_selector" type="select" label="Enforce SRA query limit">
272 <option value="true" selected="True">Yes</option>
273 <option value="false">No</option>
274 </param>
275 <when value="true">
276 <param name="rnaseq_query_limit" type="integer" min="0" value="20" label="SRA query limit"/>
277 </when>
278 <when value="false"/>
279 </conditional>
265 </section> 280 </section>
266 </inputs> 281 </inputs>
267 <outputs> 282 <outputs>
268 <data name="complete_genomic_gff" format="gff" label="Final annotation for ${on_string}" from_work_dir="egapx_out/complete.genomic.gff"/> 283 <data name="complete_genomic_gff" format="gff" label="Final annotation for ${on_string}" from_work_dir="egapx_out/complete.genomic.gff"/>
269 <collection name="output_files" type="list" label="EGAPx output for ${on_string}"> 284 <collection name="output_files" type="list" label="EGAPx output for ${on_string}">
297 <discover_datasets pattern="(?:.+/)?bam\.[0-9A-Za-z]{10}/(?P&lt;designation&gt;.+)\.bam" format="bam" directory="egapx_out" recurse="true" match_relative_path="true"/> 312 <discover_datasets pattern="(?:.+/)?bam\.[0-9A-Za-z]{10}/(?P&lt;designation&gt;.+)\.bam" format="bam" directory="egapx_out" recurse="true" match_relative_path="true"/>
298 <filter>developer['collect_star_bams']</filter> 313 <filter>developer['collect_star_bams']</filter>
299 </collection> 314 </collection>
300 </outputs> 315 </outputs>
301 <tests> 316 <tests>
302 <test expect_num_outputs="27" expect_test_failure="true"> 317 <test expect_num_outputs="27" expect_test_failure="false">
303 <conditional name="cond_input_style"> 318 <conditional name="cond_input_style">
304 <param name="input_style" value="fillform"/> 319 <param name="input_style" value="fillform"/>
305 <conditional name="cond_genome_style"> 320 <conditional name="cond_genome_style">
306 <param name="genome_style" value="uri"/> 321 <param name="genome_style" value="uri"/>
307 <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"/> 322 <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"/>
312 <param name="short_reads" value="https://ftp.ncbi.nlm.nih.gov/genomes/TOOLS/EGAP/sample_data/Dermatophagoides_farinae_small/SRR8506572_1.gz https://ftp.ncbi.nlm.nih.gov/genomes/TOOLS/EGAP/sample_data/Dermatophagoides_farinae_small/SRR8506572_2.gz https://ftp.ncbi.nlm.nih.gov/genomes/TOOLS/EGAP/sample_data/Dermatophagoides_farinae_small/SRR9005248_1.gz https://ftp.ncbi.nlm.nih.gov/genomes/TOOLS/EGAP/sample_data/Dermatophagoides_farinae_small/SRR9005248_2.gz"/> 327 <param name="short_reads" value="https://ftp.ncbi.nlm.nih.gov/genomes/TOOLS/EGAP/sample_data/Dermatophagoides_farinae_small/SRR8506572_1.gz https://ftp.ncbi.nlm.nih.gov/genomes/TOOLS/EGAP/sample_data/Dermatophagoides_farinae_small/SRR8506572_2.gz https://ftp.ncbi.nlm.nih.gov/genomes/TOOLS/EGAP/sample_data/Dermatophagoides_farinae_small/SRR9005248_1.gz https://ftp.ncbi.nlm.nih.gov/genomes/TOOLS/EGAP/sample_data/Dermatophagoides_farinae_small/SRR9005248_2.gz"/>
313 </conditional> 328 </conditional>
314 </conditional> 329 </conditional>
315 <section name="developer"> 330 <section name="developer">
316 <param name="collect_star_bams" value="true"/> 331 <param name="collect_star_bams" value="true"/>
332 <conditional name="query_limit">
333 <param name="query_limit_selector" value="true"/>
334 <param name="rnaseq_query_limit" value="20"/>
335 </conditional>
317 </section> 336 </section>
318 <expand macro="test_outputs"/> 337 <expand macro="test_outputs"/>
319 </test> 338 </test>
320 <test expect_num_outputs="27" expect_test_failure="true"> 339 <test expect_num_outputs="27" expect_test_failure="false">
321 <conditional name="cond_input_style"> 340 <conditional name="cond_input_style">
322 <param name="input_style" value="history"/> 341 <param name="input_style" value="history"/>
323 <param name="yamlin" value="input.yaml"/> 342 <param name="yamlin" value="input.yaml"/>
324 </conditional> 343 </conditional>
325 <section name="developer"> 344 <section name="developer">
326 <param name="collect_star_bams" value="true"/> 345 <param name="collect_star_bams" value="true"/>
346 <conditional name="query_limit">
347 <param name="query_limit_selector" value="true"/>
348 <param name="rnaseq_query_limit" value="20"/>
349 </conditional>
327 </section> 350 </section>
328 <expand macro="test_outputs"/> 351 <expand macro="test_outputs"/>
329 </test> 352 </test>
330 </tests> 353 </tests>
331 <help><![CDATA[ 354 <help><![CDATA[