Skip to content

Commit 505e4ab

Browse files
committed
feat: Add how-to guide
1 parent ba20dcf commit 505e4ab

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

HOW_TO.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# How to
2+
3+
This page compiles common operations that you might want to do when using the MTP-DB.
4+
5+
## How to find all GAP junctions?
6+
This SQL gets you all the GAP junction ENSGs. They are best detected by their gene name, as the TCDB families seem to be incomplete:
7+
```sql
8+
SELECT ensg
9+
FROM gene_names
10+
WHERE
11+
hugo_gene_symbol like "GJ%" OR
12+
hugo_gene_symbol like "PANX%"
13+
```
14+

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Daedalus takes care of connecting to, downloading from, parsing and patching dat
1313
You can take a look at the [CHANGELOG.md](CHANGELOG.md) file for a changelog of each release of the database.
1414

1515
To browse the database locally, we suggest SQLite browsers such as [this FOSS program](https://sqlitebrowser.org/).
16+
Common SQL queries to solve some routine problems are detailed in the [How to guide](HOW_TO.md).
1617

1718
The structure of the MTP-DB is detailed [in this excel file](https://docs.google.com/spreadsheets/d/16vb_2FvZdaUSVOc8m9yRPT6eYP8cGl4UsOzauI2Qbek/edit?usp=sharing).
1819

0 commit comments

Comments
 (0)