@@ -30,8 +30,8 @@ class kb_bedtools:
3030 # the latter method is running.
3131 ######################################### noqa
3232 VERSION = "0.0.1"
33- GIT_URL = "git@github.com:Peanut16 /kb_bedtools.git"
34- GIT_COMMIT_HASH = "91f4028271383252cb2d7622790d076720617f4c "
33+ GIT_URL = "git@github.com:kbaseapps /kb_bedtools.git"
34+ GIT_COMMIT_HASH = "676cb49110c793763fccfd065e4274cedecc0b00 "
3535
3636 #BEGIN_CLASS_HEADER
3737 #END_CLASS_HEADER
@@ -50,13 +50,6 @@ def __init__(self, config):
5050
5151
5252 def run_kb_bedtools (self , ctx , params ):
53- intersect = Intersection (ctx , config , app_config ) # Example: if you separate it
54- output = intersect .do_analysis (params )
55- return [output ]
56-
57- version = subprocess .check_output (["bedtools" , "--version" ])
58- print ("BEDTOOLS VERSION IN CONTAINER:" , version .decode ())
59-
6053 """
6154 App which takes a BAM file and returns a Fastq file
6255 :param params: instance of mapping from String to unspecified object
@@ -67,6 +60,8 @@ def run_kb_bedtools(self, ctx, params):
6760 # return variables are: output
6861 #BEGIN run_kb_bedtools
6962
63+ version = subprocess .check_output (["bedtools" , "--version" ])
64+ print ("BEDTOOLS VERSION IN CONTAINER:" , version .decode ())
7065 config = dict (
7166 callback_url = self .callback_url ,
7267 shared_folder = self .shared_folder ,
@@ -79,15 +74,15 @@ def run_kb_bedtools(self, ctx, params):
7974 bam = BamConversion (ctx , config = config , app_config = self .config )
8075 output = bam .do_analysis (params )
8176
82- output = bam . do_analysis ( params )
77+ #END run_kb_bedtools
8378
8479 # At some point might do deeper type checking...
8580 if not isinstance (output , dict ):
8681 raise ValueError ('Method run_kb_bedtools return value ' +
8782 'output is not type dict as required.' )
8883 # return the results
8984 return [output ]
90- #END run_kb_bedtools
85+
9186 def run_kb_bedtools_intersect (self , ctx , params ):
9287 """
9388 App which takes GFF files and do the intersection command
@@ -98,6 +93,7 @@ def run_kb_bedtools_intersect(self, ctx, params):
9893 # ctx is the context object
9994 # return variables are: output
10095 #BEGIN run_kb_bedtools_intersect
96+ logging .warning (f"[DEBUG] Params received: { params } " )
10197 config = dict (
10298 callback_url = self .callback_url ,
10399 shared_folder = self .shared_folder ,
0 commit comments