Skip to content

Commit

Permalink
test a different pair
Browse files Browse the repository at this point in the history
  • Loading branch information
phbradley committed May 4, 2017
1 parent bb20466 commit 0212e6a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions DistanceCalculator.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ def distance( self, tcr1, tcr2, chains='AB' ):
TRBV19*01,TRBV19*02 CASSIEGSGANVLTF
TRBV7-8*01 CASSSSGGMNIQYF""".split('\n')


lines = """TRBV6-1*01 CASSEAPLLGGNEQYF
TRBV29-1*01 CSVEARLF""".split('\n')

organism = 'human'

tcrs = []
Expand All @@ -61,6 +65,6 @@ def distance( self, tcr1, tcr2, chains='AB' ):
for j,t2 in enumerate(tcrs):
if j<=i:continue
dist = calculator.distance( t1, t2, chains = 'B' )
if dist<100:
print t1.vb_reps, t1.cdr3b, t2.vb_reps, t2.cdr3b, dist
print t1.vb_reps, t1.cdr3b, t2.vb_reps, t2.cdr3b, dist
#if dist<100:

0 comments on commit 0212e6a

Please sign in to comment.