Beispiel #1
0
def profileTargets(tccList, cName, dir=None, min=0):
    if not dir:
        dir = 'out'

    cg.clearDirectory(dir)  #clear and/or make

    for tcc in tccList:
        plot.plotASProfile(tcc, cName, directory=dir, min=min)
def profileTargets(tccList, cName, dir = None, min = 0):
	if not dir:
		dir = 'out'
		
	cg.clearDirectory(dir) #clear and/or make
		
	for tcc in tccList:
		plot.plotASProfile(tcc, cName, directory = dir, min = min)
Beispiel #3
0
def plotResults(fN, cName=None):

    cHairs = getHairpins.getHairpins(fN)  #CID: HAIRPIN

    directory = cg.getBaseFileName(fN)
    cg.clearDirectory(directory)

    #change the directory before plotting
    cwd = os.getcwd()
    os.chdir(directory)

    for CID in cHairs:
        print 'plotting:', CID
        cgPlot.plotASProfile(cHairs[CID], cName)

    os.chdir(cwd)
def plotResults(fN, cName = None):
		
	cHairs = getHairpins.getHairpins(fN) #CID: HAIRPIN
	
	directory = cg.getBaseFileName(fN)
	cg.clearDirectory(directory)
	
	#change the directory before plotting
	cwd = os.getcwd()
	os.chdir(directory)
	
	for CID in cHairs:
		print 'plotting:', CID
		cgPlot.plotASProfile(cHairs[CID], cName)
	
	os.chdir(cwd)