view commons/launcher/tests/MockOutputForBlat.py @ 18:94ab73e8a190

Uploaded
author m-zytnicki
date Mon, 29 Apr 2013 03:20:15 -0400
parents
children
line wrap: on
line source

class MockOutputForBlat(object):
	
	def write(self, inFileName):
		f = open(inFileName, 'w')
		f.write('gi|226792305|gb|GO545799.1|GO545799	290	551	Vein_ctg_10639	674	935	1.0e-130	463.0	93.51\n')
		f.write('gi|226792305|gb|GO545799.1|GO545799	138	283	Vein_ctg_10639	519	664	1.0e-50	198.0	82.88\n')
		f.write('gi|226792305|gb|GO545799.1|GO545799	577	686	Vein_ctg_10639	961	1070	1.4e-46	184.0	90.91\n')
		f.write('gi|226792305|gb|GO545799.1|GO545799	566	572	Vein_ctg_10639	944	950	3.1e+05	13.0	100.00\n')
		f.write('gi|226792293|gb|GO546055.1|GO546055	107	193	Vein_ctg_10638	87	1	2.2e-42	170.0	100.00\n')
		f.write('gi|226792293|gb|GO546055.1|GO546055	34	91	Vein_ctg_10638	161	104	2.5e-22	103.0	94.83\n')
		f.write('gi|226792293|gb|GO546055.1|GO546055	521	611	Vein_ctg_10639	1075	985	2.9e-38	156.0	92.31\n')
		f.write('gi|226790810|gb|GO546215.1|GO546215	57	520	Vein_ctg_5197	1862	1399	8.7e-128	454.0	72.84\n')
		f.write('gi|226790791|gb|GO546209.1|GO546209	135	199	Vein_ctg_5197	1994	1930	7.4e-25	112.0	93.85\n')
		f.write('gi|226790791|gb|GO546209.1|GO546209	36	82	Vein_ctg_5197	2126	2080	1.9e-06	50.0	76.60\n')
		f.write('gi|226790483|gb|GO545656.1|GO545656	280	541	Vein_ctg_10639	674	935	1.0e-130	463.0	93.51\n')
		f.write('gi|226790483|gb|GO545656.1|GO545656	128	273	Vein_ctg_10639	519	664	1.0e-50	198.0	82.88\n')
		f.write('gi|226790483|gb|GO545656.1|GO545656	567	640	Vein_ctg_10639	961	1034	1.1e-25	114.0	87.84\n')
		f.write('gi|226790483|gb|GO545656.1|GO545656	556	562	Vein_ctg_10639	944	950	3.1e+05	13.0	100.00\n')
		f.write('gi|226790458|gb|GO545644.1|GO545644	1	95	Vein_ctg_10638	1369	1275	3.5e-40	163.0	92.63\n')
		f.write('gi|226790458|gb|GO545644.1|GO545644	146	185	Vein_ctg_10638	1225	1186	3.7e-07	53.0	82.50\n')
		f.write('gi|226790049|gb|GO546186.1|GO546186	177	263	Vein_ctg_10638	87	1	5.6e-39	159.0	96.55\n')
		f.write('gi|226790049|gb|GO546186.1|GO546186	106	161	Vein_ctg_10638	159	104	3.8e-21	99.0	94.64\n')
		f.write('gi|226790011|gb|GO546174.1|GO546174	138	283	Vein_ctg_10639	519	664	1.0e-50	198.0	82.88\n')
		f.write('gi|226789634|gb|GO545875.1|GO545875	135	306	Vein_ctg_10638	1446	1275	7.3e-80	294.0	91.86\n')
		f.write('gi|226789634|gb|GO545875.1|GO545875	451	496	Vein_ctg_10638	1132	1087	1.8e-18	90.0	100.00\n')
		f.write('gi|226789634|gb|GO545875.1|GO545875	357	393	Vein_ctg_10638	1225	1189	1.8e-05	47.0	81.08\n')
		f.write('gi|226789597|gb|GO546106.1|GO546106	432	537	Vein_ctg_2286	1166	1061	5.0e-40	162.0	86.79\n')
		f.write('gi|226789597|gb|GO546106.1|GO546106	538	632	Vein_ctg_2286	1008	914	6.0e-33	139.0	85.26\n')
		f.write('gi|226789571|gb|GO546096.1|GO546096	353	474	Vein_ctg_5197	2426	2305	4.1e-46	182.0	84.43\n')
		f.write('gi|226789566|gb|GO545840.1|GO545840	73	232	Vein_ctg_10639	776	935	2.5e-75	279.0	92.50\n')
		f.write('gi|226789566|gb|GO545840.1|GO545840	258	372	Vein_ctg_10639	961	1075	4.2e-50	196.0	92.17\n')
		f.write('gi|226789566|gb|GO545840.1|GO545840	247	253	Vein_ctg_10639	944	950	3.1e+05	13.0	100.00\n')
		f.close()