lhallee commited on
Commit
37b5083
1 Parent(s): 1fe966b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -37,7 +37,7 @@ model.to(device) # move to device
37
  model.eval() # put in eval mode
38
 
39
  sequence = '(ZEVLPYGDEKLSPYGDGGDVGQIFsC#LQDTNNFFGAgQNK%OPKLGQIG%SK%uuieddRidDVLkn(TDK@pp^v]' # CCDS207.1|Hs110|chr1
40
- sequence = ' '.join(list(re.sub(r'[UZOB]', 'X', sequence))) # need spaces in-between amino acids, replace rare amino acids with X
41
 
42
  example = tokenizer(sequence, return_tensors='pt', padding=False).to(device) # tokenize example
43
  with torch.no_grad():
 
37
  model.eval() # put in eval mode
38
 
39
  sequence = '(ZEVLPYGDEKLSPYGDGGDVGQIFsC#LQDTNNFFGAgQNK%OPKLGQIG%SK%uuieddRidDVLkn(TDK@pp^v]' # CCDS207.1|Hs110|chr1
40
+ sequence = ' '.join(list(sequence)) # need spaces in-between codons
41
 
42
  example = tokenizer(sequence, return_tensors='pt', padding=False).to(device) # tokenize example
43
  with torch.no_grad():