---
id: target-filter
title: _TargetFilter
---

export const Tag = ({children, color}) => (
<span
style={{
      backgroundColor: color,
      borderRadius: '2px',
      color: '#fff',
      padding: '0.2rem',
    }}>
{children}
</span>
);

No description

```graphql
type _TargetFilter {
  AND: [_TargetFilter!]
  OR: [_TargetFilter!]
  ttd_id: ID
  ttd_id_not: ID
  ttd_id_in: [ID!]
  ttd_id_not_in: [ID!]
  ttd_id_contains: ID
  ttd_id_not_contains: ID
  ttd_id_starts_with: ID
  ttd_id_not_starts_with: ID
  ttd_id_ends_with: ID
  ttd_id_not_ends_with: ID
  uniprot_id: ID
  uniprot_id_not: ID
  uniprot_id_in: [ID!]
  uniprot_id_not_in: [ID!]
  uniprot_id_contains: ID
  uniprot_id_not_contains: ID
  uniprot_id_starts_with: ID
  uniprot_id_not_starts_with: ID
  uniprot_id_ends_with: ID
  uniprot_id_not_ends_with: ID
  name: String
  name_not: String
  name_in: [String!]
  name_not_in: [String!]
  name_contains: String
  name_not_contains: String
  name_starts_with: String
  name_not_starts_with: String
  name_ends_with: String
  name_not_ends_with: String
  type: String
  type_not: String
  type_in: [String!]
  type_not_in: [String!]
  type_contains: String
  type_not_contains: String
  type_starts_with: String
  type_not_starts_with: String
  type_ends_with: String
  type_not_ends_with: String
  geneName: String
  geneName_not: String
  geneName_in: [String!]
  geneName_not_in: [String!]
  geneName_contains: String
  geneName_not_contains: String
  geneName_starts_with: String
  geneName_not_starts_with: String
  geneName_ends_with: String
  geneName_not_ends_with: String
  function: String
  function_not: String
  function_in: [String!]
  function_not_in: [String!]
  function_contains: String
  function_not_contains: String
  function_starts_with: String
  function_not_starts_with: String
  function_ends_with: String
  function_not_ends_with: String
  sequence: String
  sequence_not: String
  sequence_in: [String!]
  sequence_not_in: [String!]
  sequence_contains: String
  sequence_not_contains: String
  sequence_starts_with: String
  sequence_not_starts_with: String
  sequence_ends_with: String
  sequence_not_ends_with: String
  license: String
  license_not: String
  license_in: [String!]
  license_not_in: [String!]
  license_contains: String
  license_not_contains: String
  license_starts_with: String
  license_not_starts_with: String
  license_ends_with: String
  license_not_ends_with: String
  source: String
  source_not: String
  source_in: [String!]
  source_not_in: [String!]
  source_contains: String
  source_not_contains: String
  source_starts_with: String
  source_not_starts_with: String
  source_ends_with: String
  source_not_ends_with: String
  ec_number: String
  ec_number_not: String
  ec_number_in: [String!]
  ec_number_not_in: [String!]
  ec_number_contains: String
  ec_number_not_contains: String
  ec_number_starts_with: String
  ec_number_not_starts_with: String
  ec_number_ends_with: String
  ec_number_not_ends_with: String
  bio_class: String
  bio_class_not: String
  bio_class_in: [String!]
  bio_class_not_in: [String!]
  bio_class_contains: String
  bio_class_not_contains: String
  bio_class_starts_with: String
  bio_class_not_starts_with: String
  bio_class_ends_with: String
  bio_class_not_ends_with: String
  synonyms: String
  synonyms_not: String
  synonyms_in: [String!]
  synonyms_not_in: [String!]
  synonyms_contains: String
  synonyms_not_contains: String
  synonyms_starts_with: String
  synonyms_not_starts_with: String
  synonyms_ends_with: String
  synonyms_not_ends_with: String
  targets: _TargetTargetsFilter
  targets_not: _TargetTargetsFilter
  targets_in: [_TargetTargetsFilter!]
  targets_not_in: [_TargetTargetsFilter!]
  targets_some: _TargetTargetsFilter
  targets_none: _TargetTargetsFilter
  targets_single: _TargetTargetsFilter
  targets_every: _TargetTargetsFilter
  inhibitors: _TargetIsInhibitorFilter
  inhibitors_not: _TargetIsInhibitorFilter
  inhibitors_in: [_TargetIsInhibitorFilter!]
  inhibitors_not_in: [_TargetIsInhibitorFilter!]
  inhibitors_some: _TargetIsInhibitorFilter
  inhibitors_none: _TargetIsInhibitorFilter
  inhibitors_single: _TargetIsInhibitorFilter
  inhibitors_every: _TargetIsInhibitorFilter
  antagonists: _TargetIsAntagonistFilter
  antagonists_not: _TargetIsAntagonistFilter
  antagonists_in: [_TargetIsAntagonistFilter!]
  antagonists_not_in: [_TargetIsAntagonistFilter!]
  antagonists_some: _TargetIsAntagonistFilter
  antagonists_none: _TargetIsAntagonistFilter
  antagonists_single: _TargetIsAntagonistFilter
  antagonists_every: _TargetIsAntagonistFilter
  agonists: _TargetIsAgonistFilter
  agonists_not: _TargetIsAgonistFilter
  agonists_in: [_TargetIsAgonistFilter!]
  agonists_not_in: [_TargetIsAgonistFilter!]
  agonists_some: _TargetIsAgonistFilter
  agonists_none: _TargetIsAgonistFilter
  agonists_single: _TargetIsAgonistFilter
  agonists_every: _TargetIsAgonistFilter
  activators: _TargetIsActivatorFilter
  activators_not: _TargetIsActivatorFilter
  activators_in: [_TargetIsActivatorFilter!]
  activators_not_in: [_TargetIsActivatorFilter!]
  activators_some: _TargetIsActivatorFilter
  activators_none: _TargetIsActivatorFilter
  activators_single: _TargetIsActivatorFilter
  activators_every: _TargetIsActivatorFilter
  binders: _TargetIsBinderFilter
  binders_not: _TargetIsBinderFilter
  binders_in: [_TargetIsBinderFilter!]
  binders_not_in: [_TargetIsBinderFilter!]
  binders_some: _TargetIsBinderFilter
  binders_none: _TargetIsBinderFilter
  binders_single: _TargetIsBinderFilter
  binders_every: _TargetIsBinderFilter
}
```

