@@ -77,8 +77,7 @@ def computeMatrixRequiredArgs(args=None):
7777 metavar = 'File' ,
7878 help = 'File name or names, in BED or GTF format, containing '
7979 'the regions to plot. If multiple bed files are given, each one is considered a '
80- 'group that can be plotted separately. Also, adding a "#" symbol in the bed file '
81- 'causes all the regions until the previous "#" to be considered one group.' ,
80+ 'group that can be plotted separately.' ,
8281 nargs = '+' ,
8382 required = True )
8483 required .add_argument ('--scoreFileName' , '-S' ,
@@ -301,14 +300,6 @@ def computeMatrixOptArgs(case=['scale-regions', 'reference-point'][0]):
301300 'contains a space E.g. --samplesLabel label-1 "label 2" ' ,
302301 nargs = '+' )
303302
304- # in contrast to other tools,
305- # computeMatrix by default outputs
306- # messages and the --quiet flag supresses them
307- optional .add_argument ('--quiet' , '-q' ,
308- help = 'Set to remove any warning or processing '
309- 'messages.' ,
310- action = 'store_true' )
311-
312303 optional .add_argument ('--verbose' ,
313304 help = 'Being VERY verbose in the status messages. --quiet will disable this.' ,
314305 action = 'store_true' )
@@ -336,9 +327,6 @@ def process_args(args=None):
336327 parse_arguments ().print_help ()
337328 sys .exit ()
338329
339- if args .quiet is True :
340- args .verbose = False
341-
342330 # Ensure before and after region length is positive
343331 if args .beforeRegionStartLength < 0 :
344332 print (f"beforeRegionStartLength changed from { args .beforeRegionStartLength } into { abs (args .beforeRegionStartLength )} " )
@@ -361,6 +349,10 @@ def process_args(args=None):
361349 args .samplesLabel = []
362350 if not args .sortUsingSamples :
363351 args .sortUsingSamples = []
352+ if not args .minThreshold :
353+ args .minThreshold = 0.0
354+ if not args .maxThreshold :
355+ args .maxThreshold = 0.0
364356 return args
365357
366358
@@ -388,8 +380,7 @@ def main(args=None):
388380 'unscaled 3 prime' : args .unscaled3prime
389381 }
390382 # Assert all regions and scores exist
391- print (parameters )
392- print (args )
383+ #print(args)
393384 r_computematrix (
394385 args .command ,
395386 args .regionsFileName ,
@@ -402,7 +393,12 @@ def main(args=None):
402393 args .regionBodyLength ,
403394 args .binSize ,
404395 args .missingDataAsZero ,
396+ args .keepExons , # --metagene or not.
397+ args .scale ,
405398 args .nanAfterEnd ,
399+ args .skipZeros ,
400+ args .minThreshold ,
401+ args .maxThreshold ,
406402 args .averageTypeBins ,
407403 args .sortRegions ,
408404 args .sortUsing ,
0 commit comments