Mercurial > repos > fubar > microsatbedfubar
diff microsatbed.xml @ 9:57867d1931d6 draft
planemo upload for repository https://github.com/fubar2/microsatbed commit 6e9d6a1dd5b8615dfa80b1b239e22b266c00a6dd
author | fubar |
---|---|
date | Tue, 13 Aug 2024 05:31:37 +0000 |
parents | 01c16e8fbc91 |
children | 43a8165cec3a |
line wrap: on
line diff
--- a/microsatbed.xml Tue Aug 13 04:50:47 2024 +0000 +++ b/microsatbed.xml Tue Aug 13 05:31:37 2024 +0000 @@ -1,5 +1,5 @@ -<tool id="microsatbedfubar" name="STR to bed" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="22.05"> +<tool id="microsatbed" name="STR to bed" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="22.05"> <description>Short Tandem Repeats to bed features from fasta</description> <macros> <token name="@TOOL_VERSION@">1.3.2</token> @@ -29,17 +29,17 @@ <version_command><![CDATA[python -c "import pytrf; from importlib.metadata import version; print(version('pytrf'))"]]></version_command> <command><![CDATA[ #if $mode_cond.mode == "NATIVE": - #if $reference_genome.genome_type_select == "history": - pytrf findstr -f '$mode_cond.outformat' -o '$bed' -r '$monomin' '$dimin' '$trimin' '$tetramin' '$pentamin' '$hexamin' '${reference_genome.fasta}' + #if str($reference_genome.genome_type_select) == "history": + pytrf findstr -f '$mode_cond.outformat' -o '$bed' -r '$monomin' '$dimin' '$trimin' '$tetramin' '$pentamin' '$hexamin' '${reference_genome.reffa}' #else: - pytrf findstr -f '$mode_cond.outformat' -o '$bed' -r '$monomin' '$dimin' '$trimin' '$tetramin' '$pentamin' '$hexamin' '${reference_genome.fasta.fields.path}' + pytrf findstr -f '$mode_cond.outformat' -o '$bed' -r '$monomin' '$dimin' '$trimin' '$tetramin' '$pentamin' '$hexamin' '${reference_genome.reffa.fields.path}' #end if #else: python '${__tool_directory__}/find_str.py' #if str($reference_genome.genome_type_select) == "history": - --fasta '${reference_genome.fasta}' + --fasta '${reference_genome.reffa}' #else: - --fasta '${reference_genome.fasta.fields.path}' + --fasta '${reference_genome.reffa.fields.path}' #end if --bed '$bed' #if $mode_cond.mode == "SPECIFIC": @@ -72,12 +72,12 @@ <option value="history" selected="True">Use any fasta file from the current history</option> </param> <when value="indexed"> - <param name="fasta" type="select" label="Choose a built-in genome" help="If the genome you need is not on the list, upload it and select it as a current history fasta" > + <param name="reffa" type="select" label="Choose a built-in genome" help="If the genome you need is not on the list, upload it and select it as a current history fasta" > <options from_data_table="all_fasta"/> </param> </when> <when value="history"> - <param name="fasta" type="data" format="fasta,fasta.gz" label="Choose a fasta file from the current history" /> + <param name="reffa" type="data" format="fasta,fasta.gz" label="Choose a fasta file from the current history" /> </when> </conditional> <conditional name="mode_cond"> @@ -118,7 +118,7 @@ <param name="hexamin" type="integer" min="2" value="2" label="Minimum repeats required for hexamers"/> </inputs> <outputs> - <data name="bed" format="bed" label="STR from $fasta.element_identifier"> + <data name="bed" format="bed" label="STR"> <change_format> <when input="mode_cond.outformat" value="gff" format="gff"/> <when input="mode_cond.outformat" value="csv" format="csv"/> @@ -132,7 +132,7 @@ <test expect_num_outputs="1"> <conditional name="reference_genome"> <param name="genome_type_select" value="history"/> - <param name="fasta" value="humsamp.fa"/> + <param name="reffa" value="humsamp.fa"/> </conditional> <conditional name="mode_cond"> <param name="mode" value="ALL"/> @@ -156,7 +156,7 @@ <test expect_num_outputs="1"> <conditional name="reference_genome"> <param name="genome_type_select" value="history"/> - <param name="fasta" value="humsamp.fa"/> + <param name="reffa" value="humsamp.fa"/> </conditional> <conditional name="mode_cond"> <param name="mode" value="SPECIFIC"/> @@ -181,7 +181,7 @@ <test expect_num_outputs="1"> <conditional name="reference_genome"> <param name="genome_type_select" value="history"/> - <param name="fasta" value="mouse.fa"/> + <param name="reffa" value="mouse.fa"/> </conditional> <conditional name="mode_cond"> <param name="mode" value="NATIVE"/> @@ -204,8 +204,8 @@ </test> <test expect_num_outputs="1"> <conditional name="reference_genome"> - <param name="genome_type_select" value="history"/> - <param name="fasta" value="humsamp.fa"/> + <param name="genome_type_select" value="indexed"/> + <param name="reffa" value="hgtest"/> </conditional> <conditional name="mode_cond"> <param name="mode" value="SPECIFICBW"/>