### Fields

#### `AND` ([`[_TargetFilter!]`](/docs/api/inputs/target-filter))

#### `OR` ([`[_TargetFilter!]`](/docs/api/inputs/target-filter))

#### `ttd_id` ([`ID`](/docs/api/scalars/id))

#### `ttd_id_not` ([`ID`](/docs/api/scalars/id))

#### `ttd_id_in` ([`[ID!]`](/docs/api/scalars/id))

#### `ttd_id_not_in` ([`[ID!]`](/docs/api/scalars/id))

#### `ttd_id_contains` ([`ID`](/docs/api/scalars/id))

#### `ttd_id_not_contains` ([`ID`](/docs/api/scalars/id))

#### `ttd_id_starts_with` ([`ID`](/docs/api/scalars/id))

#### `ttd_id_not_starts_with` ([`ID`](/docs/api/scalars/id))

#### `ttd_id_ends_with` ([`ID`](/docs/api/scalars/id))

#### `ttd_id_not_ends_with` ([`ID`](/docs/api/scalars/id))

#### `uniprot_id` ([`ID`](/docs/api/scalars/id))

#### `uniprot_id_not` ([`ID`](/docs/api/scalars/id))

#### `uniprot_id_in` ([`[ID!]`](/docs/api/scalars/id))

#### `uniprot_id_not_in` ([`[ID!]`](/docs/api/scalars/id))

#### `uniprot_id_contains` ([`ID`](/docs/api/scalars/id))

#### `uniprot_id_not_contains` ([`ID`](/docs/api/scalars/id))

#### `uniprot_id_starts_with` ([`ID`](/docs/api/scalars/id))

#### `uniprot_id_not_starts_with` ([`ID`](/docs/api/scalars/id))

#### `uniprot_id_ends_with` ([`ID`](/docs/api/scalars/id))

#### `uniprot_id_not_ends_with` ([`ID`](/docs/api/scalars/id))

#### `name` ([`String`](/docs/api/scalars/string))

#### `name_not` ([`String`](/docs/api/scalars/string))

#### `name_in` ([`[String!]`](/docs/api/scalars/string))

#### `name_not_in` ([`[String!]`](/docs/api/scalars/string))

#### `name_contains` ([`String`](/docs/api/scalars/string))

