Are you looking for an daily life analogy instead of gene
, transcript
, expression_profiles
terms?
You could think of an author instead of a gene. So, our authors (genes) might have more than one book (transcript). Also, each book (transcript) could have more than one version/type and - so, their meta information also change!
Here, I provided some queries to demonstrate the use of GraphQL API. Feel free to play around with them to learn more!
Example Gene IDs: GeneID1
, GeneID2
Example Gene Names: GeneName1
, GeneName2
Example Transcript IDs: TranscriptID1.1
, TranscriptID1.2
, TranscriptID1.3
, TranscriptID2.1
, TranscriptID2.2
query {
genes {
gene_id
gene_name
gene_description
transcripts {
transcript_id
}
}
}
query {
transcripts {
transcript_id
length
}
}
query {
transcripts(gene_id: "GeneID2") {
gene_id
transcript_id
length
}
}
query {
genes(gene_name: "GeneName1") {
gene_id
gene_name
gene_description
transcripts {
transcript_id
length
expression_profiles {
brain
heart
}
}
}
}
query {
expression_profiles(transcript_id: "TranscriptID2.1"){
transcript_id
brain
heart
}
}