Mercurial > repos > bornea > query_crapome
comparison CRAPomeQuery.py @ 19:f1459638e1bc draft default tip
Uploaded
author | bornea |
---|---|
date | Fri, 29 Apr 2016 15:49:34 -0400 |
parents | 378fc3676c78 |
children |
comparison
equal
deleted
inserted
replaced
18:edde2724910f | 19:f1459638e1bc |
---|---|
104 genename = lst2[0] | 104 genename = lst2[0] |
105 return ReturnValue1(uniprot_acc, genename, swissprot) | 105 return ReturnValue1(uniprot_acc, genename, swissprot) |
106 if 'GN=' not in name_info: | 106 if 'GN=' not in name_info: |
107 genename = 'NA' | 107 genename = 'NA' |
108 return ReturnValue1(uniprot_acc, genename, swissprot) | 108 return ReturnValue1(uniprot_acc, genename, swissprot) |
109 if sp = ">sp": | 109 if sp == ">sp": |
110 error.close() | 110 error.close() |
111 else: | 111 else: |
112 error.write(uniprot_accession_in + '\t' + "Blank Fasta" + '\n') | 112 error.write(uniprot_accession_in + '\t' + "Blank Fasta" + '\n') |
113 error.close | 113 error.close |
114 uniprot_acc = 'NA' | 114 uniprot_acc = 'NA' |