#### `name_not_contains` ([`String`](/docs/api/scalars/string))

#### `name_starts_with` ([`String`](/docs/api/scalars/string))

#### `name_not_starts_with` ([`String`](/docs/api/scalars/string))

#### `name_ends_with` ([`String`](/docs/api/scalars/string))

#### `name_not_ends_with` ([`String`](/docs/api/scalars/string))

#### `type` ([`String`](/docs/api/scalars/string))

#### `type_not` ([`String`](/docs/api/scalars/string))

#### `type_in` ([`[String!]`](/docs/api/scalars/string))

#### `type_not_in` ([`[String!]`](/docs/api/scalars/string))

#### `type_contains` ([`String`](/docs/api/scalars/string))

#### `type_not_contains` ([`String`](/docs/api/scalars/string))

#### `type_starts_with` ([`String`](/docs/api/scalars/string))

#### `type_not_starts_with` ([`String`](/docs/api/scalars/string))

#### `type_ends_with` ([`String`](/docs/api/scalars/string))

#### `type_not_ends_with` ([`String`](/docs/api/scalars/string))

#### `geneName` ([`String`](/docs/api/scalars/string))

#### `geneName_not` ([`String`](/docs/api/scalars/string))

#### `geneName_in` ([`[String!]`](/docs/api/scalars/string))

#### `geneName_not_in` ([`[String!]`](/docs/api/scalars/string))

#### `geneName_contains` ([`String`](/docs/api/scalars/string))

#### `geneName_not_contains` ([`String`](/docs/api/scalars/string))

#### `geneName_starts_with` ([`String`](/docs/api/scalars/string))

#### `geneName_not_starts_with` ([`String`](/docs/api/scalars/string))

#### `geneName_ends_with` ([`String`](/docs/api/scalars/string))

#### `geneName_not_ends_with` ([`String`](/docs/api/scalars/string))

#### `function` ([`String`](/docs/api/scalars/string))

#### `function_not` ([`String`](/docs/api/scalars/string))

#### `function_in` ([`[String!]`](/docs/api/scalars/string))

#### `function_not_in` ([`[String!]`](/docs/api/scalars/string))

#### `function_contains` ([`String`](/docs/api/scalars/string))

#### `function_not_contains` ([`String`](/docs/api/scalars/string))

#### `function_starts_with` ([`String`](/docs/api/scalars/string))

#### `function_not_starts_with` ([`String`](/docs/api/scalars/string))

#### `function_ends_with` ([`String`](/docs/api/scalars/string))

#### `function_not_ends_with` ([`String`](/docs/api/scalars/string))

#### `sequence` ([`String`](/docs/api/scalars/string))

#### `sequence_not` ([`String`](/docs/api/scalars/string))

#### `sequence_in` ([`[String!]`](/docs/api/scalars/string))

#### `sequence_not_in` ([`[String!]`](/docs/api/scalars/string))

#### `sequence_contains` ([`String`](/docs/api/scalars/string))

#### `sequence_not_contains` ([`String`](/docs/api/scalars/string))

#### `sequence_starts_with` ([`String`](/docs/api/scalars/string))

#### `sequence_not_starts_with` ([`String`](/docs/api/scalars/string))

#### `sequence_ends_with` ([`String`](/docs/api/scalars/string))

#### `sequence_not_ends_with` ([`String`](/docs/api/scalars/string))

#### `license` ([`String`](/docs/api/scalars/string))

#### `license_not` ([`String`](/docs/api/scalars/string))

#### `license_in` ([`[String!]`](/docs/api/scalars/string))

#### `license_not_in` ([`[String!]`](/docs/api/scalars/string))

#### `license_contains` ([`String`](/docs/api/scalars/string))

#### `license_not_contains` ([`String`](/docs/api/scalars/string))

#### `license_starts_with` ([`String`](/docs/api/scalars/string))

#### `license_not_starts_with` ([`String`](/docs/api/scalars/string))

#### `license_ends_with` ([`String`](/docs/api/scalars/string))

#### `license_not_ends_with` ([`String`](/docs/api/scalars/string))

#### `source` ([`String`](/docs/api/scalars/string))

#### `source_not` ([`String`](/docs/api/scalars/string))

#### `source_in` ([`[String!]`](/docs/api/scalars/string))

#### `source_not_in` ([`[String!]`](/docs/api/scalars/string))

