Back to index

python-biopython  1.60
Public Member Functions
test_UniGene.TestUniGene Class Reference

List of all members.

Public Member Functions

def test_parse
def test_read

Detailed Description

Definition at line 9 of file test_UniGene.py.


Member Function Documentation

Definition at line 11 of file test_UniGene.py.

00011 
00012     def test_parse(self):
00013 
00014         #Start of the UniGene file for Equus caballus downloaded from:
00015         #ftp://ftp.ncbi.nih.gov/repository/UniGene/Equus_caballus
00016         handle = open("UniGene/Eca.1.2425.data")
00017 
00018         records = UniGene.parse(handle)
00019 
00020         # First record
00021         record = records.next()
00022         self.assertEqual(record.ID, "Eca.1")
00023         self.assertEqual(record.title, "Ribosomal protein L3")
00024         self.assertEqual(record.symbol, "RPL3")
00025         self.assertEqual(record.gene_id, "100070291")
00026         self.assertEqual(record.locuslink, "100070291")
00027         self.assertEqual(record.homol, True)
00028         self.assertEqual(record.express, ["blood", "cartilage", "trophoblast", "adult"])
00029         self.assertEqual(record.restr_expr, ["blood", "adult"])
00030         self.assertEqual(len(record.protsim), 40)
00031         self.assertEqual(record.protsim[0].org, "10090")
00032         self.assertEqual(record.protsim[0].protgi, "149270989")
00033         self.assertEqual(record.protsim[0].protid, "XP_001477314.1")
00034         self.assertEqual(record.protsim[0].pct, "99.26")
00035         self.assertEqual(record.protsim[0].aln, "401")
00036         self.assertEqual(record.protsim[1].org, "5207")
00037         self.assertEqual(record.protsim[1].protgi, "134117057")
00038         self.assertEqual(record.protsim[1].protid, "XP_772755.1")
00039         self.assertEqual(record.protsim[1].pct, "70.91")
00040         self.assertEqual(record.protsim[1].aln, "384")
00041         self.assertEqual(record.protsim[2].org, "44689")
00042         self.assertEqual(record.protsim[2].protgi, "66802278")
00043         self.assertEqual(record.protsim[2].protid, "XP_629921.1")
00044         self.assertEqual(record.protsim[2].pct, "67.76")
00045         self.assertEqual(record.protsim[2].aln, "396")
00046         self.assertEqual(record.protsim[3].org, "9606")
00047         self.assertEqual(record.protsim[3].protgi, "4506649")
00048         self.assertEqual(record.protsim[3].protid, "NP_000958.1")
00049         self.assertEqual(record.protsim[3].pct, "99.50")
00050         self.assertEqual(record.protsim[3].aln, "401")
00051         self.assertEqual(record.protsim[4].org, "7719")
00052         self.assertEqual(record.protsim[4].protgi, "198435984")
00053         self.assertEqual(record.protsim[4].protid, "XP_002132034.1")
00054         self.assertEqual(record.protsim[4].pct, "80.15")
00055         self.assertEqual(record.protsim[4].aln, "402")
00056         self.assertEqual(record.protsim[5].org, "13616")
00057         self.assertEqual(record.protsim[5].protgi, "126339540")
00058         self.assertEqual(record.protsim[5].protid, "XP_001366844.1")
00059         self.assertEqual(record.protsim[5].pct, "97.05")
00060         self.assertEqual(record.protsim[5].aln, "405")
00061         self.assertEqual(record.protsim[6].org, "9615")
00062         self.assertEqual(record.protsim[6].protgi, "73969069")
00063         self.assertEqual(record.protsim[6].protid, "XP_531732.2")
00064         self.assertEqual(record.protsim[6].pct, "99.50")
00065         self.assertEqual(record.protsim[6].aln, "401")
00066         self.assertEqual(record.protsim[7].org, "3218")
00067         self.assertEqual(record.protsim[7].protgi, "168040500")
00068         self.assertEqual(record.protsim[7].protid, "XP_001772732.1")
00069         self.assertEqual(record.protsim[7].pct, "73.01")
00070         self.assertEqual(record.protsim[7].aln, "388")
00071         self.assertEqual(record.protsim[8].org, "9913")
00072         self.assertEqual(record.protsim[8].protgi, "27807287")
00073         self.assertEqual(record.protsim[8].protid, "NP_777140.1")
00074         self.assertEqual(record.protsim[8].pct, "99.26")
00075         self.assertEqual(record.protsim[8].aln, "401")
00076         self.assertEqual(record.protsim[9].org, "8355")
00077         self.assertEqual(record.protsim[9].protgi, "148228673")
00078         self.assertEqual(record.protsim[9].protid, "NP_001080341.1")
00079         self.assertEqual(record.protsim[9].pct, "94.04")
00080         self.assertEqual(record.protsim[9].aln, "401")
00081         self.assertEqual(record.protsim[10].org, "9258")
00082         self.assertEqual(record.protsim[10].protgi, "149585070")
00083         self.assertEqual(record.protsim[10].protid, "XP_001514408.1")
00084         self.assertEqual(record.protsim[10].pct, "97.29")
00085         self.assertEqual(record.protsim[10].aln, "367")
00086         self.assertEqual(record.protsim[11].org, "7955")
00087         self.assertEqual(record.protsim[11].protgi, "48597014")
00088         self.assertEqual(record.protsim[11].protid, "NP_001001590.1")
00089         self.assertEqual(record.protsim[11].pct, "92.31")
00090         self.assertEqual(record.protsim[11].aln, "401")
00091         self.assertEqual(record.protsim[12].org, "7227")
00092         self.assertEqual(record.protsim[12].protgi, "17737907")
00093         self.assertEqual(record.protsim[12].protid, "NP_524316.1")
00094         self.assertEqual(record.protsim[12].pct, "78.91")
00095         self.assertEqual(record.protsim[12].aln, "402")
00096         self.assertEqual(record.protsim[13].org, "28985")
00097         self.assertEqual(record.protsim[13].protgi, "50311593")
00098         self.assertEqual(record.protsim[13].protid, "XP_455822.1")
00099         self.assertEqual(record.protsim[13].pct, "72.28")
00100         self.assertEqual(record.protsim[13].aln, "385")
00101         self.assertEqual(record.protsim[14].org, "9796")
00102         self.assertEqual(record.protsim[14].protgi, "149743311")
00103         self.assertEqual(record.protsim[14].protid, "XP_001501957.1")
00104         self.assertEqual(record.protsim[14].pct, "100.00")
00105         self.assertEqual(record.protsim[14].aln, "401")
00106         self.assertEqual(record.protsim[15].org, "4896")
00107         self.assertEqual(record.protsim[15].protgi, "19115692")
00108         self.assertEqual(record.protsim[15].protid, "NP_594780.1")
00109         self.assertEqual(record.protsim[15].pct, "74.61")
00110         self.assertEqual(record.protsim[15].aln, "385")
00111         self.assertEqual(record.protsim[16].org, "4932")
00112         self.assertEqual(record.protsim[16].protgi, "6324637")
00113         self.assertEqual(record.protsim[16].protid, "NP_014706.1")
00114         self.assertEqual(record.protsim[16].pct, "72.02")
00115         self.assertEqual(record.protsim[16].aln, "385")
00116         self.assertEqual(record.protsim[17].org, "8364")
00117         self.assertEqual(record.protsim[17].protgi, "187607061")
00118         self.assertEqual(record.protsim[17].protid, "NP_001120075.1")
00119         self.assertEqual(record.protsim[17].pct, "94.54")
00120         self.assertEqual(record.protsim[17].aln, "401")
00121         self.assertEqual(record.protsim[18].org, "5911")
00122         self.assertEqual(record.protsim[18].protgi, "118389862")
00123         self.assertEqual(record.protsim[18].protid, "XP_001027976.1")
00124         self.assertEqual(record.protsim[18].pct, "64.60")
00125         self.assertEqual(record.protsim[18].aln, "386")
00126         self.assertEqual(record.protsim[19].org, "4530")
00127         self.assertEqual(record.protsim[19].protgi, "115487526")
00128         self.assertEqual(record.protsim[19].protid, "NP_001066250.1")
00129         self.assertEqual(record.protsim[19].pct, "73.20")
00130         self.assertEqual(record.protsim[19].aln, "387")
00131         self.assertEqual(record.protsim[20].org, "10116")
00132         self.assertEqual(record.protsim[20].protgi, "38454246")
00133         self.assertEqual(record.protsim[20].protid, "NP_942048.1")
00134         self.assertEqual(record.protsim[20].pct, "99.01")
00135         self.assertEqual(record.protsim[20].aln, "401")
00136         self.assertEqual(record.protsim[21].org, "5833")
00137         self.assertEqual(record.protsim[21].protgi, "124802670")
00138         self.assertEqual(record.protsim[21].protid, "XP_001347556.1")
00139         self.assertEqual(record.protsim[21].pct, "69.45")
00140         self.assertEqual(record.protsim[21].aln, "382")
00141         self.assertEqual(record.protsim[22].org, "148305")
00142         self.assertEqual(record.protsim[22].protgi, "145608344")
00143         self.assertEqual(record.protsim[22].protid, "XP_360650.2")
00144         self.assertEqual(record.protsim[22].pct, "71.28")
00145         self.assertEqual(record.protsim[22].aln, "389")
00146         self.assertEqual(record.protsim[23].org, "7668")
00147         self.assertEqual(record.protsim[23].protgi, "115725235")
00148         self.assertEqual(record.protsim[23].protid, "XP_791350.2")
00149         self.assertEqual(record.protsim[23].pct, "81.50")
00150         self.assertEqual(record.protsim[23].aln, "399")
00151         self.assertEqual(record.protsim[24].org, "3702")
00152         self.assertEqual(record.protsim[24].protgi, "15218306")
00153         self.assertEqual(record.protsim[24].protid, "NP_175009.1")
00154         self.assertEqual(record.protsim[24].pct, "71.47")
00155         self.assertEqual(record.protsim[24].aln, "387")
00156         self.assertEqual(record.protsim[25].org, "45351")
00157         self.assertEqual(record.protsim[25].protgi, "156359547")
00158         self.assertEqual(record.protsim[25].protid, "XP_001624829.1")
00159         self.assertEqual(record.protsim[25].pct, "80.10")
00160         self.assertEqual(record.protsim[25].aln, "396")
00161         self.assertEqual(record.protsim[26].org, "7091")
00162         self.assertEqual(record.protsim[26].protgi, "112982798")
00163         self.assertEqual(record.protsim[26].protid, "NP_001037126.1")
00164         self.assertEqual(record.protsim[26].pct, "80.65")
00165         self.assertEqual(record.protsim[26].aln, "402")
00166         self.assertEqual(record.protsim[27].org, "33169")
00167         self.assertEqual(record.protsim[27].protgi, "45188079")
00168         self.assertEqual(record.protsim[27].protid, "NP_984302.1")
00169         self.assertEqual(record.protsim[27].pct, "72.35")
00170         self.assertEqual(record.protsim[27].aln, "386")
00171         self.assertEqual(record.protsim[28].org, "7460")
00172         self.assertEqual(record.protsim[28].protgi, "66566113")
00173         self.assertEqual(record.protsim[28].protid, "XP_624821.1")
00174         self.assertEqual(record.protsim[28].pct, "80.89")
00175         self.assertEqual(record.protsim[28].aln, "402")
00176         self.assertEqual(record.protsim[29].org, "5141")
00177         self.assertEqual(record.protsim[29].protgi, "164424622")
00178         self.assertEqual(record.protsim[29].protid, "XP_963317.2")
00179         self.assertEqual(record.protsim[29].pct, "71.54")
00180         self.assertEqual(record.protsim[29].aln, "389")
00181         self.assertEqual(record.protsim[30].org, "6239")
00182         self.assertEqual(record.protsim[30].protgi, "71984538")
00183         self.assertEqual(record.protsim[30].protid, "NP_001021254.1")
00184         self.assertEqual(record.protsim[30].pct, "75.63")
00185         self.assertEqual(record.protsim[30].aln, "397")
00186         self.assertEqual(record.protsim[31].org, "3055")
00187         self.assertEqual(record.protsim[31].protgi, "159489312")
00188         self.assertEqual(record.protsim[31].protid, "XP_001702641.1")
00189         self.assertEqual(record.protsim[31].pct, "72.99")
00190         self.assertEqual(record.protsim[31].aln, "384")
00191         self.assertEqual(record.protsim[32].org, "7070")
00192         self.assertEqual(record.protsim[32].protgi, "189240524")
00193         self.assertEqual(record.protsim[32].protid, "XP_971875.2")
00194         self.assertEqual(record.protsim[32].pct, "76.67")
00195         self.assertEqual(record.protsim[32].aln, "402")
00196         self.assertEqual(record.protsim[33].org, "7165")
00197         self.assertEqual(record.protsim[33].protgi, "158291770")
00198         self.assertEqual(record.protsim[33].protid, "XP_313303.4")
00199         self.assertEqual(record.protsim[33].pct, "76.56")
00200         self.assertEqual(record.protsim[33].aln, "400")
00201         self.assertEqual(record.protsim[34].org, "9544")
00202         self.assertEqual(record.protsim[34].protgi, "109094341")
00203         self.assertEqual(record.protsim[34].protid, "XP_001095608.1")
00204         self.assertEqual(record.protsim[34].pct, "99.50")
00205         self.assertEqual(record.protsim[34].aln, "401")
00206         self.assertEqual(record.protsim[35].org, "7176")
00207         self.assertEqual(record.protsim[35].protgi, "170041842")
00208         self.assertEqual(record.protsim[35].protid, "XP_001848658.1")
00209         self.assertEqual(record.protsim[35].pct, "74.75")
00210         self.assertEqual(record.protsim[35].aln, "403")
00211         self.assertEqual(record.protsim[36].org, "5888")
00212         self.assertEqual(record.protsim[36].protgi, "145475213")
00213         self.assertEqual(record.protsim[36].protid, "XP_001423629.1")
00214         self.assertEqual(record.protsim[36].pct, "66.67")
00215         self.assertEqual(record.protsim[36].aln, "377")
00216         self.assertEqual(record.protsim[37].org, "9031")
00217         self.assertEqual(record.protsim[37].protgi, "57525400")
00218         self.assertEqual(record.protsim[37].protid, "NP_001006241.1")
00219         self.assertEqual(record.protsim[37].pct, "97.27")
00220         self.assertEqual(record.protsim[37].aln, "401")
00221         self.assertEqual(record.protsim[38].org, "7029")
00222         self.assertEqual(record.protsim[38].protgi, "193580256")
00223         self.assertEqual(record.protsim[38].protid, "XP_001951042.1")
00224         self.assertEqual(record.protsim[38].pct, "79.40")
00225         self.assertEqual(record.protsim[38].aln, "402")
00226         self.assertEqual(record.protsim[39].org, "9598")
00227         self.assertEqual(record.protsim[39].protgi, "114608746")
00228         self.assertEqual(record.protsim[39].protid, "XP_518669.2")
00229         self.assertEqual(record.protsim[39].pct, "93.73")
00230         self.assertEqual(record.protsim[39].aln, "381")
00231         self.assertEqual(len(record.sequence), 69)
00232         self.assertEqual(record.sequence[0].acc, "XM_001501907.1")
00233         self.assertEqual(record.sequence[0].nid, "g149743310")
00234         self.assertEqual(record.sequence[0].pid, "g149743311")
00235         self.assertEqual(record.sequence[0].seqtype, "Model")
00236         self.assertEqual(record.sequence[1].acc, "CD469355.1")
00237         self.assertEqual(record.sequence[1].nid, "g31390623")
00238         self.assertEqual(record.sequence[1].clone, "LeukoS2_3_H08_A024")
00239         self.assertEqual(record.sequence[1].end, "5'")
00240         self.assertEqual(record.sequence[1].lid, "13776")
00241         self.assertEqual(record.sequence[1].seqtype, "EST")
00242         self.assertEqual(record.sequence[1].trace, "891191391")
00243         self.assertEqual(record.sequence[2].acc, "CD535273.1")
00244         self.assertEqual(record.sequence[2].nid, "g31577688")
00245         self.assertEqual(record.sequence[2].clone, "LeukoN5_1_E01_A027")
00246         self.assertEqual(record.sequence[2].end, "5'")
00247         self.assertEqual(record.sequence[2].lid, "13843")
00248         self.assertEqual(record.sequence[2].seqtype, "EST")
00249         self.assertEqual(record.sequence[2].trace, "891188893")
00250         self.assertEqual(record.sequence[3].acc, "CD466249.1")
00251         self.assertEqual(record.sequence[3].nid, "g31387517")
00252         self.assertEqual(record.sequence[3].clone, "LeukoN2_3_E11_A024")
00253         self.assertEqual(record.sequence[3].end, "3'")
00254         self.assertEqual(record.sequence[3].lid, "13773")
00255         self.assertEqual(record.sequence[3].seqtype, "EST")
00256         self.assertEqual(record.sequence[3].trace, "891186094")
00257         self.assertEqual(record.sequence[4].acc, "CD465822.1")
00258         self.assertEqual(record.sequence[4].nid, "g31387090")
00259         self.assertEqual(record.sequence[4].clone, "LeukoN1_8_C11_A023")
00260         self.assertEqual(record.sequence[4].end, "3'")
00261         self.assertEqual(record.sequence[4].lid, "13772")
00262         self.assertEqual(record.sequence[4].seqtype, "EST")
00263         self.assertEqual(record.sequence[4].trace, "891184882")
00264         self.assertEqual(record.sequence[5].acc, "CD466309.1")
00265         self.assertEqual(record.sequence[5].nid, "g31387577")
00266         self.assertEqual(record.sequence[5].clone, "LeukoN2_3_E11_A024")
00267         self.assertEqual(record.sequence[5].end, "5'")
00268         self.assertEqual(record.sequence[5].lid, "13773")
00269         self.assertEqual(record.sequence[5].seqtype, "EST")
00270         self.assertEqual(record.sequence[5].trace, "891185997")
00271         self.assertEqual(record.sequence[6].acc, "CD465893.1")
00272         self.assertEqual(record.sequence[6].nid, "g31387161")
00273         self.assertEqual(record.sequence[6].clone, "LeukoN1_8_C11_A023")
00274         self.assertEqual(record.sequence[6].end, "5'")
00275         self.assertEqual(record.sequence[6].lid, "13772")
00276         self.assertEqual(record.sequence[6].seqtype, "EST")
00277         self.assertEqual(record.sequence[6].trace, "891185010")
00278         self.assertEqual(record.sequence[7].acc, "CD471087.1")
00279         self.assertEqual(record.sequence[7].nid, "g31392355")
00280         self.assertEqual(record.sequence[7].clone, "LeukoS5_4_H03_A027")
00281         self.assertEqual(record.sequence[7].end, "5'")
00282         self.assertEqual(record.sequence[7].lid, "13778")
00283         self.assertEqual(record.sequence[7].seqtype, "EST")
00284         self.assertEqual(record.sequence[7].trace, "891193766")
00285         self.assertEqual(record.sequence[8].acc, "CD472103.1")
00286         self.assertEqual(record.sequence[8].nid, "g31393371")
00287         self.assertEqual(record.sequence[8].clone, "LeukoS6_1_C10_A028")
00288         self.assertEqual(record.sequence[8].end, "3'")
00289         self.assertEqual(record.sequence[8].lid, "13779")
00290         self.assertEqual(record.sequence[8].seqtype, "EST")
00291         self.assertEqual(record.sequence[8].trace, "891194618")
00292         self.assertEqual(record.sequence[9].acc, "CD471067.1")
00293         self.assertEqual(record.sequence[9].nid, "g31392335")
00294         self.assertEqual(record.sequence[9].clone, "LeukoS5_4_H03_A027")
00295         self.assertEqual(record.sequence[9].end, "3'")
00296         self.assertEqual(record.sequence[9].lid, "13778")
00297         self.assertEqual(record.sequence[9].seqtype, "EST")
00298         self.assertEqual(record.sequence[9].trace, "891194175")
00299         self.assertEqual(record.sequence[10].acc, "CD470984.1")
00300         self.assertEqual(record.sequence[10].nid, "g31392252")
00301         self.assertEqual(record.sequence[10].clone, "LeukoS5_3_A04_A027")
00302         self.assertEqual(record.sequence[10].end, "5'")
00303         self.assertEqual(record.sequence[10].lid, "13778")
00304         self.assertEqual(record.sequence[10].seqtype, "EST")
00305         self.assertEqual(record.sequence[10].trace, "891194114")
00306         self.assertEqual(record.sequence[11].acc, "CD472154.1")
00307         self.assertEqual(record.sequence[11].nid, "g31393422")
00308         self.assertEqual(record.sequence[11].clone, "LeukoS6_1_H10_A028")
00309         self.assertEqual(record.sequence[11].end, "3'")
00310         self.assertEqual(record.sequence[11].lid, "13779")
00311         self.assertEqual(record.sequence[11].seqtype, "EST")
00312         self.assertEqual(record.sequence[11].trace, "891195062")
00313         self.assertEqual(record.sequence[12].acc, "CD467586.1")
00314         self.assertEqual(record.sequence[12].nid, "g31388854")
00315         self.assertEqual(record.sequence[12].clone, "LeukoS1_5_G11_A023")
00316         self.assertEqual(record.sequence[12].end, "5'")
00317         self.assertEqual(record.sequence[12].lid, "13774")
00318         self.assertEqual(record.sequence[12].seqtype, "EST")
00319         self.assertEqual(record.sequence[12].trace, "891190912")
00320         self.assertEqual(record.sequence[13].acc, "CD465578.1")
00321         self.assertEqual(record.sequence[13].nid, "g31386846")
00322         self.assertEqual(record.sequence[13].clone, "LeukoN1_5_F07_A023")
00323         self.assertEqual(record.sequence[13].end, "5'")
00324         self.assertEqual(record.sequence[13].lid, "13772")
00325         self.assertEqual(record.sequence[13].seqtype, "EST")
00326         self.assertEqual(record.sequence[13].trace, "891185096")
00327         self.assertEqual(record.sequence[14].acc, "CD465858.1")
00328         self.assertEqual(record.sequence[14].nid, "g31387126")
00329         self.assertEqual(record.sequence[14].clone, "LeukoN1_8_H04_A023")
00330         self.assertEqual(record.sequence[14].end, "3'")
00331         self.assertEqual(record.sequence[14].lid, "13772")
00332         self.assertEqual(record.sequence[14].seqtype, "EST")
00333         self.assertEqual(record.sequence[14].trace, "891185129")
00334         self.assertEqual(record.sequence[15].acc, "CD471796.1")
00335         self.assertEqual(record.sequence[15].nid, "g31393064")
00336         self.assertEqual(record.sequence[15].clone, "LeukoS6_2_D05_A028")
00337         self.assertEqual(record.sequence[15].end, "3'")
00338         self.assertEqual(record.sequence[15].lid, "13779")
00339         self.assertEqual(record.sequence[15].seqtype, "EST")
00340         self.assertEqual(record.sequence[15].trace, "891194917")
00341         self.assertEqual(record.sequence[16].acc, "CD471724.1")
00342         self.assertEqual(record.sequence[16].nid, "g31392992")
00343         self.assertEqual(record.sequence[16].clone, "LeukoS6_4_F09_A028")
00344         self.assertEqual(record.sequence[16].end, "5'")
00345         self.assertEqual(record.sequence[16].lid, "13779")
00346         self.assertEqual(record.sequence[16].seqtype, "EST")
00347         self.assertEqual(record.sequence[16].trace, "891195058")
00348         self.assertEqual(record.sequence[17].acc, "CD471610.1")
00349         self.assertEqual(record.sequence[17].nid, "g31392878")
00350         self.assertEqual(record.sequence[17].clone, "LeukoS6_4_F09_A028")
00351         self.assertEqual(record.sequence[17].end, "3'")
00352         self.assertEqual(record.sequence[17].lid, "13779")
00353         self.assertEqual(record.sequence[17].seqtype, "EST")
00354         self.assertEqual(record.sequence[17].trace, "891194846")
00355         self.assertEqual(record.sequence[18].acc, "CD535233.1")
00356         self.assertEqual(record.sequence[18].nid, "g31577648")
00357         self.assertEqual(record.sequence[18].clone, "LeukoN5_1_B08_A027")
00358         self.assertEqual(record.sequence[18].end, "5'")
00359         self.assertEqual(record.sequence[18].lid, "13843")
00360         self.assertEqual(record.sequence[18].seqtype, "EST")
00361         self.assertEqual(record.sequence[18].trace, "891188752")
00362         self.assertEqual(record.sequence[19].acc, "CD464482.1")
00363         self.assertEqual(record.sequence[19].nid, "g31385750")
00364         self.assertEqual(record.sequence[19].clone, "LeukoN4_4_D01_A026")
00365         self.assertEqual(record.sequence[19].end, "3'")
00366         self.assertEqual(record.sequence[19].lid, "13771")
00367         self.assertEqual(record.sequence[19].seqtype, "EST")
00368         self.assertEqual(record.sequence[19].trace, "891187846")
00369         self.assertEqual(record.sequence[20].acc, "CD468770.1")
00370         self.assertEqual(record.sequence[20].nid, "g31390038")
00371         self.assertEqual(record.sequence[20].clone, "LeukoS3_5_D03_A025")
00372         self.assertEqual(record.sequence[20].end, "5'")
00373         self.assertEqual(record.sequence[20].lid, "13775")
00374         self.assertEqual(record.sequence[20].seqtype, "EST")
00375         self.assertEqual(record.sequence[20].trace, "891192280")
00376         self.assertEqual(record.sequence[21].acc, "CD470966.1")
00377         self.assertEqual(record.sequence[21].nid, "g31392234")
00378         self.assertEqual(record.sequence[21].clone, "LeukoS5_3_F05_A027")
00379         self.assertEqual(record.sequence[21].end, "5'")
00380         self.assertEqual(record.sequence[21].lid, "13778")
00381         self.assertEqual(record.sequence[21].seqtype, "EST")
00382         self.assertEqual(record.sequence[21].trace, "891193981")
00383         self.assertEqual(record.sequence[22].acc, "CD536398.1")
00384         self.assertEqual(record.sequence[22].nid, "g31578813")
00385         self.assertEqual(record.sequence[22].clone, "LeukoN6_7_C09_A028")
00386         self.assertEqual(record.sequence[22].end, "5'")
00387         self.assertEqual(record.sequence[22].lid, "13844")
00388         self.assertEqual(record.sequence[22].seqtype, "EST")
00389         self.assertEqual(record.sequence[22].trace, "891184341")
00390         self.assertEqual(record.sequence[23].acc, "CD535162.1")
00391         self.assertEqual(record.sequence[23].nid, "g31577577")
00392         self.assertEqual(record.sequence[23].clone, "LeukoN5_1_E01_A027")
00393         self.assertEqual(record.sequence[23].end, "3'")
00394         self.assertEqual(record.sequence[23].lid, "13843")
00395         self.assertEqual(record.sequence[23].seqtype, "EST")
00396         self.assertEqual(record.sequence[23].trace, "891188481")
00397         self.assertEqual(record.sequence[24].acc, "CD536377.1")
00398         self.assertEqual(record.sequence[24].nid, "g31578792")
00399         self.assertEqual(record.sequence[24].clone, "LeukoN6_7_C09_A028")
00400         self.assertEqual(record.sequence[24].end, "3'")
00401         self.assertEqual(record.sequence[24].lid, "13844")
00402         self.assertEqual(record.sequence[24].seqtype, "EST")
00403         self.assertEqual(record.sequence[24].trace, "891184713")
00404         self.assertEqual(record.sequence[25].acc, "CX603705.1")
00405         self.assertEqual(record.sequence[25].nid, "g57720427")
00406         self.assertEqual(record.sequence[25].clone, "CT02036A2C09")
00407         self.assertEqual(record.sequence[25].lid, "16895")
00408         self.assertEqual(record.sequence[25].seqtype, "EST")
00409         self.assertEqual(record.sequence[26].acc, "CD470556.1")
00410         self.assertEqual(record.sequence[26].nid, "g31391824")
00411         self.assertEqual(record.sequence[26].clone, "LeukoS4_5_C09_A026")
00412         self.assertEqual(record.sequence[26].end, "5'")
00413         self.assertEqual(record.sequence[26].lid, "13777")
00414         self.assertEqual(record.sequence[26].seqtype, "EST")
00415         self.assertEqual(record.sequence[26].trace, "891193234")
00416         self.assertEqual(record.sequence[27].acc, "CD466384.1")
00417         self.assertEqual(record.sequence[27].nid, "g31387652")
00418         self.assertEqual(record.sequence[27].clone, "LeukoN2_3_A06_A024")
00419         self.assertEqual(record.sequence[27].end, "5'")
00420         self.assertEqual(record.sequence[27].lid, "13773")
00421         self.assertEqual(record.sequence[27].seqtype, "EST")
00422         self.assertEqual(record.sequence[27].trace, "891186500")
00423         self.assertEqual(record.sequence[28].acc, "CD472213.1")
00424         self.assertEqual(record.sequence[28].nid, "g31393481")
00425         self.assertEqual(record.sequence[28].clone, "LeukoS6_1_C10_A028")
00426         self.assertEqual(record.sequence[28].end, "5'")
00427         self.assertEqual(record.sequence[28].lid, "13779")
00428         self.assertEqual(record.sequence[28].seqtype, "EST")
00429         self.assertEqual(record.sequence[28].trace, "891194841")
00430         self.assertEqual(record.sequence[29].acc, "DN510913.1")
00431         self.assertEqual(record.sequence[29].nid, "g60721103")
00432         self.assertEqual(record.sequence[29].clone, "HL02021A2C09")
00433         self.assertEqual(record.sequence[29].lid, "17147")
00434         self.assertEqual(record.sequence[29].seqtype, "EST")
00435         self.assertEqual(record.sequence[30].acc, "CD472329.1")
00436         self.assertEqual(record.sequence[30].nid, "g31393597")
00437         self.assertEqual(record.sequence[30].clone, "LeukoS6_5_H05_A028")
00438         self.assertEqual(record.sequence[30].end, "3'")
00439         self.assertEqual(record.sequence[30].lid, "13779")
00440         self.assertEqual(record.sequence[30].seqtype, "EST")
00441         self.assertEqual(record.sequence[30].trace, "891195397")
00442         self.assertEqual(record.sequence[31].acc, "CD536804.1")
00443         self.assertEqual(record.sequence[31].nid, "g31579219")
00444         self.assertEqual(record.sequence[31].clone, "LeukoN6_6_F12_A028")
00445         self.assertEqual(record.sequence[31].end, "3'")
00446         self.assertEqual(record.sequence[31].lid, "13844")
00447         self.assertEqual(record.sequence[31].seqtype, "EST")
00448         self.assertEqual(record.sequence[31].trace, "891184838")
00449         self.assertEqual(record.sequence[32].acc, "CD466071.1")
00450         self.assertEqual(record.sequence[32].nid, "g31387339")
00451         self.assertEqual(record.sequence[32].clone, "LeukoN2_1_E06_A024")
00452         self.assertEqual(record.sequence[32].end, "5'")
00453         self.assertEqual(record.sequence[32].lid, "13773")
00454         self.assertEqual(record.sequence[32].seqtype, "EST")
00455         self.assertEqual(record.sequence[32].trace, "891186571")
00456         self.assertEqual(record.sequence[33].acc, "CD471909.1")
00457         self.assertEqual(record.sequence[33].nid, "g31393177")
00458         self.assertEqual(record.sequence[33].clone, "LeukoS6_2_D05_A028")
00459         self.assertEqual(record.sequence[33].end, "5'")
00460         self.assertEqual(record.sequence[33].lid, "13779")
00461         self.assertEqual(record.sequence[33].seqtype, "EST")
00462         self.assertEqual(record.sequence[33].trace, "891195132")
00463         self.assertEqual(record.sequence[34].acc, "CD465985.1")
00464         self.assertEqual(record.sequence[34].nid, "g31387253")
00465         self.assertEqual(record.sequence[34].clone, "LeukoN2_1_E06_A024")
00466         self.assertEqual(record.sequence[34].end, "3'")
00467         self.assertEqual(record.sequence[34].lid, "13773")
00468         self.assertEqual(record.sequence[34].seqtype, "EST")
00469         self.assertEqual(record.sequence[34].trace, "891186530")
00470         self.assertEqual(record.sequence[35].acc, "CD471244.1")
00471         self.assertEqual(record.sequence[35].nid, "g31392512")
00472         self.assertEqual(record.sequence[35].clone, "LeukoS5_1_F09_A027")
00473         self.assertEqual(record.sequence[35].end, "5'")
00474         self.assertEqual(record.sequence[35].lid, "13778")
00475         self.assertEqual(record.sequence[35].seqtype, "EST")
00476         self.assertEqual(record.sequence[35].trace, "891193761")
00477         self.assertEqual(record.sequence[36].acc, "DN508615.1")
00478         self.assertEqual(record.sequence[36].nid, "g60718805")
00479         self.assertEqual(record.sequence[36].clone, "HL02013A1F04")
00480         self.assertEqual(record.sequence[36].lid, "17147")
00481         self.assertEqual(record.sequence[36].seqtype, "EST")
00482         self.assertEqual(record.sequence[37].acc, "CD465146.1")
00483         self.assertEqual(record.sequence[37].nid, "g31386414")
00484         self.assertEqual(record.sequence[37].clone, "LeukoN1_2_E04_A023")
00485         self.assertEqual(record.sequence[37].end, "3'")
00486         self.assertEqual(record.sequence[37].lid, "13772")
00487         self.assertEqual(record.sequence[37].seqtype, "EST")
00488         self.assertEqual(record.sequence[37].trace, "891185503")
00489         self.assertEqual(record.sequence[38].acc, "CD465620.1")
00490         self.assertEqual(record.sequence[38].nid, "g31386888")
00491         self.assertEqual(record.sequence[38].clone, "LeukoN1_6_E09_A023")
00492         self.assertEqual(record.sequence[38].end, "3'")
00493         self.assertEqual(record.sequence[38].lid, "13772")
00494         self.assertEqual(record.sequence[38].seqtype, "EST")
00495         self.assertEqual(record.sequence[38].trace, "891184965")
00496         self.assertEqual(record.sequence[39].acc, "CD472042.1")
00497         self.assertEqual(record.sequence[39].nid, "g31393310")
00498         self.assertEqual(record.sequence[39].clone, "LeukoS6_3_F02_A028")
00499         self.assertEqual(record.sequence[39].end, "5'")
00500         self.assertEqual(record.sequence[39].lid, "13779")
00501         self.assertEqual(record.sequence[39].seqtype, "EST")
00502         self.assertEqual(record.sequence[39].trace, "891194801")
00503         self.assertEqual(record.sequence[40].acc, "CD471148.1")
00504         self.assertEqual(record.sequence[40].nid, "g31392416")
00505         self.assertEqual(record.sequence[40].clone, "LeukoS5_4_F11_A027")
00506         self.assertEqual(record.sequence[40].end, "5'")
00507         self.assertEqual(record.sequence[40].lid, "13778")
00508         self.assertEqual(record.sequence[40].seqtype, "EST")
00509         self.assertEqual(record.sequence[40].trace, "891194177")
00510         self.assertEqual(record.sequence[41].acc, "CD466241.1")
00511         self.assertEqual(record.sequence[41].nid, "g31387509")
00512         self.assertEqual(record.sequence[41].clone, "LeukoN2_3_A06_A024")
00513         self.assertEqual(record.sequence[41].end, "3'")
00514         self.assertEqual(record.sequence[41].lid, "13773")
00515         self.assertEqual(record.sequence[41].seqtype, "EST")
00516         self.assertEqual(record.sequence[41].trace, "891186007")
00517         self.assertEqual(record.sequence[42].acc, "CD472182.1")
00518         self.assertEqual(record.sequence[42].nid, "g31393450")
00519         self.assertEqual(record.sequence[42].clone, "LeukoS6_1_H10_A028")
00520         self.assertEqual(record.sequence[42].end, "5'")
00521         self.assertEqual(record.sequence[42].lid, "13779")
00522         self.assertEqual(record.sequence[42].seqtype, "EST")
00523         self.assertEqual(record.sequence[42].trace, "891194593")
00524         self.assertEqual(record.sequence[43].acc, "CD470462.1")
00525         self.assertEqual(record.sequence[43].nid, "g31391730")
00526         self.assertEqual(record.sequence[43].clone, "LeukoS4_5_C12_A026")
00527         self.assertEqual(record.sequence[43].end, "3'")
00528         self.assertEqual(record.sequence[43].lid, "13777")
00529         self.assertEqual(record.sequence[43].seqtype, "EST")
00530         self.assertEqual(record.sequence[43].trace, "891193322")
00531         self.assertEqual(record.sequence[44].acc, "CX596662.1")
00532         self.assertEqual(record.sequence[44].nid, "g57706330")
00533         self.assertEqual(record.sequence[44].clone, "CT020015A10A06")
00534         self.assertEqual(record.sequence[44].lid, "16895")
00535         self.assertEqual(record.sequence[44].seqtype, "EST")
00536         self.assertEqual(record.sequence[45].acc, "CD536825.1")
00537         self.assertEqual(record.sequence[45].nid, "g31579240")
00538         self.assertEqual(record.sequence[45].clone, "LeukoN6_6_F12_A028")
00539         self.assertEqual(record.sequence[45].end, "5'")
00540         self.assertEqual(record.sequence[45].lid, "13844")
00541         self.assertEqual(record.sequence[45].seqtype, "EST")
00542         self.assertEqual(record.sequence[45].trace, "891184460")
00543         self.assertEqual(record.sequence[46].acc, "CD471373.1")
00544         self.assertEqual(record.sequence[46].nid, "g31392641")
00545         self.assertEqual(record.sequence[46].clone, "LeukoS5_5_H05_A027")
00546         self.assertEqual(record.sequence[46].end, "3'")
00547         self.assertEqual(record.sequence[46].lid, "13778")
00548         self.assertEqual(record.sequence[46].seqtype, "EST")
00549         self.assertEqual(record.sequence[46].trace, "891194564")
00550         self.assertEqual(record.sequence[47].acc, "CD470875.1")
00551         self.assertEqual(record.sequence[47].nid, "g31392143")
00552         self.assertEqual(record.sequence[47].clone, "LeukoS5_3_F05_A027")
00553         self.assertEqual(record.sequence[47].end, "3'")
00554         self.assertEqual(record.sequence[47].lid, "13778")
00555         self.assertEqual(record.sequence[47].seqtype, "EST")
00556         self.assertEqual(record.sequence[47].trace, "891193793")
00557         self.assertEqual(record.sequence[48].acc, "CD470392.1")
00558         self.assertEqual(record.sequence[48].nid, "g31391660")
00559         self.assertEqual(record.sequence[48].clone, "LeukoS4_4_G05_A026")
00560         self.assertEqual(record.sequence[48].end, "3'")
00561         self.assertEqual(record.sequence[48].lid, "13777")
00562         self.assertEqual(record.sequence[48].seqtype, "EST")
00563         self.assertEqual(record.sequence[48].trace, "891193723")
00564         self.assertEqual(record.sequence[49].acc, "DN509023.1")
00565         self.assertEqual(record.sequence[49].nid, "g60719213")
00566         self.assertEqual(record.sequence[49].clone, "HL02014B1D10")
00567         self.assertEqual(record.sequence[49].lid, "17147")
00568         self.assertEqual(record.sequence[49].seqtype, "EST")
00569         self.assertEqual(record.sequence[50].acc, "CD471226.1")
00570         self.assertEqual(record.sequence[50].nid, "g31392494")
00571         self.assertEqual(record.sequence[50].clone, "LeukoS5_1_F09_A027")
00572         self.assertEqual(record.sequence[50].end, "3'")
00573         self.assertEqual(record.sequence[50].lid, "13778")
00574         self.assertEqual(record.sequence[50].seqtype, "EST")
00575         self.assertEqual(record.sequence[50].trace, "891194172")
00576         self.assertEqual(record.sequence[51].acc, "CD470547.1")
00577         self.assertEqual(record.sequence[51].nid, "g31391815")
00578         self.assertEqual(record.sequence[51].clone, "LeukoS4_5_C12_A026")
00579         self.assertEqual(record.sequence[51].end, "5'")
00580         self.assertEqual(record.sequence[51].lid, "13777")
00581         self.assertEqual(record.sequence[51].seqtype, "EST")
00582         self.assertEqual(record.sequence[51].trace, "891193220")
00583         self.assertEqual(record.sequence[52].acc, "CX593399.1")
00584         self.assertEqual(record.sequence[52].nid, "g57699803")
00585         self.assertEqual(record.sequence[52].clone, "CT020005A10B06")
00586         self.assertEqual(record.sequence[52].lid, "16895")
00587         self.assertEqual(record.sequence[52].seqtype, "EST")
00588         self.assertEqual(record.sequence[53].acc, "CD465261.1")
00589         self.assertEqual(record.sequence[53].nid, "g31386529")
00590         self.assertEqual(record.sequence[53].clone, "LeukoN1_2_E04_A023")
00591         self.assertEqual(record.sequence[53].end, "5'")
00592         self.assertEqual(record.sequence[53].lid, "13772")
00593         self.assertEqual(record.sequence[53].seqtype, "EST")
00594         self.assertEqual(record.sequence[53].trace, "891185735")
00595         self.assertEqual(record.sequence[54].acc, "CD470468.1")
00596         self.assertEqual(record.sequence[54].nid, "g31391736")
00597         self.assertEqual(record.sequence[54].clone, "LeukoS4_5_C09_A026")
00598         self.assertEqual(record.sequence[54].end, "3'")
00599         self.assertEqual(record.sequence[54].lid, "13777")
00600         self.assertEqual(record.sequence[54].seqtype, "EST")
00601         self.assertEqual(record.sequence[54].trace, "891193330")
00602         self.assertEqual(record.sequence[55].acc, "CX594874.1")
00603         self.assertEqual(record.sequence[55].nid, "g57702753")
00604         self.assertEqual(record.sequence[55].clone, "CT020009B10E10")
00605         self.assertEqual(record.sequence[55].lid, "16895")
00606         self.assertEqual(record.sequence[55].seqtype, "EST")
00607         self.assertEqual(record.sequence[56].acc, "CD464520.1")
00608         self.assertEqual(record.sequence[56].nid, "g31385788")
00609         self.assertEqual(record.sequence[56].clone, "LeukoN4_4_D01_A026")
00610         self.assertEqual(record.sequence[56].end, "5'")
00611         self.assertEqual(record.sequence[56].lid, "13771")
00612         self.assertEqual(record.sequence[56].seqtype, "EST")
00613         self.assertEqual(record.sequence[56].trace, "891188021")
00614         self.assertEqual(record.sequence[57].acc, "AW260814.1")
00615         self.assertEqual(record.sequence[57].nid, "g6636524")
00616         self.assertEqual(record.sequence[57].end, "5'")
00617         self.assertEqual(record.sequence[57].lid, "2777")
00618         self.assertEqual(record.sequence[57].seqtype, "EST")
00619         self.assertEqual(record.sequence[58].acc, "CD465691.1")
00620         self.assertEqual(record.sequence[58].nid, "g31386959")
00621         self.assertEqual(record.sequence[58].clone, "LeukoN1_6_E09_A023")
00622         self.assertEqual(record.sequence[58].end, "5'")
00623         self.assertEqual(record.sequence[58].lid, "13772")
00624         self.assertEqual(record.sequence[58].seqtype, "EST")
00625         self.assertEqual(record.sequence[58].trace, "891185089")
00626         self.assertEqual(record.sequence[59].acc, "CX595434.1")
00627         self.assertEqual(record.sequence[59].nid, "g57703875")
00628         self.assertEqual(record.sequence[59].clone, "CT020011A20F11")
00629         self.assertEqual(record.sequence[59].lid, "16895")
00630         self.assertEqual(record.sequence[59].seqtype, "EST")
00631         self.assertEqual(record.sequence[60].acc, "CD464759.1")
00632         self.assertEqual(record.sequence[60].nid, "g31386027")
00633         self.assertEqual(record.sequence[60].clone, "LeukoN4_6_A09_A026")
00634         self.assertEqual(record.sequence[60].end, "5'")
00635         self.assertEqual(record.sequence[60].lid, "13771")
00636         self.assertEqual(record.sequence[60].seqtype, "EST")
00637         self.assertEqual(record.sequence[60].trace, "891188174")
00638         self.assertEqual(record.sequence[61].acc, "CD469441.1")
00639         self.assertEqual(record.sequence[61].nid, "g31390709")
00640         self.assertEqual(record.sequence[61].clone, "LeukoS2_3_F03_A024")
00641         self.assertEqual(record.sequence[61].end, "5'")
00642         self.assertEqual(record.sequence[61].lid, "13776")
00643         self.assertEqual(record.sequence[61].seqtype, "EST")
00644         self.assertEqual(record.sequence[61].trace, "946412740")
00645         self.assertEqual(record.sequence[62].acc, "CD471416.1")
00646         self.assertEqual(record.sequence[62].nid, "g31392684")
00647         self.assertEqual(record.sequence[62].clone, "LeukoS5_5_H05_A027")
00648         self.assertEqual(record.sequence[62].end, "5'")
00649         self.assertEqual(record.sequence[62].lid, "13778")
00650         self.assertEqual(record.sequence[62].seqtype, "EST")
00651         self.assertEqual(record.sequence[62].trace, "891194460")
00652         self.assertEqual(record.sequence[63].acc, "CD536439.1")
00653         self.assertEqual(record.sequence[63].nid, "g31578854")
00654         self.assertEqual(record.sequence[63].clone, "LeukoN6_7_B04_A028")
00655         self.assertEqual(record.sequence[63].end, "5'")
00656         self.assertEqual(record.sequence[63].lid, "13844")
00657         self.assertEqual(record.sequence[63].seqtype, "EST")
00658         self.assertEqual(record.sequence[63].trace, "891184662")
00659         self.assertEqual(record.sequence[64].acc, "CX605282.1")
00660         self.assertEqual(record.sequence[64].nid, "g57723597")
00661         self.assertEqual(record.sequence[64].clone, "CT02041A1A07")
00662         self.assertEqual(record.sequence[64].lid, "16895")
00663         self.assertEqual(record.sequence[64].seqtype, "EST")
00664         self.assertEqual(record.sequence[65].acc, "CD464302.1")
00665         self.assertEqual(record.sequence[65].nid, "g31385570")
00666         self.assertEqual(record.sequence[65].clone, "LeukoN4_3_B01_A026")
00667         self.assertEqual(record.sequence[65].end, "3'")
00668         self.assertEqual(record.sequence[65].lid, "13771")
00669         self.assertEqual(record.sequence[65].seqtype, "EST")
00670         self.assertEqual(record.sequence[65].trace, "891187636")
00671         self.assertEqual(record.sequence[66].acc, "CD469295.1")
00672         self.assertEqual(record.sequence[66].nid, "g31390563")
00673         self.assertEqual(record.sequence[66].clone, "LeukoS2_3_F03_A024")
00674         self.assertEqual(record.sequence[66].end, "3'")
00675         self.assertEqual(record.sequence[66].lid, "13776")
00676         self.assertEqual(record.sequence[66].seqtype, "EST")
00677         self.assertEqual(record.sequence[66].trace, "891191446")
00678         self.assertEqual(record.sequence[67].acc, "CD470883.1")
00679         self.assertEqual(record.sequence[67].nid, "g31392151")
00680         self.assertEqual(record.sequence[67].clone, "LeukoS5_3_G08_A027")
00681         self.assertEqual(record.sequence[67].end, "3'")
00682         self.assertEqual(record.sequence[67].lid, "13778")
00683         self.assertEqual(record.sequence[67].seqtype, "EST")
00684         self.assertEqual(record.sequence[67].trace, "891193865")
00685         self.assertEqual(record.sequence[68].acc, "CD468749.1")
00686         self.assertEqual(record.sequence[68].nid, "g31390017")
00687         self.assertEqual(record.sequence[68].clone, "LeukoS3_5_E02_A025")
00688         self.assertEqual(record.sequence[68].end, "5'")
00689         self.assertEqual(record.sequence[68].lid, "13775")
00690         self.assertEqual(record.sequence[68].seqtype, "EST")
00691         self.assertEqual(record.sequence[68].trace, "891192160")
00692 
00693         # Second record
00694         record = records.next()
00695 
00696         self.assertEqual(record.ID, "Eca.2425")
00697         self.assertEqual(record.title, "Immunoglobulin-like transcript 11 protein")
00698         self.assertEqual(record.symbol, "ILT11B")
00699         self.assertEqual(record.cytoband, "10p12")
00700         self.assertEqual(record.gene_id, "100034238")
00701         self.assertEqual(record.locuslink, "100034238")
00702         self.assertEqual(record.homol, True)
00703         self.assertEqual(record.express, ["blood", "adult"])
00704         self.assertEqual(len(record.protsim), 11)
00705         self.assertEqual(record.protsim[0].org, "10090")
00706         self.assertEqual(record.protsim[0].protgi, "156766061")
00707         self.assertEqual(record.protsim[0].protid, "NP_001074708.2")
00708         self.assertEqual(record.protsim[0].pct, "50.00")
00709         self.assertEqual(record.protsim[0].aln, "281")
00710         self.assertEqual(record.protsim[1].org, "9606")
00711         self.assertEqual(record.protsim[1].protgi, "32490553")
00712         self.assertEqual(record.protsim[1].protid, "NP_067073.1")
00713         self.assertEqual(record.protsim[1].pct, "62.42")
00714         self.assertEqual(record.protsim[1].aln, "296")
00715         self.assertEqual(record.protsim[2].org, "13616")
00716         self.assertEqual(record.protsim[2].protgi, "126346255")
00717         self.assertEqual(record.protsim[2].protid, "XP_001375479.1")
00718         self.assertEqual(record.protsim[2].pct, "40.43")
00719         self.assertEqual(record.protsim[2].aln, "281")
00720         self.assertEqual(record.protsim[3].org, "9615")
00721         self.assertEqual(record.protsim[3].protgi, "73947540")
00722         self.assertEqual(record.protsim[3].protid, "XP_854148.1")
00723         self.assertEqual(record.protsim[3].pct, "42.11")
00724         self.assertEqual(record.protsim[3].aln, "303")
00725         self.assertEqual(record.protsim[4].org, "9913")
00726         self.assertEqual(record.protsim[4].protgi, "194674905")
00727         self.assertEqual(record.protsim[4].protid, "XP_001788837.1")
00728         self.assertEqual(record.protsim[4].pct, "61.11")
00729         self.assertEqual(record.protsim[4].aln, "233")
00730         self.assertEqual(record.protsim[5].org, "9258")
00731         self.assertEqual(record.protsim[5].protgi, "149631692")
00732         self.assertEqual(record.protsim[5].protid, "XP_001516158.1")
00733         self.assertEqual(record.protsim[5].pct, "35.65")
00734         self.assertEqual(record.protsim[5].aln, "229")
00735         self.assertEqual(record.protsim[6].org, "9796")
00736         self.assertEqual(record.protsim[6].protgi, "146262003")
00737         self.assertEqual(record.protsim[6].protid, "NP_001075996.1")
00738         self.assertEqual(record.protsim[6].pct, "100.00")
00739         self.assertEqual(record.protsim[6].aln, "279")
00740         self.assertEqual(record.protsim[7].org, "10116")
00741         self.assertEqual(record.protsim[7].protgi, "109461031")
00742         self.assertEqual(record.protsim[7].protid, "XP_001065532.1")
00743         self.assertEqual(record.protsim[7].pct, "52.77")
00744         self.assertEqual(record.protsim[7].aln, "269")
00745         self.assertEqual(record.protsim[8].org, "9544")
00746         self.assertEqual(record.protsim[8].protgi, "100818611")
00747         self.assertEqual(record.protsim[8].protid, "NP_001035767.1")
00748         self.assertEqual(record.protsim[8].pct, "57.35")
00749         self.assertEqual(record.protsim[8].aln, "277")
00750         self.assertEqual(record.protsim[9].org, "9823")
00751         self.assertEqual(record.protsim[9].protgi, "178057314")
00752         self.assertEqual(record.protsim[9].protid, "NP_001116615.1")
00753         self.assertEqual(record.protsim[9].pct, "43.01")
00754         self.assertEqual(record.protsim[9].aln, "278")
00755         self.assertEqual(record.protsim[10].org, "9598")
00756         self.assertEqual(record.protsim[10].protgi, "58801536")
00757         self.assertEqual(record.protsim[10].protid, "NP_001009045.1")
00758         self.assertEqual(record.protsim[10].pct, "54.51")
00759         self.assertEqual(record.protsim[10].aln, "276")
00760         self.assertEqual(len(record.sequence), 9)
00761         self.assertEqual(record.sequence[0].acc, "AB120409.1")
00762         self.assertEqual(record.sequence[0].nid, "g45597282")
00763         self.assertEqual(record.sequence[0].pid, "g45597283")
00764         self.assertEqual(record.sequence[0].seqtype, "mRNA")
00765         self.assertEqual(record.sequence[1].acc, "NM_001082527.1")
00766         self.assertEqual(record.sequence[1].nid, "g146262002")
00767         self.assertEqual(record.sequence[1].pid, "g146262003")
00768         self.assertEqual(record.sequence[1].seqtype, "mRNA")
00769         self.assertEqual(record.sequence[2].acc, "AB120410.1")
00770         self.assertEqual(record.sequence[2].nid, "g45597284")
00771         self.assertEqual(record.sequence[2].pid, "g45597285")
00772         self.assertEqual(record.sequence[2].seqtype, "mRNA")
00773         self.assertEqual(record.sequence[3].acc, "AB120411.1")
00774         self.assertEqual(record.sequence[3].nid, "g45597286")
00775         self.assertEqual(record.sequence[3].pid, "g45597287")
00776         self.assertEqual(record.sequence[3].seqtype, "mRNA")
00777         self.assertEqual(record.sequence[4].acc, "CD467202.1")
00778         self.assertEqual(record.sequence[4].nid, "g31388470")
00779         self.assertEqual(record.sequence[4].clone, "LeukoS1_2_D11_A023")
00780         self.assertEqual(record.sequence[4].end, "5'")
00781         self.assertEqual(record.sequence[4].lid, "13774")
00782         self.assertEqual(record.sequence[4].seqtype, "EST")
00783         self.assertEqual(record.sequence[4].trace, "891190473")
00784         self.assertEqual(record.sequence[5].acc, "CD535974.1")
00785         self.assertEqual(record.sequence[5].nid, "g31578389")
00786         self.assertEqual(record.sequence[5].clone, "LeukoN6_2_F07_A028")
00787         self.assertEqual(record.sequence[5].end, "3'")
00788         self.assertEqual(record.sequence[5].lid, "13844")
00789         self.assertEqual(record.sequence[5].seqtype, "EST")
00790         self.assertEqual(record.sequence[5].trace, "891184067")
00791         self.assertEqual(record.sequence[6].acc, "CD469544.1")
00792         self.assertEqual(record.sequence[6].nid, "g31390812")
00793         self.assertEqual(record.sequence[6].clone, "LeukoS2_4_D05_A024")
00794         self.assertEqual(record.sequence[6].end, "5'")
00795         self.assertEqual(record.sequence[6].lid, "13776")
00796         self.assertEqual(record.sequence[6].seqtype, "EST")
00797         self.assertEqual(record.sequence[6].trace, "891191700")
00798         self.assertEqual(record.sequence[7].acc, "CD528742.1")
00799         self.assertEqual(record.sequence[7].nid, "g31567364")
00800         self.assertEqual(record.sequence[7].clone, "LeukoN3_7_F08_A025")
00801         self.assertEqual(record.sequence[7].end, "3'")
00802         self.assertEqual(record.sequence[7].lid, "13842")
00803         self.assertEqual(record.sequence[7].seqtype, "EST")
00804         self.assertEqual(record.sequence[7].trace, "891187302")
00805         self.assertEqual(record.sequence[8].acc, "CD469487.1")
00806         self.assertEqual(record.sequence[8].nid, "g31390755")
00807         self.assertEqual(record.sequence[8].clone, "LeukoS2_4_D05_A024")
00808         self.assertEqual(record.sequence[8].end, "3'")
00809         self.assertEqual(record.sequence[8].lid, "13776")
00810         self.assertEqual(record.sequence[8].seqtype, "EST")
00811         self.assertEqual(record.sequence[8].trace, "891191801")
00812 
00813         # Make sure that there are no more records
00814         self.assertRaises(StopIteration, records.next)
00815 
00816         handle.close()

