From 25497155631a9e177d16ed199fa964f368cb2dee Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Fri, 7 Feb 2020 19:48:50 +0100 Subject: [PATCH] Make join1 use proper requirements, move to GALAXY_LIB_TOOLS_VERSIONED --- lib/galaxy/tools/__init__.py | 2 +- tools/filters/joiner.xml | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/galaxy/tools/__init__.py b/lib/galaxy/tools/__init__.py index d9833cbcb59..b25397258d5 100755 --- a/lib/galaxy/tools/__init__.py +++ b/lib/galaxy/tools/__init__.py @@ -128,7 +128,6 @@ GALAXY_LIB_TOOLS_UNVERSIONED = [ "__DATA_FETCH__", # Legacy tools bundled with Galaxy. "laj_1", - "join1", "gff2bed1", "gff_filter_by_feature_count", "aggregate_scores_in_intervals2", @@ -191,6 +190,7 @@ GALAXY_LIB_TOOLS_VERSIONED = { "sam_pileup": packaging.version.parse("1.1.3"), "vcf_to_maf_customtrack1": packaging.version.parse("1.0.1"), "secure_hash_message_digest": packaging.version.parse("0.0.2"), + "join1": packaging.version.parse("2.1.3"), } diff --git a/tools/filters/joiner.xml b/tools/filters/joiner.xml index 642d1e8b429..a1fc30f18bf 100644 --- a/tools/filters/joiner.xml +++ b/tools/filters/joiner.xml @@ -1,15 +1,15 @@ - + side by side on a specified field - python + galaxy-util python '$__tool_directory__/join.py' '$input1' '$input2' $field1 $field2 '$out_file1' $unmatched $partial --index_depth=3 --buffer=50000000 --fill_options_file=$fill_options_file $header - <% + #set $__fill_options = {} #if $fill_empty_columns['fill_empty_columns_switch'] == 'fill_empty': #set $__fill_options['fill_unjoined_only'] = $fill_empty_columns['fill_columns_by'].value == 'fill_unjoined_only' @@ -30,7 +30,7 @@ import json #end if #end if ${json.dumps( __fill_options )} - + ]]> @@ -174,7 +174,7 @@ ${json.dumps( __fill_options )} - + Convert* ----- @@ -221,6 +221,6 @@ Joining the 4th column of Dataset1 with the 1st column of Dataset2, while keepin chr1 50 80 geneB geneB Foxp2 chr5 10 40 geneL - +]]>