#### `source_contains` ([`String`](/docs/api/scalars/string))

#### `source_not_contains` ([`String`](/docs/api/scalars/string))

#### `source_starts_with` ([`String`](/docs/api/scalars/string))

#### `source_not_starts_with` ([`String`](/docs/api/scalars/string))

#### `source_ends_with` ([`String`](/docs/api/scalars/string))

#### `source_not_ends_with` ([`String`](/docs/api/scalars/string))

#### `ec_number` ([`String`](/docs/api/scalars/string))

#### `ec_number_not` ([`String`](/docs/api/scalars/string))

#### `ec_number_in` ([`[String!]`](/docs/api/scalars/string))

#### `ec_number_not_in` ([`[String!]`](/docs/api/scalars/string))

#### `ec_number_contains` ([`String`](/docs/api/scalars/string))

#### `ec_number_not_contains` ([`String`](/docs/api/scalars/string))

#### `ec_number_starts_with` ([`String`](/docs/api/scalars/string))

#### `ec_number_not_starts_with` ([`String`](/docs/api/scalars/string))

#### `ec_number_ends_with` ([`String`](/docs/api/scalars/string))

#### `ec_number_not_ends_with` ([`String`](/docs/api/scalars/string))

#### `bio_class` ([`String`](/docs/api/scalars/string))

#### `bio_class_not` ([`String`](/docs/api/scalars/string))

#### `bio_class_in` ([`[String!]`](/docs/api/scalars/string))

#### `bio_class_not_in` ([`[String!]`](/docs/api/scalars/string))

#### `bio_class_contains` ([`String`](/docs/api/scalars/string))

#### `bio_class_not_contains` ([`String`](/docs/api/scalars/string))

#### `bio_class_starts_with` ([`String`](/docs/api/scalars/string))

#### `bio_class_not_starts_with` ([`String`](/docs/api/scalars/string))

#### `bio_class_ends_with` ([`String`](/docs/api/scalars/string))

#### `bio_class_not_ends_with` ([`String`](/docs/api/scalars/string))

#### `synonyms` ([`String`](/docs/api/scalars/string))

#### `synonyms_not` ([`String`](/docs/api/scalars/string))

#### `synonyms_in` ([`[String!]`](/docs/api/scalars/string))

#### `synonyms_not_in` ([`[String!]`](/docs/api/scalars/string))

#### `synonyms_contains` ([`String`](/docs/api/scalars/string))

#### `synonyms_not_contains` ([`String`](/docs/api/scalars/string))

#### `synonyms_starts_with` ([`String`](/docs/api/scalars/string))

#### `synonyms_not_starts_with` ([`String`](/docs/api/scalars/string))

#### `synonyms_ends_with` ([`String`](/docs/api/scalars/string))

#### `synonyms_not_ends_with` ([`String`](/docs/api/scalars/string))

#### `targets` ([`_TargetTargetsFilter`](/docs/api/inputs/target-targets-filter))

#### `targets_not` ([`_TargetTargetsFilter`](/docs/api/inputs/target-targets-filter))

#### `targets_in` ([`[_TargetTargetsFilter!]`](/docs/api/inputs/target-targets-filter))

#### `targets_not_in` ([`[_TargetTargetsFilter!]`](/docs/api/inputs/target-targets-filter))

#### `targets_some` ([`_TargetTargetsFilter`](/docs/api/inputs/target-targets-filter))

#### `targets_none` ([`_TargetTargetsFilter`](/docs/api/inputs/target-targets-filter))

#### `targets_single` ([`_TargetTargetsFilter`](/docs/api/inputs/target-targets-filter))

#### `targets_every` ([`_TargetTargetsFilter`](/docs/api/inputs/target-targets-filter))

#### `inhibitors` ([`_TargetIsInhibitorFilter`](/docs/api/inputs/target-is-inhibitor-filter))

#### `inhibitors_not` ([`_TargetIsInhibitorFilter`](/docs/api/inputs/target-is-inhibitor-filter))

#### `inhibitors_in` ([`[_TargetIsInhibitorFilter!]`](/docs/api/inputs/target-is-inhibitor-filter))

#### `inhibitors_not_in` ([`[_TargetIsInhibitorFilter!]`](/docs/api/inputs/target-is-inhibitor-filter))

#### `inhibitors_some` ([`_TargetIsInhibitorFilter`](/docs/api/inputs/target-is-inhibitor-filter))