Here is the call graph for this function:

Definition at line 817 of file test_UniGene.py.

00817 
00818     def test_read(self):
00819 
00820         #Start of the UniGene file for Homo sapiens downloaded from:
00821         #ftp://ftp.ncbi.nih.gov/repository/UniGene/Homo_sapiens
00822         handle = open("UniGene/Hs.2.data")
00823 
00824         record = UniGene.read(handle)
00825         self.assertEqual(record.ID, "Hs.2")
00826         self.assertEqual(record.title, "N-acetyltransferase 2 (arylamine N-acetyltransferase)")
00827         self.assertEqual(record.symbol, "NAT2")
00828         self.assertEqual(record.cytoband, "8p22")
00829         self.assertEqual(record.gene_id, "10")
00830         self.assertEqual(record.locuslink, "10")
00831         self.assertEqual(record.homol, True)
00832         self.assertEqual(record.express, ["bone", "connective tissue", "intestine", "liver", "liver tumor", "normal", "soft tissue/muscle tissue tumor", "adult"])
00833         self.assertEqual(record.restr_expr, ["adult"])
00834         self.assertEqual(record.chromosome, "8")
00835         self.assertEqual(len(record.sts), 7)
00836         self.assertEqual(record.sts[0].acc, "PMC310725P3")
00837         self.assertEqual(record.sts[0].unists, "272646")
00838         self.assertEqual(record.sts[1].acc, "WIAF-2120")
00839         self.assertEqual(record.sts[1].unists, "44576")
00840         self.assertEqual(record.sts[2].acc, "G59899")
00841         self.assertEqual(record.sts[2].unists, "137181")
00842         self.assertEqual(record.sts[3].acc, "G06461")
00843         self.assertEqual(record.sts[3].unists, "17088")
00844         self.assertEqual(record.sts[4].acc, "GDB:310612")
00845         self.assertEqual(record.sts[4].unists, "156422")
00846         self.assertEqual(record.sts[5].acc, "GDB:310613")
00847         self.assertEqual(record.sts[5].unists, "156423")
00848         self.assertEqual(record.sts[6].acc, "GDB:187676")
00849         self.assertEqual(record.sts[6].unists, "155563")
00850         self.assertEqual(len(record.protsim), 13)
00851         self.assertEqual(record.protsim[0].org, "10090")
00852         self.assertEqual(record.protsim[0].protgi, "6754794")
00853         self.assertEqual(record.protsim[0].protid, "NP_035004.1")
00854         self.assertEqual(record.protsim[0].pct, "76.55")
00855         self.assertEqual(record.protsim[0].aln, "288")
00856         self.assertEqual(record.protsim[1].org, "9796")
00857         self.assertEqual(record.protsim[1].protgi, "149742490")
00858         self.assertEqual(record.protsim[1].protid, "XP_001487907.1")
00859         self.assertEqual(record.protsim[1].pct, "79.66")
00860         self.assertEqual(record.protsim[1].aln, "288")
00861         self.assertEqual(record.protsim[2].org, "9986")
00862         self.assertEqual(record.protsim[2].protgi, "126722851")
00863         self.assertEqual(record.protsim[2].protid, "NP_001075655.1")
00864         self.assertEqual(record.protsim[2].pct, "76.90")
00865         self.assertEqual(record.protsim[2].aln, "288")
00866         self.assertEqual(record.protsim[3].org, "9544")
00867         self.assertEqual(record.protsim[3].protgi, "113461974")
00868         self.assertEqual(record.protsim[3].protid, "NP_001038201.1")
00869         self.assertEqual(record.protsim[3].pct, "93.10")
00870         self.assertEqual(record.protsim[3].aln, "288")
00871         self.assertEqual(record.protsim[4].org, "9606")
00872         self.assertEqual(record.protsim[4].protgi, "116295260")
00873         self.assertEqual(record.protsim[4].protid, "NP_000006.2")
00874         self.assertEqual(record.protsim[4].pct, "100.00")
00875         self.assertEqual(record.protsim[4].aln, "288")
00876         self.assertEqual(record.protsim[5].org, "7719")
00877         self.assertEqual(record.protsim[5].protgi, "198423589")
00878         self.assertEqual(record.protsim[5].protid, "XP_002126320.1")
00879         self.assertEqual(record.protsim[5].pct, "29.46")
00880         self.assertEqual(record.protsim[5].aln, "240")
00881         self.assertEqual(record.protsim[6].org, "10116")
00882         self.assertEqual(record.protsim[6].protgi, "16758720")
00883         self.assertEqual(record.protsim[6].protid, "NP_446306.1")
00884         self.assertEqual(record.protsim[6].pct, "75.52")
00885         self.assertEqual(record.protsim[6].aln, "288")
00886         self.assertEqual(record.protsim[7].org, "13616")
00887         self.assertEqual(record.protsim[7].protgi, "126303190")
00888         self.assertEqual(record.protsim[7].protid, "XP_001371814.1")
00889         self.assertEqual(record.protsim[7].pct, "63.67")
00890         self.assertEqual(record.protsim[7].aln, "287")
00891         self.assertEqual(record.protsim[8].org, "9031")
00892         self.assertEqual(record.protsim[8].protgi, "45384408")
00893         self.assertEqual(record.protsim[8].protid, "NP_990671.1")
00894         self.assertEqual(record.protsim[8].pct, "57.93")
00895         self.assertEqual(record.protsim[8].aln, "288")
00896         self.assertEqual(record.protsim[9].org, "9913")
00897         self.assertEqual(record.protsim[9].protgi, "115497526")
00898         self.assertEqual(record.protsim[9].protid, "NP_001069040.1")
00899         self.assertEqual(record.protsim[9].pct, "80.34")
00900         self.assertEqual(record.protsim[9].aln, "288")
00901         self.assertEqual(record.protsim[10].org, "9258")
00902         self.assertEqual(record.protsim[10].protgi, "149640224")
00903         self.assertEqual(record.protsim[10].protid, "XP_001508302.1")
00904         self.assertEqual(record.protsim[10].pct, "62.37")
00905         self.assertEqual(record.protsim[10].aln, "278")
00906         self.assertEqual(record.protsim[11].org, "7955")
00907         self.assertEqual(record.protsim[11].protgi, "125821897")
00908         self.assertEqual(record.protsim[11].protid, "XP_001334322.1")
00909         self.assertEqual(record.protsim[11].pct, "43.21")
00910         self.assertEqual(record.protsim[11].aln, "279")
00911         self.assertEqual(record.protsim[12].org, "9598")
00912         self.assertEqual(record.protsim[12].protgi, "114619004")
00913         self.assertEqual(record.protsim[12].protid, "XP_519631.2")
00914         self.assertEqual(record.protsim[12].pct, "98.28")
00915         self.assertEqual(record.protsim[12].aln, "288")
00916         self.assertEqual(len(record.sequence), 38)
00917         self.assertEqual(record.sequence[0].acc, "BC067218.1")
00918         self.assertEqual(record.sequence[0].nid, "g45501306")
00919         self.assertEqual(record.sequence[0].pid, "g45501307")
00920         self.assertEqual(record.sequence[0].seqtype, "mRNA")
00921         self.assertEqual(record.sequence[1].acc, "NM_000015.2")
00922         self.assertEqual(record.sequence[1].nid, "g116295259")
00923         self.assertEqual(record.sequence[1].pid, "g116295260")
00924         self.assertEqual(record.sequence[1].seqtype, "mRNA")
00925         self.assertEqual(record.sequence[2].acc, "D90042.1")
00926         self.assertEqual(record.sequence[2].nid, "g219415")
00927         self.assertEqual(record.sequence[2].pid, "g219416")
00928         self.assertEqual(record.sequence[2].seqtype, "mRNA")
00929         self.assertEqual(record.sequence[3].acc, "D90040.1")
00930         self.assertEqual(record.sequence[3].nid, "g219411")
00931         self.assertEqual(record.sequence[3].pid, "g219412")
00932         self.assertEqual(record.sequence[3].seqtype, "mRNA")
00933         self.assertEqual(record.sequence[4].acc, "BC015878.1")
00934         self.assertEqual(record.sequence[4].nid, "g16198419")
00935         self.assertEqual(record.sequence[4].pid, "g16198420")
00936         self.assertEqual(record.sequence[4].seqtype, "mRNA")
00937         self.assertEqual(record.sequence[5].acc, "CR407631.1")
00938         self.assertEqual(record.sequence[5].nid, "g47115198")
00939         self.assertEqual(record.sequence[5].pid, "g47115199")
00940         self.assertEqual(record.sequence[5].seqtype, "mRNA")
00941         self.assertEqual(record.sequence[6].acc, "BG569293.1")
00942         self.assertEqual(record.sequence[6].nid, "g13576946")
00943         self.assertEqual(record.sequence[6].clone, "IMAGE:4722596")
00944         self.assertEqual(record.sequence[6].end, "5'")
00945         self.assertEqual(record.sequence[6].lid, "6989")
00946         self.assertEqual(record.sequence[6].seqtype, "EST")
00947         self.assertEqual(record.sequence[6].trace, "44157214")
00948         self.assertEqual(record.sequence[7].acc, "AI792606.1")
00949         self.assertEqual(record.sequence[7].nid, "g5340322")
00950         self.assertEqual(record.sequence[7].clone, "IMAGE:1870937")
00951         self.assertEqual(record.sequence[7].end, "5'")
00952         self.assertEqual(record.sequence[7].lid, "1079")
00953         self.assertEqual(record.sequence[7].seqtype, "EST")
00954         self.assertEqual(record.sequence[8].acc, "BG568794.1")
00955         self.assertEqual(record.sequence[8].nid, "g13576447")
00956         self.assertEqual(record.sequence[8].clone, "IMAGE:4716636")
00957         self.assertEqual(record.sequence[8].end, "5'")
00958         self.assertEqual(record.sequence[8].lid, "6989")
00959         self.assertEqual(record.sequence[8].seqtype, "EST")
00960         self.assertEqual(record.sequence[8].trace, "44156817")
00961         self.assertEqual(record.sequence[9].acc, "BG533459.1")
00962         self.assertEqual(record.sequence[9].nid, "g13524999")
00963         self.assertEqual(record.sequence[9].clone, "IMAGE:4072143")
00964         self.assertEqual(record.sequence[9].end, "5'")
00965         self.assertEqual(record.sequence[9].lid, "6989")
00966         self.assertEqual(record.sequence[9].seqtype, "EST")
00967         self.assertEqual(record.sequence[9].trace, "44404609")
00968         self.assertEqual(record.sequence[10].acc, "BG568400.1")
00969         self.assertEqual(record.sequence[10].nid, "g13576053")
00970         self.assertEqual(record.sequence[10].clone, "IMAGE:4716802")
00971         self.assertEqual(record.sequence[10].end, "5'")
00972         self.assertEqual(record.sequence[10].lid, "6989")
00973         self.assertEqual(record.sequence[10].seqtype, "EST")
00974         self.assertEqual(record.sequence[10].trace, "44156561")
00975         self.assertEqual(record.sequence[11].acc, "BG618195.1")
00976         self.assertEqual(record.sequence[11].nid, "g13669566")
00977         self.assertEqual(record.sequence[11].clone, "IMAGE:4767316")
00978         self.assertEqual(record.sequence[11].end, "5'")
00979         self.assertEqual(record.sequence[11].lid, "6989")
00980         self.assertEqual(record.sequence[11].seqtype, "EST")
00981         self.assertEqual(record.sequence[11].trace, "45338366")
00982         self.assertEqual(record.sequence[12].acc, "BG563731.1")
00983         self.assertEqual(record.sequence[12].nid, "g13571383")
00984         self.assertEqual(record.sequence[12].clone, "IMAGE:4712210")
00985         self.assertEqual(record.sequence[12].end, "5'")
00986         self.assertEqual(record.sequence[12].lid, "6989")
00987         self.assertEqual(record.sequence[12].seqtype, "EST")
00988         self.assertEqual(record.sequence[12].trace, "44153506")
00989         self.assertEqual(record.sequence[13].acc, "AI733799.1")
00990         self.assertEqual(record.sequence[13].nid, "g5054912")
00991         self.assertEqual(record.sequence[13].clone, "IMAGE:1870937")
00992         self.assertEqual(record.sequence[13].end, "3'")
00993         self.assertEqual(record.sequence[13].lid, "1079")
00994         self.assertEqual(record.sequence[13].seqtype, "EST")
00995         self.assertEqual(record.sequence[14].acc, "BG569272.1")
00996         self.assertEqual(record.sequence[14].nid, "g13576925")
00997         self.assertEqual(record.sequence[14].clone, "IMAGE:4722638")
00998         self.assertEqual(record.sequence[14].end, "5'")
00999         self.assertEqual(record.sequence[14].lid, "6989")
01000         self.assertEqual(record.sequence[14].seqtype, "EST")
01001         self.assertEqual(record.sequence[14].trace, "44157191")
01002         self.assertEqual(record.sequence[15].acc, "AJ581147.1")
01003         self.assertEqual(record.sequence[15].nid, "g73759744")
01004         self.assertEqual(record.sequence[15].pid, "g73759745")
01005         self.assertEqual(record.sequence[15].seqtype, "mRNA")
01006         self.assertEqual(record.sequence[16].acc, "BU624903.1")
01007         self.assertEqual(record.sequence[16].nid, "g23291118")
01008         self.assertEqual(record.sequence[16].clone, "UI-H-FG1-bgl-g-02-0-UI")
01009         self.assertEqual(record.sequence[16].end, "3'")
01010         self.assertEqual(record.sequence[16].lid, "11914")
01011         self.assertEqual(record.sequence[16].seqtype, "EST")
01012         self.assertEqual(record.sequence[16].trace, "159705553")
01013         self.assertEqual(record.sequence[17].acc, "BG617259.1")
01014         self.assertEqual(record.sequence[17].nid, "g13668630")
01015         self.assertEqual(record.sequence[17].clone, "IMAGE:4734378")
01016         self.assertEqual(record.sequence[17].end, "5'")
01017         self.assertEqual(record.sequence[17].lid, "6989")
01018         self.assertEqual(record.sequence[17].seqtype, "EST")
01019         self.assertEqual(record.sequence[17].trace, "44229423")
01020         self.assertEqual(record.sequence[18].acc, "CV029049.1")
01021         self.assertEqual(record.sequence[18].nid, "g51487181")
01022         self.assertEqual(record.sequence[18].end, "5'")
01023         self.assertEqual(record.sequence[18].lid, "16264")
01024         self.assertEqual(record.sequence[18].seqtype, "EST")
01025         self.assertEqual(record.sequence[19].acc, "BP264356.1")
01026         self.assertEqual(record.sequence[19].nid, "g52179587")
01027         self.assertEqual(record.sequence[19].clone, "HSI15615")
01028         self.assertEqual(record.sequence[19].end, "5'")
01029         self.assertEqual(record.sequence[19].lid, "16400")
01030         self.assertEqual(record.sequence[19].seqtype, "EST")
01031         self.assertEqual(record.sequence[20].acc, "BP262043.1")
01032         self.assertEqual(record.sequence[20].nid, "g52177274")
01033         self.assertEqual(record.sequence[20].clone, "HSI05750")
01034         self.assertEqual(record.sequence[20].end, "5'")
01035         self.assertEqual(record.sequence[20].lid, "16400")
01036         self.assertEqual(record.sequence[20].seqtype, "EST")
01037         self.assertEqual(record.sequence[21].acc, "BP262787.1")
01038         self.assertEqual(record.sequence[21].nid, "g52178018")
01039         self.assertEqual(record.sequence[21].clone, "HSI08034")
01040         self.assertEqual(record.sequence[21].end, "5'")
01041         self.assertEqual(record.sequence[21].lid, "16400")
01042         self.assertEqual(record.sequence[21].seqtype, "EST")
01043         self.assertEqual(record.sequence[22].acc, "CB161982.1")
01044         self.assertEqual(record.sequence[22].nid, "g28148108")
01045         self.assertEqual(record.sequence[22].clone, "L17N670205n1-15-F12")
01046         self.assertEqual(record.sequence[22].end, "5'")
01047         self.assertEqual(record.sequence[22].lid, "12542")
01048         self.assertEqual(record.sequence[22].seqtype, "EST")
01049         self.assertEqual(record.sequence[23].acc, "BX095770.1")
01050         self.assertEqual(record.sequence[23].nid, "g27827877")
01051         self.assertEqual(record.sequence[23].clone, "IMAGp998I184581_,_IMAGE:1870937")
01052         self.assertEqual(record.sequence[23].lid, "1079")
01053         self.assertEqual(record.sequence[23].seqtype, "EST")
01054         self.assertEqual(record.sequence[24].acc, "AI262683.1")
01055         self.assertEqual(record.sequence[24].nid, "g3870886")
01056         self.assertEqual(record.sequence[24].clone, "IMAGE:1870937")
01057         self.assertEqual(record.sequence[24].end, "3'")
01058         self.assertEqual(record.sequence[24].lid, "1079")
01059         self.assertEqual(record.sequence[24].seqtype, "EST")
01060         self.assertEqual(record.sequence[25].acc, "AI460128.1")
01061         self.assertEqual(record.sequence[25].nid, "g4313009")
01062         self.assertEqual(record.sequence[25].clone, "IMAGE:2151449")
01063         self.assertEqual(record.sequence[25].end, "3'")
01064         self.assertEqual(record.sequence[25].lid, "1556")
01065         self.assertEqual(record.sequence[25].seqtype, "EST")
01066         self.assertEqual(record.sequence[26].acc, "CB161860.1")
01067         self.assertEqual(record.sequence[26].nid, "g28147986")
01068         self.assertEqual(record.sequence[26].clone, "L17N670205n1-41-A04")
01069         self.assertEqual(record.sequence[26].end, "5'")
01070         self.assertEqual(record.sequence[26].lid, "12542")
01071         self.assertEqual(record.sequence[26].seqtype, "EST")
01072         self.assertEqual(record.sequence[27].acc, "AJ581145.1")
01073         self.assertEqual(record.sequence[27].nid, "g73759740")
01074         self.assertEqual(record.sequence[27].pid, "g73759741")
01075         self.assertEqual(record.sequence[27].seqtype, "mRNA")
01076         self.assertEqual(record.sequence[28].acc, "EG327405.1")
01077         self.assertEqual(record.sequence[28].nid, "g116004924")
01078         self.assertEqual(record.sequence[28].clone, "MGC12part.1.3.L1.1.D01.")
01079         self.assertEqual(record.sequence[28].lid, "17261")
01080         self.assertEqual(record.sequence[28].seqtype, "EST")
01081         self.assertEqual(record.sequence[29].acc, "AJ581144.1")
01082         self.assertEqual(record.sequence[29].nid, "g73759738")
01083         self.assertEqual(record.sequence[29].pid, "g73759739")
01084         self.assertEqual(record.sequence[29].seqtype, "mRNA")
01085         self.assertEqual(record.sequence[30].acc, "EG327340.1")
01086         self.assertEqual(record.sequence[30].nid, "g116004859")
01087         self.assertEqual(record.sequence[30].clone, "MGC12part.1.2.L1.1.D01.")
01088         self.assertEqual(record.sequence[30].lid, "17261")
01089         self.assertEqual(record.sequence[30].seqtype, "EST")
01090         self.assertEqual(record.sequence[31].acc, "AV658623.1")
01091         self.assertEqual(record.sequence[31].nid, "g9879637")
01092         self.assertEqual(record.sequence[31].clone, "GLCFOD10")
01093         self.assertEqual(record.sequence[31].end, "3'")
01094         self.assertEqual(record.sequence[31].lid, "5601")
01095         self.assertEqual(record.sequence[31].seqtype, "EST")
01096         self.assertEqual(record.sequence[32].acc, "AV658656.1")
01097         self.assertEqual(record.sequence[32].nid, "g9879670")
01098         self.assertEqual(record.sequence[32].clone, "GLCFOG07")
01099         self.assertEqual(record.sequence[32].end, "3'")
01100         self.assertEqual(record.sequence[32].lid, "5601")
01101         self.assertEqual(record.sequence[32].seqtype, "EST")
01102         self.assertEqual(record.sequence[33].acc, "AV684197.2")
01103         self.assertEqual(record.sequence[33].nid, "g55943471")
01104         self.assertEqual(record.sequence[33].clone, "GKCFZH06")
01105         self.assertEqual(record.sequence[33].end, "5'")
01106         self.assertEqual(record.sequence[33].lid, "6533")
01107         self.assertEqual(record.sequence[33].seqtype, "EST")
01108         self.assertEqual(record.sequence[34].acc, "AJ581146.1")
01109         self.assertEqual(record.sequence[34].nid, "g73759742")
01110         self.assertEqual(record.sequence[34].pid, "g73759743")
01111         self.assertEqual(record.sequence[34].seqtype, "mRNA")
01112         self.assertEqual(record.sequence[35].acc, "EG327618.1")
01113         self.assertEqual(record.sequence[35].nid, "g116005137")
01114         self.assertEqual(record.sequence[35].clone, "MGC11part.2.3.L1.1.E06.")
01115         self.assertEqual(record.sequence[35].lid, "17261")
01116         self.assertEqual(record.sequence[35].seqtype, "EST")
01117         self.assertEqual(record.sequence[36].acc, "BG204539.1")
01118         self.assertEqual(record.sequence[36].nid, "g13726226")
01119         self.assertEqual(record.sequence[36].lid, "8655")
01120         self.assertEqual(record.sequence[36].seqtype, "EST")
01121         self.assertEqual(record.sequence[37].acc, "AU099534.1")
01122         self.assertEqual(record.sequence[37].nid, "g13550663")
01123         self.assertEqual(record.sequence[37].clone, "HSI08034")
01124         self.assertEqual(record.sequence[37].end, "5'")
01125         self.assertEqual(record.sequence[37].lid, "8800")
01126         self.assertEqual(record.sequence[37].seqtype, "EST")
01127 
01128         handle.close()
01129 

Here is the call graph for this function:


The documentation for this class was generated from the following file: