Mercurial > repos > devteam > data_manager_bowtie2_index_builder
annotate data_manager/bowtie2_index_builder.xml @ 12:6754002631cd draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit e5971e34b23280f7c3d6291a03325b6dd47e3fdd
author | iuc |
---|---|
date | Sat, 16 Aug 2025 14:35:19 +0000 |
parents | 39865c64a4e1 |
children |
rev | line source |
---|---|
11
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
1 <tool id="bowtie2_index_builder_data_manager" name="Bowtie2 index" tool_type="manage_data" version="@WRAPPER_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.0"> |
0 | 2 <description>builder</description> |
11
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
3 <macros> |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
4 <token name="@WRAPPER_VERSION@">2.5.4</token> |
12
6754002631cd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit e5971e34b23280f7c3d6291a03325b6dd47e3fdd
iuc
parents:
11
diff
changeset
|
5 <token name="@VERSION_SUFFIX@">1</token> |
11
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
6 </macros> |
0 | 7 <requirements> |
4
d1d5feb31804
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 5dd2e762b5b84cec1c8344ecbeaf903e7dcc292e
iuc
parents:
3
diff
changeset
|
8 <requirement type="package" version="@WRAPPER_VERSION@">bowtie2</requirement> |
0 | 9 </requirements> |
3
83da94c0e4a6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 8652f36a3a3838dca989426961561e81432acf4f
iuc
parents:
2
diff
changeset
|
10 <command detect_errors="exit_code"><![CDATA[ |
11
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
11 #set $value = $sequence_id or $all_fasta_source.fields.dbkey |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
12 #set $fasta_file_name = str($all_fasta_source.fields.path).split('/')[-1] |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
13 mkdir -p '${out_file.extra_files_path}' && |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
14 ln -s '${all_fasta_source.fields.path}' '${out_file.extra_files_path}/${fasta_file_name}' && |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
15 cd '${out_file.extra_files_path}' && |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
16 bowtie2-build --threads \${GALAXY_SLOTS:-1} '${out_file.extra_files_path}/${fasta_file_name}' '${value}' && |
12
6754002631cd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit e5971e34b23280f7c3d6291a03325b6dd47e3fdd
iuc
parents:
11
diff
changeset
|
17 rm '${out_file.extra_files_path}/${fasta_file_name}' && |
11
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
18 cp '$dmjson' '$out_file' |
3
83da94c0e4a6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 8652f36a3a3838dca989426961561e81432acf4f
iuc
parents:
2
diff
changeset
|
19 ]]></command> |
11
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
20 <configfiles> |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
21 <configfile name="dmjson"><![CDATA[#slurp |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
22 #set $fasta_file_name = str($all_fasta_source.fields.path).split('/')[-1] |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
23 #set $value = $sequence_id or $all_fasta_source.fields.dbkey |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
24 #set $name = $sequence_name or $all_fasta_source.fields.name |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
25 { |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
26 "data_tables":{ |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
27 "bowtie2_indexes":[ |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
28 { |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
29 "value": "${value}", |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
30 "dbkey": "${all_fasta_source.fields.dbkey}", |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
31 "name": "${name}", |
12
6754002631cd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit e5971e34b23280f7c3d6291a03325b6dd47e3fdd
iuc
parents:
11
diff
changeset
|
32 "path": "${value}" |
11
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
33 } |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
34 #if $tophat2: |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
35 ], |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
36 "tophat2_indexes":[ |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
37 { |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
38 "value": "${value}", |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
39 "dbkey": "${all_fasta_source.fields.dbkey}", |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
40 "name": "${name}", |
12
6754002631cd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit e5971e34b23280f7c3d6291a03325b6dd47e3fdd
iuc
parents:
11
diff
changeset
|
41 "path": "${value}" |
11
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
42 } |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
43 #end if |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
44 ] |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
45 } |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
46 } |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
47 ]]></configfile> |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
48 </configfiles> |
0 | 49 <inputs> |
50 <param name="all_fasta_source" type="select" label="Source FASTA Sequence"> | |
51 <options from_data_table="all_fasta"/> | |
52 </param> | |
3
83da94c0e4a6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 8652f36a3a3838dca989426961561e81432acf4f
iuc
parents:
2
diff
changeset
|
53 <param name="sequence_name" type="text" value="" label="Name of sequence" /> |
83da94c0e4a6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 8652f36a3a3838dca989426961561e81432acf4f
iuc
parents:
2
diff
changeset
|
54 <param name="sequence_id" type="text" value="" label="ID for sequence" /> |
11
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
55 <param name="tophat2" type="boolean" checked="True" label="Also make available for TopHat" help="Adds values to tophat2_indexes tool data table" /> |
0 | 56 </inputs> |
57 <outputs> | |
58 <data name="out_file" format="data_manager_json"/> | |
59 </outputs> | |
4
d1d5feb31804
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 5dd2e762b5b84cec1c8344ecbeaf903e7dcc292e
iuc
parents:
3
diff
changeset
|
60 <tests> |
d1d5feb31804
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 5dd2e762b5b84cec1c8344ecbeaf903e7dcc292e
iuc
parents:
3
diff
changeset
|
61 <test> |
d1d5feb31804
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 5dd2e762b5b84cec1c8344ecbeaf903e7dcc292e
iuc
parents:
3
diff
changeset
|
62 <param name="all_fasta_source" value="phiX174"/> |
11
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
63 <output name="out_file" value="bowtie2_data_manager.1.json"/> |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
64 </test> |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
65 <test> |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
66 <param name="all_fasta_source" value="phiX174"/> |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
67 <param name="sequence_name" value="Galeocerdo cuvier"/> |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
68 <param name="sequence_id" value="tigHai1"/> |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
69 <param name="tophat2" value="False"/> |
39865c64a4e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 57d05675396f0b44265fb4dbc8f9f891c6073219
iuc
parents:
9
diff
changeset
|
70 <output name="out_file" file="bowtie2_data_manager.2.json"/> |
4
d1d5feb31804
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 5dd2e762b5b84cec1c8344ecbeaf903e7dcc292e
iuc
parents:
3
diff
changeset
|
71 </test> |
d1d5feb31804
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 5dd2e762b5b84cec1c8344ecbeaf903e7dcc292e
iuc
parents:
3
diff
changeset
|
72 </tests> |
0 | 73 |
74 <help> | |
75 .. class:: infomark | |
76 | |
3
83da94c0e4a6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_bowtie2_index_builder commit 8652f36a3a3838dca989426961561e81432acf4f
iuc
parents:
2
diff
changeset
|
77 **Notice:** If you leave name, description, or id blank, it will be generated automatically. |
0 | 78 </help> |
79 </tool> |