comparison microsatbed.xml @ 30:53c4f91c6031 draft default tip

planemo upload for repository https://github.com/fubar2/microsatbed commit 80a8c0db54b6e2cab9dfe7178b1e5b3b39592f2c
author fubar
date Sat, 20 Jul 2024 01:44:09 +0000
parents efc775ab30fe
children
comparison
equal deleted inserted replaced
29:efc775ab30fe 30:53c4f91c6031
1 <tool name="STR to bed" id="microsatbed" version="1.3.2" profile="22.05"> 1 <tool name="STR to bed" id="microsatbed" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="22.05">
2 <description>Short Tandem Repeats to bed features from fasta</description> 2 <description>Short Tandem Repeats to bed features from fasta</description>
3 <macros>
4 <token name="@TOOL_VERSION@">1.3.2</token>
5 <token name="@VERSION_SUFFIX@">0</token>
6 <token name="@PYFASTX_VERSION@">2.1.0</token>
7 <token name="@PYTHON_VERSION@">3.12.3</token>
8 <token name="@UCSC_VERSION@">455</token>
9 </macros>
3 <requirements> 10 <requirements>
4 <requirement version="3.12.3" type="package">python</requirement> 11 <requirement version="@PYTHON_VERSION@" type="package">python</requirement>
5 <requirement version="2.1.0" type="package">pyfastx</requirement> 12 <requirement version="@PYFASTX_VERSION@" type="package">pyfastx</requirement>
6 <requirement version="1.3.2" type="package">pytrf</requirement> 13 <requirement version="@TOOL_VERSION@" type="package">pytrf</requirement>
7 <requirement version="455" type="package">ucsc-bedgraphtobigwig</requirement> 14 <requirement version="@UCSC_VERSION@" type="package">ucsc-bedgraphtobigwig</requirement>
8 15
9 </requirements> 16 </requirements>
10 <required_files> 17 <required_files>
11 <include path="find_str.py"/> 18 <include path="find_str.py"/>
12 </required_files> 19 </required_files>
13 <version_command><![CDATA[python -c "import pytrf; from importlib.metadata import version; print(version('pytrf'))"]]></version_command> 20 <version_command><![CDATA[python -c "import pytrf; from importlib.metadata import version; print(version('pytrf'))"]]></version_command>
14 <command><![CDATA[ 21 <command><![CDATA[
15 #if $mode_cond.mode == "NATIVE": 22 #if $mode_cond.mode == "NATIVE":
16 #if $reference_genome.genome_type_select == "history": 23 #if $reference_genome.genome_type_select == "history":
17 pytrf findstr -f '$mode_cond.outformat' -o $bed -r $monomin $dimin $trimin $tetramin $pentamin $hexamin '${reference_genome.fasta}' 24 pytrf findstr -f '$mode_cond.outformat' -o '$bed' -r '$monomin' '$dimin' '$trimin' '$tetramin' '$pentamin' '$hexamin' '${reference_genome.fasta}'
18 #else: 25 #else:
19 pytrf findstr -f '$mode_cond.outformat' -o $bed -r $monomin $dimin $trimin $tetramin $pentamin $hexamin '${reference_genome.fasta.fields.path}' 26 pytrf findstr -f '$mode_cond.outformat' -o '$bed' -r '$monomin' '$dimin' '$trimin' '$tetramin' '$pentamin' '$hexamin' '${reference_genome.fasta.fields.path}'
20 #end if 27 #end if
21 #else: 28 #else:
22 python '${__tool_directory__}/find_str.py' 29 python '${__tool_directory__}/find_str.py'
23 #if $reference_genome.genome_type_select == "history": 30 #if $reference_genome.genome_type_select == "history":
24 --fasta '${reference_genome.fasta}' 31 --fasta '${reference_genome.fasta}'
127 <option value="csv">Comma separated values</option> 134 <option value="csv">Comma separated values</option>
128 <option value="tsv" selected="true">Tab separated values</option> 135 <option value="tsv" selected="true">Tab separated values</option>
129 </param> 136 </param>
130 </when> 137 </when>
131 </conditional> 138 </conditional>
132 <param type="integer" min="2" name="monomin" value="10"/> 139 <param type="integer" label="Minimum repeats required for monomers" min="2" name="monomin" value="10"/>
133 <param type="integer" min="1" name="dimin" value="3"/> 140 <param type="integer" label="Minimum repeats required for dimers" min="1" name="dimin" value="3"/>
134 <param type="integer" min="2" name="trimin" value="2"/> 141 <param type="integer" label="Minimum repeats required for trimers" min="2" name="trimin" value="2"/>
135 <param type="integer" min="2" name="tetramin" value="2"/> 142 <param type="integer" label="Minimum repeats required for tetramers" min="2" name="tetramin" value="2"/>
136 <param type="integer" min="2" name="pentamin" value="2"/> 143 <param type="integer" label="Minimum repeats required for pentamers" min="2" name="pentamin" value="2"/>
137 <param type="integer" min="2" name="hexamin" value="2"/> 144 <param type="integer" label="Minimum repeats required for hexamers" min="2" name="hexamin" value="2"/>
138 </inputs> 145 </inputs>
139 <outputs> 146 <outputs>
140 <data name="bed" format="bed" label="STR from $fasta.element_identifier" hidden="false"> 147 <data name="bed" format="bed" label="STR from $fasta.element_identifier" hidden="false">
141 <change_format> 148 <change_format>
142 <when input="mode_cond.outformat" value="gff" format="gff" /> 149 <when input="mode_cond.outformat" value="gff" format="gff" />