def test_chain_is_main_protein(): feature = uniprot_client.get_feature_by_id('PRO_0000016665') assert feature.is_main, feature feature = uniprot_client.get_feature_by_id('PRO_0000030310') assert feature.is_main, feature feature = uniprot_client.get_feature_by_id('PRO_0000030311') assert not feature.is_main, feature
def test_feature_by_id(): feature = uniprot_client.get_feature_by_id('PRO_0000292268') assert feature is not None assert feature.name == 'Processed angiotensin-converting enzyme 2' assert feature.type == 'CHAIN' assert feature.begin == 18, feature assert feature.end == 708
def test_sars_cov2_feature(): feat = uniprot_client.get_feature_by_id('PRO_0000449635') assert feat.type == 'CHAIN' assert feat.begin == 1, feat assert feat.end == 180, feat assert feat.name == 'Host translation inhibitor nsp1', feat.name
def test_sars_cov2_feature(): feat = uniprot_client.get_feature_by_id('PRO_0000449635') assert feat.type == 'CHAIN' assert feat.begin == 1, feat assert feat.end == 180, feat assert feat.name == 'Non-structural protein 1'