# HG changeset patch # User iuc # Date 1758721034 0 # Node ID f76cbb84d67f6879a5916393c52429ff30b53238 # Parent d5ceb9f3c25b5459c9609b8c7e3844df64d472ff planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 4508a3878ac8d12306a7521aa55fa286710d947a diff -r d5ceb9f3c25b -r f76cbb84d67f bowtie2_macros.xml --- a/bowtie2_macros.xml Mon May 13 13:49:14 2024 +0000 +++ b/bowtie2_macros.xml Wed Sep 24 13:37:14 2025 +0000 @@ -1,6 +1,7 @@ - 2.5.3 - 1 + 2.5.4 + 0 + 23.0 @@ -59,7 +60,7 @@ #if $use_rg #if $rg_param('read_group_id_conditional') is None #set $rg_id = $rg_auto_name - #elif $rg_param('read_group_id_conditional').do_auto_name + #elif $rg_param('read_group_id_conditional').do_auto_name == "yes" #set $rg_id = $rg_auto_name #else #set $rg_id = str($rg_param('read_group_id_conditional').ID) @@ -67,7 +68,7 @@ #if $rg_param('read_group_sm_conditional') is None #set $rg_sm = '' - #elif $rg_param('read_group_sm_conditional').do_auto_name + #elif $rg_param('read_group_sm_conditional').do_auto_name == "yes" #set $rg_sm = $rg_auto_name #else #set $rg_sm = str($rg_param('read_group_sm_conditional').SM) @@ -81,7 +82,7 @@ #if $rg_param('read_group_lb_conditional') is None #set $rg_lb = '' - #elif $rg_param('read_group_lb_conditional').do_auto_name + #elif $rg_param('read_group_lb_conditional').do_auto_name == "yes" #set $rg_lb = $rg_auto_name #else #set $rg_lb = str($rg_param('read_group_lb_conditional').LB) @@ -140,15 +141,17 @@ #set $use_rg = str($rg.rg_selector) != "do_not_set" - - - - + + + + + + - + @@ -173,7 +176,7 @@ as per Picard. --> - + @@ -196,7 +199,7 @@ - + @@ -206,7 +209,7 @@ - + @@ -227,8 +230,8 @@ - - \*|[ACMGRSVTWYHKDBN]+$ + + |\*|[ACMGRSVTWYHKDBN]+$ @@ -241,10 +244,10 @@ - + - + @@ -287,10 +290,8 @@ - - - - + + diff -r d5ceb9f3c25b -r f76cbb84d67f bowtie2_wrapper.xml --- a/bowtie2_wrapper.xml Mon May 13 13:49:14 2024 +0000 +++ b/bowtie2_wrapper.xml Wed Sep 24 13:37:14 2025 +0000 @@ -1,4 +1,4 @@ - + - map reads against reference genome bowtie2_macros.xml @@ -8,7 +8,7 @@ bowtie2 - samtools + samtools bowtie2 --version '$output' #end if - -## rename unaligned sequence files -#if ($library.type == "paired" or $library.type == "paired_collection") and $output_unaligned_reads_l and $output_unaligned_reads_r: - #from os.path import splitext - #set _unaligned_root, _unaligned_ext = splitext( str( $output_unaligned_reads_l ) ) - && mv '${ _unaligned_root }.1${_unaligned_ext}' '$output_unaligned_reads_l' - && mv '${ _unaligned_root }.2${_unaligned_ext}' '$output_unaligned_reads_r' -#end if -#if ($library.type == "paired" or $library.type == "paired_collection") and $output_aligned_reads_l and $output_aligned_reads_r: - #from os.path import splitext - #set _aligned_root, _aligned_ext = splitext( str( $output_aligned_reads_l ) ) - && mv '${ _aligned_root }.1${_aligned_ext}' '$output_aligned_reads_l' - && mv '${ _aligned_root }.2${_aligned_ext}' '$output_aligned_reads_r' -#end if - ]]> - - - + - - - - - - - - - - - @@ -556,89 +464,47 @@ - - library['unaligned_file'] is True + + library['type'] == 'single' and library['unaligned_file'] is True - - - - - - - - - - - - - - - - library['aligned_file'] is True + + library['type'] != 'single' and library['unaligned_file'] is True + + + + + + + + + + + + + + library['type'] == 'single' and library['aligned_file'] is True - - - - - - - - - - - - - - - - ( library['type'] == "paired" or library['type'] == "paired_collection" ) and library['aligned_file'] is True - - - - - - - - - - - - - - - - ( library['type'] == "paired" or library['type'] == "paired_collection" ) and library['unaligned_file'] is True - - - - - - - - - - - - - - - + + library['type'] != 'single' and library['aligned_file'] is True + + + + + + + + + + + + + @@ -670,65 +536,157 @@ + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + @@ -739,92 +697,191 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + diff -r d5ceb9f3c25b -r f76cbb84d67f test-data/bowtie2-ref.1.bt2 Binary file test-data/bowtie2-ref.1.bt2 has changed diff -r d5ceb9f3c25b -r f76cbb84d67f test-data/bowtie2-ref.2.bt2 Binary file test-data/bowtie2-ref.2.bt2 has changed diff -r d5ceb9f3c25b -r f76cbb84d67f test-data/bowtie2-ref.3.bt2 Binary file test-data/bowtie2-ref.3.bt2 has changed diff -r d5ceb9f3c25b -r f76cbb84d67f test-data/bowtie2-ref.4.bt2 Binary file test-data/bowtie2-ref.4.bt2 has changed diff -r d5ceb9f3c25b -r f76cbb84d67f test-data/bowtie2-ref.rev.1.bt2 Binary file test-data/bowtie2-ref.rev.1.bt2 has changed diff -r d5ceb9f3c25b -r f76cbb84d67f test-data/bowtie2-ref.rev.2.bt2 Binary file test-data/bowtie2-ref.rev.2.bt2 has changed diff -r d5ceb9f3c25b -r f76cbb84d67f test-data/bowtie2-single.bam Binary file test-data/bowtie2-single.bam has changed diff -r d5ceb9f3c25b -r f76cbb84d67f test-data/bowtie2_indices.loc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/bowtie2_indices.loc Wed Sep 24 13:37:14 2025 +0000 @@ -0,0 +1,38 @@ +# bowtie2_indices.loc.sample +# This is a *.loc.sample file distributed with Galaxy that enables tools +# to use a directory of indexed data files. This one is for Bowtie2 and Tophat2. +# See the wiki: http://wiki.galaxyproject.org/Admin/NGS%20Local%20Setup +# First create these data files and save them in your own data directory structure. +# Then, create a bowtie_indices.loc file to use those indexes with tools. +# Copy this file, save it with the same name (minus the .sample), +# follow the format examples, and store the result in this directory. +# The file should include an one line entry for each index set. +# The path points to the "basename" for the set, not a specific file. +# It has four text columns seperated by TABS. +# +# +# +# So, for example, if you had hg18 indexes stored in: +# +# /depot/data2/galaxy/hg19/bowtie2/ +# +# containing hg19 genome and hg19.*.bt2 files, such as: +# -rw-rw-r-- 1 james james 914M Feb 10 18:56 hg19canon.fa +# -rw-rw-r-- 1 james james 914M Feb 10 18:56 hg19canon.1.bt2 +# -rw-rw-r-- 1 james james 683M Feb 10 18:56 hg19canon.2.bt2 +# -rw-rw-r-- 1 james james 3.3K Feb 10 16:54 hg19canon.3.bt2 +# -rw-rw-r-- 1 james james 683M Feb 10 16:54 hg19canon.4.bt2 +# -rw-rw-r-- 1 james james 914M Feb 10 20:45 hg19canon.rev.1.bt2 +# -rw-rw-r-- 1 james james 683M Feb 10 20:45 hg19canon.rev.2.bt2 +# +# then the bowtie2_indices.loc entry could look like this: +# +#hg19 hg19 Human (hg19) /depot/data2/galaxy/hg19/bowtie2/hg19canon +# +#More examples: +# +#mm10 mm10 Mouse (mm10) /depot/data2/galaxy/mm10/bowtie2/mm10 +#dm3 dm3 D. melanogaster (dm3) /depot/data2/galaxy/mm10/bowtie2/dm3 +# +# +test_value test_dbkey test_name ${__HERE__}/bowtie2-ref \ No newline at end of file diff -r d5ceb9f3c25b -r f76cbb84d67f tool_data_table_conf.xml.test --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_data_table_conf.xml.test Wed Sep 24 13:37:14 2025 +0000 @@ -0,0 +1,8 @@ + + + + + value, dbkey, name, path + +
+