#### `inhibitors_none` ([`_TargetIsInhibitorFilter`](/docs/api/inputs/target-is-inhibitor-filter))

#### `inhibitors_single` ([`_TargetIsInhibitorFilter`](/docs/api/inputs/target-is-inhibitor-filter))

#### `inhibitors_every` ([`_TargetIsInhibitorFilter`](/docs/api/inputs/target-is-inhibitor-filter))

#### `antagonists` ([`_TargetIsAntagonistFilter`](/docs/api/inputs/target-is-antagonist-filter))

#### `antagonists_not` ([`_TargetIsAntagonistFilter`](/docs/api/inputs/target-is-antagonist-filter))

#### `antagonists_in` ([`[_TargetIsAntagonistFilter!]`](/docs/api/inputs/target-is-antagonist-filter))

#### `antagonists_not_in` ([`[_TargetIsAntagonistFilter!]`](/docs/api/inputs/target-is-antagonist-filter))

#### `antagonists_some` ([`_TargetIsAntagonistFilter`](/docs/api/inputs/target-is-antagonist-filter))

#### `antagonists_none` ([`_TargetIsAntagonistFilter`](/docs/api/inputs/target-is-antagonist-filter))

#### `antagonists_single` ([`_TargetIsAntagonistFilter`](/docs/api/inputs/target-is-antagonist-filter))

#### `antagonists_every` ([`_TargetIsAntagonistFilter`](/docs/api/inputs/target-is-antagonist-filter))

#### `agonists` ([`_TargetIsAgonistFilter`](/docs/api/inputs/target-is-agonist-filter))

#### `agonists_not` ([`_TargetIsAgonistFilter`](/docs/api/inputs/target-is-agonist-filter))

#### `agonists_in` ([`[_TargetIsAgonistFilter!]`](/docs/api/inputs/target-is-agonist-filter))

#### `agonists_not_in` ([`[_TargetIsAgonistFilter!]`](/docs/api/inputs/target-is-agonist-filter))

#### `agonists_some` ([`_TargetIsAgonistFilter`](/docs/api/inputs/target-is-agonist-filter))

#### `agonists_none` ([`_TargetIsAgonistFilter`](/docs/api/inputs/target-is-agonist-filter))

#### `agonists_single` ([`_TargetIsAgonistFilter`](/docs/api/inputs/target-is-agonist-filter))

#### `agonists_every` ([`_TargetIsAgonistFilter`](/docs/api/inputs/target-is-agonist-filter))

#### `activators` ([`_TargetIsActivatorFilter`](/docs/api/inputs/target-is-activator-filter))

#### `activators_not` ([`_TargetIsActivatorFilter`](/docs/api/inputs/target-is-activator-filter))

#### `activators_in` ([`[_TargetIsActivatorFilter!]`](/docs/api/inputs/target-is-activator-filter))

#### `activators_not_in` ([`[_TargetIsActivatorFilter!]`](/docs/api/inputs/target-is-activator-filter))

#### `activators_some` ([`_TargetIsActivatorFilter`](/docs/api/inputs/target-is-activator-filter))

#### `activators_none` ([`_TargetIsActivatorFilter`](/docs/api/inputs/target-is-activator-filter))

#### `activators_single` ([`_TargetIsActivatorFilter`](/docs/api/inputs/target-is-activator-filter))

#### `activators_every` ([`_TargetIsActivatorFilter`](/docs/api/inputs/target-is-activator-filter))

#### `binders` ([`_TargetIsBinderFilter`](/docs/api/inputs/target-is-binder-filter))

#### `binders_not` ([`_TargetIsBinderFilter`](/docs/api/inputs/target-is-binder-filter))

#### `binders_in` ([`[_TargetIsBinderFilter!]`](/docs/api/inputs/target-is-binder-filter))

#### `binders_not_in` ([`[_TargetIsBinderFilter!]`](/docs/api/inputs/target-is-binder-filter))

#### `binders_some` ([`_TargetIsBinderFilter`](/docs/api/inputs/target-is-binder-filter))

#### `binders_none` ([`_TargetIsBinderFilter`](/docs/api/inputs/target-is-binder-filter))

#### `binders_single` ([`_TargetIsBinderFilter`](/docs/api/inputs/target-is-binder-filter))

#### `binders_every` ([`_TargetIsBinderFilter`](/docs/api/inputs/target-is-binder-filter))
