comparison segalign.xml @ 8:150de8a3954a draft

planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 11132ef8b4103731b6f5860ea736bf332a06e303
author richard-burhans
date Tue, 09 Jul 2024 17:37:53 +0000
parents 6c95c380bfa7
children 08e987868f0f
comparison
equal deleted inserted replaced
7:39c21be8f8b9 8:150de8a3954a
12 <import>system_options.xml</import> 12 <import>system_options.xml</import>
13 </macros> 13 </macros>
14 <expand macro="edam_ontology"/> 14 <expand macro="edam_ontology"/>
15 <expand macro="requirements"/> 15 <expand macro="requirements"/>
16 <required_files> 16 <required_files>
17 <include path="diagonal_partition.py"/>
18 <include path="lastz-cmd.ini"/> 17 <include path="lastz-cmd.ini"/>
19 <include path="package_output.py"/> 18 <include path="package_output.py"/>
20 <include path="run_segalign_diagonal_partition"/> 19 <include path="runner.py"/>
21 </required_files> 20 </required_files>
22 <command detect_errors="exit_code"><![CDATA[ 21 <command detect_errors="exit_code"><![CDATA[
23 ## 22 ##
24 ## https://www.gnu.org/software/coreutils/manual/html_node/nproc-invocation.html 23 ## https://www.gnu.org/software/coreutils/manual/html_node/nproc-invocation.html
25 ## 24 ##
36 #if str($mode.mode_selector) == "segalign" 35 #if str($mode.mode_selector) == "segalign"
37 #if str($mode.diagonal_partition_options.diagonal_partition) == "true" 36 #if str($mode.diagonal_partition_options.diagonal_partition) == "true"
38 #set $segalign_mode = "segalign_diagonal_partition" 37 #set $segalign_mode = "segalign_diagonal_partition"
39 ## explicitly calling bash to bypass a pulsar bug 38 ## explicitly calling bash to bypass a pulsar bug
40 ## https://github.com/galaxyproject/pulsar/issues/341 39 ## https://github.com/galaxyproject/pulsar/issues/341
41 bash '$__tool_directory__/run_segalign_diagonal_partition' 40 bash '$__tool_directory__/runner.py'
41 --output-type tarball
42 --output-filename fake
43 --diagonal-partition
44 --num-cpu \${GALAXY_SLOTS:-2}
42 --tool_directory '$__tool_directory__' 45 --tool_directory '$__tool_directory__'
43 --max_segments '$mode.diagonal_partition_options.max_segments'
44 #else 46 #else
45 #set $segalign_mode = "segalign" 47 #set $segalign_mode = "segalign"
46 run_segalign 48 bash '$__tool_directory__/runner.py'
49 --output-type output
50 --output-filename foo.maf
51 --num-cpu \${GALAXY_SLOTS:-2}
52 --tool_directory '$__tool_directory__'
47 #end if 53 #end if
48 '$mode.target' 54 '$mode.target'
49 '$mode.query' 55 '$mode.query'
50 #else if str($mode.mode_selector) == "segalign_repeat_masker" 56 #else if str($mode.mode_selector) == "segalign_repeat_masker"
51 #set $segalign_mode = "segalign_repeat_masker" 57 #set $segalign_mode = "segalign_repeat_masker"
185 <expand macro="segalign_output_options"/> 191 <expand macro="segalign_output_options"/>
186 </expand> 192 </expand>
187 <expand macro="system_options"/> 193 <expand macro="system_options"/>
188 <section name="diagonal_partition_options" expanded="false" title="Diagonal Partition Options"> 194 <section name="diagonal_partition_options" expanded="false" title="Diagonal Partition Options">
189 <param argument="--diagonal_partition" type="boolean" value="false" label="Enable diagonal partition optimization"/> 195 <param argument="--diagonal_partition" type="boolean" value="false" label="Enable diagonal partition optimization"/>
190 <param argument="--max_segments" type="integer" value="20000" label="Max segments"/>
191 </section> 196 </section>
192 </when> 197 </when>
193 <when value="segalign_repeat_masker"> 198 <when value="segalign_repeat_masker">
194 <param name="seq_file" type="data" format="fasta,fasta.gz" label="Sequence file in FASTA format"/> 199 <param name="seq_file" type="data" format="fasta,fasta.gz" label="Sequence file in FASTA format"/>
195 <expand macro="sequence_options"> 200 <expand macro="sequence_options">