Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some non-nullable fields are returning null #5

Open
nakib103 opened this issue Aug 10, 2023 · 0 comments
Open

Some non-nullable fields are returning null #5

nakib103 opened this issue Aug 10, 2023 · 0 comments

Comments

@nakib103
Copy link
Contributor

Description

Some non-nullable fields defined in the schema are returning null. They are -
length
assembly
sequence
metadata

from Region under Slice -

type Region {
# A large contiguous block of assembled sequence, such as a whole chromosome.
name: String!
length: Int!
code: RegionCode!
topology: RegionTopology!
assembly: Assembly!
sequence: Sequence!
metadata: RegionMetadata!
}

Example query

query variant_example {
  variant(
    by_id: {genome_id: "a7335667-93e7-11ec-a39d-005056b38ce3", variant_id: "2:10171:rs1572047411"}
  ) {
    name
    slice {
      default
      region {
        name
        code
        topology
        assembly{
          accession_id
        }
        length
        sequence {
          alphabet {
            accession_id
          }
        }
        metadata{
          ontology_terms {
            accession_id
          }
        }
      }
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant