def generateSequences(nPatterns=10, patternLen=500, patternActivity=50, hubs=[2, 6], seqLength=[5, 6, 7], nSimpleSequences=50, nHubSequences=50):
 patterns = generateCoincMatrix(nCoinc=nPatterns, length=patternLen, activity=patternActivity)
 seqList = (generateSimpleSequences(nCoinc=nPatterns, seqLength=seqLength, nSeq=nSimpleSequences) + generateHubSequences(nCoinc=nPatterns, hubs=hubs, seqLength=seqLength, nSeq=nHubSequences))
 return (seqList, patterns)

def generateSequences ( nPatterns = 10 , patternLen = 500 , patternActivity = 50 , hubs = [ 2 , 6 ] , seqLength = [ 5 , 6 , 7 ] , nSimpleSequences = 50 , nHubSequences = 50 ) : patterns = generateCoincMatrix ( nCoinc = nPatterns , length = patternLen , activity = patternActivity ) seqList = ( generateSimpleSequences ( nCoinc = nPatterns , seqLength = seqLength , nSeq = nSimpleSequences ) + generateHubSequences ( nCoinc = nPatterns , hubs = hubs , seqLength = seqLength , nSeq = nHubSequences ) ) return ( seqList , patterns )
generate a set of simple and hub sequences .