andim / pyrepseq

Python library for immune repertoire analysis
MIT License
15 stars 4 forks source link

implement seqs2 feature as requested by James #13

Closed heartnetkung closed 11 months ago

heartnetkung commented 11 months ago

Add new feature

Fix broken feature

Example below

    test_input1 = ["CAAA", "CADA", "CAAA", "CDKD", "CAAK"]
    test_input2 = ["CDDD", "CAAK"]
    test_output = [(1,0,1), (1,2,1), (0,3,1), (1,4,0)]
    assert set_equal(symspell(test_input1, max_edits=1, seqs2=test_input2), test_output)
heartnetkung commented 11 months ago

@jhenderson0 It is done :)

jhenderson0 commented 11 months ago

Great, thank you!