The following queries return results based on data in both the HGD database of GDB 6.0 and the GSDB 2.0 database. These queries were suggested by Chris Fields, National Center for Genome Resources, Santa Fe, and were specified with help provided by Ken Fasman and Stan Letovsky, Johns Hopkins School of Medicine, Baltimore and Carol Harger, National Center for Genome Resources.
SELECT HGD:Gene.displayName, HGD:Gene.accessionID FROM GSDB:Feature, HGD:Gene WHERE Feature.products.name MATCH "%kinase%" AND Feature.genes.gdb_xref = HGD:Gene.accessionID AND HGD:Gene.mapElements.map.chromosome.displayName = "X";
SELECT Entry.accession_number, Entry.sequence.length FROM HGD:MapElement, HGD:SequenceLink, GSDB:Entry WHERE MapElement.map.chromosome = "17" AND SequenceLink.dBObject = MapElement.segment AND SequenceLink.externalDB.displayName = "GSDB" AND SequenceLink.accessionID = Entry.accession_number AND Entry.sequences.length > 10000;
The first part of the query finds the coordinates of the points q21.1 and q21.2 in the Cytogenetic Map of chromosome 4:
SELECT MapElement.coordinate, MapElement.point,
MapElement.segment.displayName
FROM HGD:MapElement
WHERE MapElement.map.objectClass = "CytogeneticMap"
AND MapElement.map.chromosome.displayName = "4"
AND MapElement.segment.displayName IN {"q21.1", "q21.2"};
Next we can retrieve the expressed Amplimers occurring between these coordinates and lookup the corresponding sequence in GSDB.
SELECT Amplimer.displayName, Entry.accession_number,
Entry.sequences.length
FROM HGD:Amplimer, HGD:SequenceLink, GSDB:Entry
WHERE Amplimer.isExpressed = "Yes"
AND Amplimer.mapElements.map.chromosome.displayName = "4"
AND Amplimer.mapElements.sortCoord >= START_COORD
AND Amplimer.mapElements.sortCoord <= END_COORD
AND SequenceLink.dbObject = Amplimer
AND SequenceLink.externalDB.displayName = "GSDB"
AND SequenceLink.accessionID = Entry.accession_number;
Where START_COORD and END_COORD are the values from the
previous query.