Skip to content

Instantly share code, notes, and snippets.

@theferrit32
Last active April 3, 2024 18:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save theferrit32/df380899e9974cb885c2780cfa82ce7a to your computer and use it in GitHub Desktop.
Save theferrit32/df380899e9974cb885c2780cfa82ce7a to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
fragment VADefiniteRange on VADefiniteRange {
type
min
max
}
fragment VAIndefiniteRange on VAIndefiniteRange {
type
indefinite_value: value
comparator
}
fragment VANumber on VANumber {
type
value
}
fragment VASequenceLocation on VASequenceLocation {
_id {
value
}
type
sequence_id
interval {
type
start {
...VADefiniteRange
...VAIndefiniteRange
...VANumber
}
end {
...VADefiniteRange
...VAIndefiniteRange
...VANumber
}
}
}
fragment VACURIE on VACURIE {
value
}
fragment VALiteralSequenceExpression on VALiteralSequenceExpression {
type
sequence
}
fragment VAAncillaryResults on VAAncillaryResults {
grpMaxFAF95 {
frequency
confidenceInterval
groupId
}
jointGrpMaxFAF95 {
frequency
confidenceInterval
groupId
}
homozygotes
hemizygotes
}
fragment VACohort on VACohort {
id
label
characteristics {
name
value
}
}
fragment VACohortAlleleFrequencyCommonFields on VACohortAlleleFrequency {
id
type
label
derivedFrom {
id
type
label
version
}
focusAllele {
... on VAAllele {
_id {
value
}
type
}
... on VAFocusAlleleURI {
value
}
}
focusAlleleCount
locusAlleleCount
alleleFrequency
cohort {
...VACohort
}
ancillaryResults {
...VAAncillaryResults
}
}
fragment TopLevelVACohortAlleleFrequency on VACohortAlleleFrequency {
...VACohortAlleleFrequencyCommonFields
subcohortFrequency {
...VACohortAlleleFrequencyCommonFields
subcohortFrequency {
...VACohortAlleleFrequencyCommonFields
# id
# type
}
}
}
query gnomad_va($variantId: String!) {
va(variantId: $variantId) {
vrs {
_id {
value
}
type
location {
...VASequenceLocation
...VACURIE
}
state {
...VALiteralSequenceExpression
}
}
va {
...TopLevelVACohortAlleleFrequency
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment