parser.add_option("--logo", action="store_true", dest="saveLogo")
parser.add_option("--threshold", type="float", dest="threshold")
parser.add_option("--prefix", dest="motifPrefix")
- parser.add_option("--numMotifs", dest="numMotifs")
+ parser.add_option("--numMotifs", type="int", dest="numMotifs")
parser.add_option("--maxWidth", type="int", dest="maxWidth")
parser.add_option("--maskLower", action="store_true", dest="maskLower")
doCisGreedy = getConfigBoolOption(configParser, section, "doCisGreedy", False)
saveLogo = getConfigBoolOption(configParser, section, "saveLogo", False)
threshold = getConfigFloatOption(configParser, section, "threshold", 75.)
- numMotifs = getConfigOption(configParser, section, "numMotifs", "10")
+ numMotifs = getConfigOption(configParser, section, "numMotifs", 10)
maxWidth = getConfigIntOption(configParser, section, "maxWidth", 28)
maskLower = getConfigBoolOption(configParser, section, "maskLower", False)
def findMotifs(expbase, fsafile, doMeme=False, doCisGreedy=False, saveLogo=False, threshold=75.,
- numMotifs="10", maxWidth=28, maskLower=False, doCisSampler=False):
+ numMotifs=10, maxWidth=28, maskLower=False, doCisSampler=False):
motifPrefix = expbase