Skip to content

Can't filter alignment tracks by reference

The following query:

query AlignmentQuery {
  alignments(where: { id: "MALIGN_00000" }) {
    id

    filteredTracks: tracks(where: { ref: { id: "TRGT_00010" } }) {
      id
    }

    allTracks: tracks {
      ref {
        id
        genome {
          organism {
            id
          }
        }
      }
    }
  }
}

Illustrates the where filtering not working on the tracks references (a track with "TRGT_00010" exists as visible in allTracks, but filteredTracks is empty when applying a filter on it).