-
Notifications
You must be signed in to change notification settings - Fork 117
Open
Description
We often need to explicitly search CDRs for a heavy chain or a light chain. E.g., we have a nanobody sequence (with heavy and light chain fused), we don't want to get heavy chain CDRs or light chain CDRs randomly. We prefer to use anarci to first scan for heavy chain CDRs, and then scan for light chain CDRs.
This means we should modify the following function to consider an optional chain type argument.
_parse_hmmer_query(query, bit_score_threshold=80, hmmer_species=None, chain_type=None):
if chain_type is None: return hsp_list
hsp_list=[hsp for hsp in hsp_list if hsp.hit_id.endswith(f"{chain_type}")]
Thanks for the consideration.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels