comparison data_manager/homer_genome_preparse.xml @ 0:e6a2110ac3b9 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_homer_preparse commit e49d856e0181edc6120220a1b819cba2466a4289"
author iuc
date Sun, 08 Aug 2021 11:01:47 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:e6a2110ac3b9
1 <tool id="homer_genome_preparse_data_manager" name="Homer genome preparse" tool_type="manage_data" version="@IDX_VERSION@" profile="20.05">
2 <requirements>
3 <requirement type="package" version="@IDX_VERSION@">homer</requirement>
4 <requirement type="package" version="3.9">python</requirement>
5 </requirements>
6 <macros>
7 <token name="@IDX_VERSION@">4.11</token>
8 </macros>
9 <command detect_errors="exit_code"><![CDATA[
10 python '$__tool_directory__/homer_genome_preparse.py'
11 '${out_file}'
12 --fasta_filename '${all_fasta_source.fields.path}'
13 --fasta_dbkey '${all_fasta_source.fields.dbkey}'
14 --fasta_description '${all_fasta_source.fields.name}'
15 ${mask}
16 --size '${size}'
17 --index_version '@IDX_VERSION@'
18 --data_table_name homer_preparse
19 ]]></command>
20 <inputs>
21 <param name="all_fasta_source" type="select" label="Source FASTA Sequence">
22 <options from_data_table="all_fasta"/>
23 </param>
24 <param name="sequence_name" type="text" value="" label="Name of sequence" />
25 <param name="sequence_id" type="text" value="" label="ID for sequence" />
26 <param name="mask" type="boolean" truevalue="--mask" falsevalue="" checked="False" label="mask repeats/lower case sequence" />
27 <param name="size" type="integer" value="200" min="0" label="fragment size to use for motif finding" />
28 </inputs>
29 <outputs>
30 <data name="out_file" format="data_manager_json"/>
31 </outputs>
32 <tests>
33 <test>
34 <param name="all_fasta_source" value="phiX174"/>
35 <output name="out_file" >
36 <assert_contents>
37 <has_text text="{&quot;data_tables&quot;: {&quot;homer_preparse&quot;: [{&quot;dbkey&quot;: &quot;phiX174&quot;, &quot;mask&quot;: &quot;False&quot;, &quot;name&quot;: &quot;phiX174 (200bp)&quot;, &quot;path&quot;: &quot;phiX174_200&quot;, &quot;path_fasta&quot;:" />
38 <has_text text="test-data/phiX174.fasta&quot;, &quot;size&quot;: &quot;200&quot;, &quot;value&quot;: &quot;phiX174_200&quot;, &quot;version&quot;: &quot;4.11&quot;}]}}" />
39 </assert_contents>
40 </output>
41 </test>
42 <test>
43 <param name="all_fasta_source" value="phiX174"/>
44 <param name="mask" value="True"/>
45 <param name="size" value="100"/>
46 <output name="out_file" >
47 <assert_contents>
48 <has_text text="{&quot;data_tables&quot;: {&quot;homer_preparse&quot;: [{&quot;dbkey&quot;: &quot;phiX174&quot;, &quot;mask&quot;: &quot;True&quot;, &quot;name&quot;: &quot;phiX174 masked (100bp)&quot;, &quot;path&quot;: &quot;phiX174r_100&quot;, &quot;path_fasta&quot;:" />
49 <has_text text="test-data/phiX174.fasta&quot;, &quot;size&quot;: &quot;100&quot;, &quot;value&quot;: &quot;phiX174r_100&quot;, &quot;version&quot;: &quot;4.11&quot;}]}}" />
50 </assert_contents>
51 </output>
52 </test>
53 </tests>
54
55 <help>
56 .. class:: infomark
57
58 **Notice:** If you leave name, description, or id blank, it will be generated automatically.
59 </help>
60 </tool>