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