02.08.2013 Views

Sample A: Cover Page of Thesis, Project, or Dissertation Proposal

Sample A: Cover Page of Thesis, Project, or Dissertation Proposal

Sample A: Cover Page of Thesis, Project, or Dissertation Proposal

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

def DriverXH(usr, pswd, db, logfile):<br />

# first step when combines chip and cel info<br />

cur, conn= make_connect(usr, pswd, db)<br />

msk, msk_tab, Lmsk, state=get_mask2(cur)<br />

#print len(msk), len(tables), len(msk_tab)<br />

t = datetime.datetime.now()<br />

EpochSeconds=time.mktime(t.timetuple())<br />

now = datetime.datetime.fromtimestamp(EpochSeconds)<br />

fp=open(logfile, 'a')<br />

fp.write('\n')<br />

fp.write('Xhybrid filter:\n')<br />

conn.close()<br />

XH_filter(usr, pswd, db, msk, msk_tab, fp)<br />

def BioPhy_filter(usr, pswd, db, msk, msk_tab, fp):<br />

cur, conn= make_connect(usr, pswd, db)<br />

exp=get_exp(usr, pswd, db)<br />

notes='probes w/o structural issues'<br />

k=0<br />

#print 'Map length ', len(map), map[k]<br />

pid_tbles=[]<br />

#fp=open(logfile,'a')<br />

f<strong>or</strong> i in msk:<br />

trl= 'create table tmp as select known_seq_biophysical.*<br />

from known_seq_biophysical inner join '<br />

trl=trl+ msk[k]+ '_XH on ( '+msk[k]+'_XH.x =<br />

known_seq_biophysical.x and '+msk[k]+'_XH.y = known_seq_biophysical.y)<br />

where dgss>-3.6 and dgss

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!