query FeatureSelectTypeahead($queryTerm: String!, $featureType: FeatureInstanceTypes) {
  featureTypeahead(queryTerm: $queryTerm, featureType: $featureType) {
    ...FeatureSelectTypeaheadFields
  }
}

query FeatureSelectTag($featureId: Int!) {
  feature(id: $featureId) {
    ...FeatureSelectTypeaheadFields
  }
}

fragment FeatureSelectTypeaheadFields on Feature {
  id
  name
  featureAliases
  link
  featureType
  featureInstance {
    __typename
    ... on Gene {
      entrezId
    }
    ... on Factor {
      ncitId
    }
    ... on Fusion {
      fivePrimePartnerStatus
      threePrimePartnerStatus
    }
  }
}
