annotate commons/launcher/tests/Test_F_LaunchNucmer.py @ 31:0ab839023fe4

Uploaded
author m-zytnicki
date Tue, 30 Apr 2013 14:33:21 -0400
parents 94ab73e8a190
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
1 import unittest
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
2 import os
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
3 from commons.core.utils.FileUtils import FileUtils
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
4 from commons.launcher.LaunchNucmer import LaunchNucmer
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
5
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
6 class Test_F_LaunchNucmer(unittest.TestCase):
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
7
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
8 def setUp(self):
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
9 self._queryFastaFileName = "query.fa"
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
10 self._refFastaFileName = "ref.fa"
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
11 self._writeInputFastaFiles()
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
12 self._expDeltaFileName = "expNucmer.delta"
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
13 self._writeExpDeltaFile()
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
14 self._obsDeltaFileName = "obsNucmer.delta"
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
15 self._obsCoordFileName= "obsNucmer.coords"
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
16 self._expCoordFileName= "expNucmer.coords"
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
17
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
18 def tearDown(self):
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
19 try:
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
20 os.remove(self._queryFastaFileName)
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
21 except:pass
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
22 try:
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
23 os.remove(self._refFastaFileName)
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
24 except:pass
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
25 try:
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
26 os.remove(self._expDeltaFileName)
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
27 except:pass
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
28 try:
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
29 os.remove(self._obsDeltaFileName)
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
30 except:pass
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
31
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
32 def test_run(self):
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
33 ilauncher = LaunchNucmer(self._refFastaFileName, self._queryFastaFileName,"obsNucmer",verbosity=1)
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
34 ilauncher.run()
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
35 self.assertTrue(FileUtils.are2FilesIdentical(self._expDeltaFileName, self._obsDeltaFileName))
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
36
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
37 def test_run_as_script(self):
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
38 cmd = 'LaunchNucmer.py --query %s --ref %s --prefix %s' % (self._refFastaFileName, self._queryFastaFileName, "obsNucmer")
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
39 os.system(cmd)
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
40 self.assertTrue(FileUtils.are2FilesIdentical(self._expDeltaFileName, self._obsDeltaFileName))
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
41
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
42 def test_run_as_script_gencoords_output(self):
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
43 self._writeExpGenCoordsFile()
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
44 cmd = 'LaunchNucmer.py --query %s --ref %s --prefix %s --gencoords' % (self._refFastaFileName, self._queryFastaFileName, "obsNucmer")
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
45 os.system(cmd)
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
46 self.assertTrue(FileUtils.are2FilesIdentical(self._expCoordFileName, self._obsCoordFileName))
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
47 os.remove(self._obsCoordFileName)
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
48 os.remove(self._expCoordFileName)
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
49
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
50 def test_run_as_script_with_mincluster(self):
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
51 cmd = 'LaunchNucmer.py --query %s --ref %s --prefix %s --mincluster 30' % (self._refFastaFileName, self._queryFastaFileName, "obsNucmer")
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
52 os.system(cmd)
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
53 self.assertTrue(FileUtils.are2FilesIdentical(self._expDeltaFileName, self._obsDeltaFileName))
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
54
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
55 def test_run_as_script_showcoords_output(self):
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
56 self._writeExpShowCoordsFile()
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
57 cmd = 'LaunchNucmer.py --query %s --ref %s --prefix %s --showcoords' % (self._refFastaFileName, self._queryFastaFileName, "obsNucmer")
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
58 os.system(cmd)
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
59 self.assertTrue(FileUtils.are2FilesIdentical(self._expCoordFileName, self._obsCoordFileName))
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
60 os.remove(self._obsCoordFileName)
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
61 os.remove(self._expCoordFileName)
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
62
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
63 def _writeInputFastaFiles(self):
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
64 InputFile = open(self._queryFastaFileName, 'w')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
65 InputFile.write('>Bovc-tA2:classI:SINE:SINE2/tRNA\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
66 InputFile.write('GGGCTTCCCTGGTAGCTCAGCTGGTAAAGAATCCGCCTGCAATGCAGGAGACCCCGGTTC\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
67 InputFile.write('GATTCCTGGGTCGGGAAGATCCCCTGGAGAAGGGATAGGCTACCCACTCCAGTATTCTTG\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
68 InputFile.write('GGCTTCCCTGGTGGCTCAGACGGTAAAGAATCCGCCTGCAATGCGGGAGACCTGGGTTCG\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
69 InputFile.write('ATCCCTGGGTTGGGAAGATCCCCTGGAGGAGGGCATGGCAACCCACTCCAGTATTCTTGC\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
70 InputFile.write('CTGGAGAATCCCCATGGACAGAGGAGCCTGGCGGGCTACAGTCCATGGGGTCGCAAAGAG\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
71 InputFile.write('TCGGACACGACTGAGCGACTAAGCACAGCACAG\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
72 InputFile.write('>SUSINE2:classI:SINE:SINE2/tRNA\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
73 InputFile.write('GGGAGTTCTCTGATGGCCTAGCGGGTTGAGGCTCCTGCGTTCTCACCGCTGTGGCTCTGG\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
74 InputFile.write('TTGCTGCTGTGCGGCGTAGGTTCAATCCCTGGCCCAGGAATTCCCACATACTGCCTGTGT\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
75 InputFile.write('GGCAAAAAAGAAAAAAAAAAAAAATACAAAAAAAAAAAAAACAAGAGAGAACCTGAAATA\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
76 InputFile.write('AACGTTGCAACTCTCATTNAAAAAAAAAAA\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
77 InputFile.write('>SINE1A_SS:classI:SINE:SINE2/tRNA\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
78 InputFile.write('GGGAGTTCTCTTGTGGCACAGCAGGTTAAGGATCCAGCGTTGTCACTGCAGTGGCTTGGG\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
79 InputFile.write('TCGCTGCTGTGGCACGGGTTCAATCCCTGGCCCAGGAACTTCCACATGCCACGGGCATGG\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
80 InputFile.write('CCAAAAAAAAA\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
81 InputFile.write('>SINE2-1_Pca:classI:SINE:SINE2/tRNA\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
82 InputFile.write('GGGCAGTGGTGGTTCAGTGGTAGAATTCTTGCCTTCCATGCGGGAGACCCGGGTTCGATT\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
83 InputFile.write('CCCGGCCAGTGCACCTCATGCGCAGCCACCACCCGTCTGTCAGTGGAGGCTTGCGTGTTG\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
84 InputFile.write('CTGTGATGCTGAACAGGTTTCAGCGGAGCTTCCAGACTAAGACGGACTAGGAAGAAAGGC\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
85 InputFile.write('CTGGCGATCTACTTCTGAAAATCAGCCAATGAAAACCCTGTGGATCACAGTGGTCTGATC\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
86 InputFile.write('TGCAACTGATCATGGGGATGGCGCAGGACCGGGCAGCGTTTTGTTCTATTGTGCATGGGG\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
87 InputFile.write('TCGCCATGAGTCGGGCCGACTCGATGGCAGCTAACAACAA\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
88 InputFile.write('>SINE_FR2:classI:SINE:?\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
89 InputFile.write('GGGCGGCACGGTGGTGTGGTGGTTAGCACTGTTGCCTCACAGCAAGAAGGCCCCGGGTTC\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
90 InputFile.write('GATCCCCGGTTGGGACTGAGGCTGGGGACTTTCTGTGTGGAGTTTGCATGTTCTCCCTGT\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
91 InputFile.write('GCCTGCGTGGGTTCTCTCCGGGTACTCCGGCTTCCTCCCACAGTCCAAAGACATGCATGA\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
92 InputFile.write('TTGGGGATTAGGCTAATTGGAAACTCTAAAATTGCCCGTAGGTGTGAGTGTGAGAGAGAA\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
93 InputFile.write('TGGTTGTTTGTCTATATGTGTTAGCCCTGCGATTGACTGGCGTCCAGTCCAGGGTGTACC\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
94 InputFile.write('CTGCCTCCGCCCATTGTGCTGGGATAGGCTCCAGTCCCCCCGCGACCCTCAGTGGAGGAA\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
95 InputFile.write('CAAGCGGTAGAAAGTGAGTGAGTGAGTGA\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
96 InputFile.write('>SINEC1B2_CF:classI:SINE:?\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
97 InputFile.write('GGGCAGCCTGGGTGGCTCAGCGGTTTAGCGCCTGCCTTTGGCCCAGGGCGTGATCCTGGA\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
98 InputFile.write('GACCCGGGATCGAGTCCCACATCGGGCTCCCTGCATGGAGCCTGCTTCTCCCTCTGCCTG\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
99 InputFile.write('TGTCTCTGCCTCTCTCTCTCTCTGTGTCTCTCATGAATAAATAA\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
100 InputFile.write('>ALPINE1:classI:SINE:SINE2/tRNA\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
101 InputFile.write('GGGGAGGGTATAGCTCAGTGGTAGAGCGCATGCTTAGCATGCACGAGGTCCTGGGTTCAA\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
102 InputFile.write('TCCCCAGTACCTCCATTAAAAATAAATAAATAAATAAACCTAATTACCTCCCCCACCAAA\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
103 InputFile.write('AAAAAAA\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
104 InputFile.close()
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
105
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
106 InputFile = open(self._refFastaFileName, 'w')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
107 InputFile.write('>SINE_FR2:classI:SINE:?\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
108 InputFile.write('GGGCGGCACGGTGGTGTGGTGGTTAGCACTGTTGCCTCACAGCAAGAAGGCCCCGGGTTC\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
109 InputFile.write('GATCCCCGGTTGGGACTGAGGCTGGGGACTTTCTGTGTGGAGTTTGCATGTTCTCCCTGT\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
110 InputFile.write('GCCTGCGTGGGTTCTCTCCGGGTACTCCGGCTTCCTCCCACAGTCCAAAGACATGCATGA\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
111 InputFile.write('TTGGGGATTAGGCTAATTGGAAACTCTAAAATTGCCCGTAGGTGTGAGTGTGAGAGAGAA\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
112 InputFile.write('TGGTTGTTTGTCTATATGTGTTAGCCCTGCGATTGACTGGCGTCCAGTCCAGGGTGTACC\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
113 InputFile.write('CTGCCTCCGCCCATTGTGCTGGGATAGGCTCCAGTCCCCCCG\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
114 InputFile.write('CAAGCGGTAGAAAGTGAGTGAGTGAGTGA\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
115 InputFile.write('>SINEC1B2_CF:classI:SINE:?\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
116 InputFile.write('GGGCAGCCTGGGTGGCTCAGCGGTTTAGCGCCTGCCTTTGGCCCAGGGCGTGATCCTGGA\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
117 InputFile.write('GACCCGGGATCGAGTCCCACATCGGGCTCCCTGCATGGAGCCTGCTTCTCCCTCTGCCTG\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
118 InputFile.write('TGTCTCTGCCTCTCTCTCTCTCTGTGTCTCTCATGAATAAA\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
119 InputFile.close()
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
120
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
121 def _writeExpDeltaFile(self):
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
122 f = open(self._expDeltaFileName, 'w')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
123 f.write("%s %s\n" %(os.path.abspath(self._queryFastaFileName), os.path.abspath(self._refFastaFileName)))
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
124 f.write('NUCMER\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
125 f.write('>SINE_FR2:classI:SINE:? SINE_FR2:classI:SINE:? 389 371\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
126 f.write('1 343 1 343 0 0 0\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
127 f.write('0\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
128 f.write('>SINEC1B2_CF:classI:SINE:? SINEC1B2_CF:classI:SINE:? 164 161\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
129 f.write('1 161 1 161 0 0 0\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
130 f.write('0\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
131 f.close()
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
132
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
133 def _writeExpGenCoordsFile(self):
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
134 f = open(self._expCoordFileName, 'w')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
135 f.write("%s %s\n" %(os.path.abspath(self._queryFastaFileName), os.path.abspath(self._refFastaFileName)))
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
136 f.write('NUCMER\n\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
137 f.write(' [S1] [E1] | [S2] [E2] | [LEN 1] [LEN 2] | [% IDY] | [TAGS]\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
138 f.write('=====================================================================================\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
139 f.write(' 1 161 | 1 161 | 161 161 | 100.00 | SINEC1B2_CF:classI:SINE:?\tSINEC1B2_CF:classI:SINE:?\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
140 f.write(' 1 343 | 1 343 | 343 343 | 100.00 | SINE_FR2:classI:SINE:?\tSINE_FR2:classI:SINE:?\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
141 f.close()
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
142
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
143 def _writeExpShowCoordsFile(self):
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
144 f = open(self._expCoordFileName, 'w')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
145 f.write("%s %s\n" %(os.path.abspath(self._queryFastaFileName), os.path.abspath(self._refFastaFileName)))
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
146 f.write('NUCMER\n\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
147 f.write('[S1]\t[E1]\t[S2]\t[E2]\t[LEN 1]\t[LEN 2]\t[% IDY]\t[LEN R]\t[LEN Q]\t[COV R]\t[COV Q]\t[FRM]\t[TAGS]\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
148 f.write('1\t161\t1\t161\t161\t161\t100.00\t164\t161\t98.17\t100.00\t1\t1\tSINEC1B2_CF:classI:SINE:?\tSINEC1B2_CF:classI:SINE:?\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
149 f.write('1\t343\t1\t343\t343\t343\t100.00\t389\t371\t88.17\t92.45\t1\t1\tSINE_FR2:classI:SINE:?\tSINE_FR2:classI:SINE:?\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
150 f.close()
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
151
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
152 if __name__ == "__main__":
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
153 unittest.main()