Mercurial > repos > bornea > query_crapome
comparison CRAPomeQuery.py @ 12:577611df296d draft
Uploaded
author | bornea |
---|---|
date | Mon, 25 Apr 2016 11:22:51 -0400 |
parents | 6fe48eb42c55 |
children | eb51efc01e35 |
comparison
equal
deleted
inserted
replaced
11:659644782ecd | 12:577611df296d |
---|---|
121 unique+=1 | 121 unique+=1 |
122 j[2] = i[0] # change to user input | 122 j[2] = i[0] # change to user input |
123 filt.append(j) | 123 filt.append(j) |
124 flag +=1 | 124 flag +=1 |
125 if flag == 0: # if protein is not present in CRAPome database then add it | 125 if flag == 0: # if protein is not present in CRAPome database then add it |
126 filt.append(["\t", "\t", i[0], "Invalid identifier / gene not available"]) | 126 filt.append(["\t", "\t", i[0], "Invalid identifier / gene not available","\t","\t","\t"]) |
127 total = 0 # Experiment counter | 127 total = 0 # Experiment counter |
128 query = [] | 128 query = [] |
129 for i in filt: # Create CRAPome file as list | 129 for i in filt: # Create CRAPome file as list |
130 temp=[] | 130 temp=[] |
131 if len(i) > 5: | 131 if len(i) > 5: |