25c2212f3f5f510ad207b568f8652b1732d0d816 lrnassar Mon Mar 28 15:03:20 2022 -0700 Clarifying that BLAT supports queries of 4 types, refs #27193 diff --git src/hg/htdocs/FAQ/FAQblat.html src/hg/htdocs/FAQ/FAQblat.html index 875bbb5..36539d4 100755 --- src/hg/htdocs/FAQ/FAQblat.html +++ src/hg/htdocs/FAQ/FAQblat.html @@ -471,27 +471,29 @@

Protein-translated BLAT (protein or translated RNA queries) uses the standard vertebrate genetic code. It will be slightly less sensitive on mitochondria and species using other genetic codes. More information on standard genetic codes can be found on the NCBI website. Additional details on mitochondria codon tables can be found on the Wikiwand website.

Querying BLAT programmatically using URLs

For programmatic access, BLAT supports URL queries which are returned as psl format in a JSON structure. -This is only available for DNA queries. The URL requires 2 variables, the sequence to blat and -the database:

+The URL requires 3 variables, the sequence to blat, the type of query and the database:

-https://genome.ucsc.edu/cgi-bin/hgBlat?userSeq=[seq]&type=DNA&db=[database]&output=json
+https://genome.ucsc.edu/cgi-bin/hgBlat?userSeq=[seq]&type=[type]&db=[database]&output=json

-For example:

+Query types include DNA, protein, translated RNA and translated DNA:

-https://genome.ucsc.edu/cgi-bin/hgBlat?userSeq=GACCTCGGCGTGGCCTAGCG&type=DNA&db=hg38&output=json
-

+https://genome.ucsc.edu/cgi-bin/hgBlat?userSeq=GACCTCGGCGTGGCCTAGCG&type=DNA&db=hg38&output=json +https://genome.ucsc.edu/cgi-bin/hgBlat?userSeq=IGCLPAHLLGDMWGRFWTNLYSLTVPFGQKPNIDVTDAMVDQAWDAQRIFKEAEKFFVSVGLPNM&type=protein&db=hg38&output=json +https://genome.ucsc.edu/cgi-bin/hgBlat?userSeq=TTTCCCTTCCCCACTGTAGTGGGAGAGAAGGGAGTGGCCATACCATATTTTTCTCGTGGGCCGTTGTAGTCATAAGGCCTTCCTTTGCGGAAAATTTTCAGGGTGGGATA&type=translated%20RNA&db=hg38&output=json +https://genome.ucsc.edu/cgi-bin/hgBlat?userSeq=TTTCCCTTCCCCACTGTAGTGGGAGAGAAGGGAGTGGCCATACCATATTTTTCTCGTGGGCCGTTGTAGTCATAAGGCCTTCCTTTGCGGAAAATTTTCAGGGTGGGATA&type=translated%20DNA&db=hg38&output=json +