annotate SMART/Java/Python/test/MockGetLetterDistribution.py @ 25:7809e72960fe

Deleted selected files
author m-zytnicki
date Mon, 29 Apr 2013 03:29:14 -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 class MockGetLetterDistributionFasta (object) :
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
2 def write(self,inFileName):
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
3 f = open(inFileName,'w')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
4 f.write('>HWI-EAS337_3:7:1:415:1217/1\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
5 f.write('GATGTGCAGACTTTTCACGCAGGACTACATCACTGT\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
6 f.write('>HWI-EAS337_3:7:1:208:1489/1\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
7 f.write('GGAAACATATGCACATAAACGTTGAAATCATGCTTA\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
8 f.write('>HWI-EAS337_3:7:1:278:1153\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
9 f.write('GAGAAAACCTGTAATAAATACTGAGAGAAAGTAGGG\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
10 f.close()
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
11
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
12 class MockGetLetterDistributionFastq (object) :
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
13 def write(self,inFileName):
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
14 f = open(inFileName,'w')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
15 f.write('@HWI-EAS337_3:7:1:415:1217/1\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
16 f.write('GATGTGCAGACTTTTCACGCAGGACTACATCACTGT\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
17 f.write('+HWI-EAS337_3:7:1:415:1217/1\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
18 f.write('WWWVVVWPWWWVWWWWVVVVKVPWWVVWVWUUQUTQ\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
19 f.write('@HWI-EAS337_3:7:1:208:1489/1\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
20 f.write('GGAAACATATGCACATAAACGTTGAAATCATGCTTA\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
21 f.write('+HWI-EAS337_3:7:1:208:1489/1\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
22 f.write('WWWWWWWWWWWWWWWWWVWWVWWVWWWWWWUUUUUU\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
23 f.write('@HWI-EAS337_3:7:1:278:1153/1\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
24 f.write('GAGAAAACCTGTAATAAATACTGAGAGAAAGTAGGG\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
25 f.write('+HWI-EAS337_3:7:1:278:1153/1\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
26 f.write('WWWWWWWWWWWWWWWWWWWWWWVWVVVWWVUUUUUR\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
27 f.close()
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
28
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
29 class MockGetLetterDistributionExpectedCSV (object) :
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
30 def write(self,inFileName):
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
31 f = open(inFileName,'w')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
32 f.write('1;A=0%;C=0%;T=0%;G=0%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
33 f.write('2;A=0%;C=0%;T=0%;G=100.00%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
34 f.write('3;A=66.67%;C=0%;T=0%;G=33.33%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
35 f.write('4;A=33.33%;C=0%;T=33.33%;G=33.33%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
36 f.write('5;A=66.67%;C=0%;T=0%;G=33.33%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
37 f.write('6;A=66.67%;C=0%;T=33.33%;G=0%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
38 f.write('7;A=33.33%;C=33.33%;T=0%;G=33.33%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
39 f.write('8;A=66.67%;C=33.33%;T=0%;G=0%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
40 f.write('9;A=33.33%;C=33.33%;T=33.33%;G=0%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
41 f.write('10;A=33.33%;C=33.33%;T=0%;G=33.33%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
42 f.write('11;A=33.33%;C=0%;T=66.67%;G=0%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
43 f.write('12;A=0%;C=33.33%;T=0%;G=66.67%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
44 f.write('13;A=0%;C=33.33%;T=66.67%;G=0%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
45 f.write('14;A=66.67%;C=0%;T=33.33%;G=0%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
46 f.write('15;A=33.33%;C=33.33%;T=33.33%;G=0%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
47 f.write('16;A=33.33%;C=0%;T=66.67%;G=0%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
48 f.write('17;A=33.33%;C=33.33%;T=33.33%;G=0%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
49 f.write('18;A=100.00%;C=0%;T=0%;G=0%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
50 f.write('19;A=66.67%;C=33.33%;T=0%;G=0%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
51 f.write('20;A=33.33%;C=0%;T=33.33%;G=33.33%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
52 f.write('21;A=33.33%;C=66.67%;T=0%;G=0%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
53 f.write('22;A=33.33%;C=33.33%;T=0%;G=33.33%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
54 f.write('23;A=0%;C=0%;T=66.67%;G=33.33%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
55 f.write('24;A=0%;C=0%;T=33.33%;G=66.67%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
56 f.write('25;A=66.67%;C=0%;T=0%;G=33.33%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
57 f.write('26;A=33.33%;C=33.33%;T=0%;G=33.33%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
58 f.write('27;A=66.67%;C=0%;T=33.33%;G=0%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
59 f.write('28;A=66.67%;C=0%;T=0%;G=33.33%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
60 f.write('29;A=33.33%;C=33.33%;T=33.33%;G=0%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
61 f.write('30;A=66.67%;C=33.33%;T=0%;G=0%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
62 f.write('31;A=66.67%;C=0%;T=33.33%;G=0%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
63 f.write('32;A=0%;C=33.33%;T=33.33%;G=33.33%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
64 f.write('33;A=33.33%;C=0%;T=33.33%;G=33.33%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
65 f.write('34;A=33.33%;C=66.67%;T=0%;G=0%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
66 f.write('35;A=0%;C=0%;T=66.67%;G=33.33%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
67 f.write('36;A=0%;C=0%;T=33.33%;G=66.67%;\n')
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
68 f.close()
94ab73e8a190 Uploaded
m-zytnicki
parents:
diff changeset
69