Skip to content

Commit

Permalink
Add download instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
dvklopfenstein committed Jul 28, 2018
1 parent 25fac8b commit 6324cb7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
Binary file added doc/images/NCBI_gene_download.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 17 additions & 5 deletions doc/md/README_NCBI_gene.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,38 @@
# NCBI GeneID and Symbol
Example of printing gene symbols (instead of geneids) from NCBI gene in a GOEA results table.

1. Download NCBI gene information into gene_result.txt
2. Convert gene_result.txt file into Python
3. Create a geneid2symbol.txt ASCII file
4. Run GOEA using --id2name flag
1. [Download NCBI gene information into gene_result.txt](#1-download-ncbi-gene-information-into-gene_resulttxt)
2. [Convert gene_result.txt file into Python](#2-convert-gene_resulttxt-file-into-python)
3. [Create a geneid2symbol.txt ASCII file](#3-create-a-geneid2symboltxt-ascii-file)
4. [Run GOEA using --id2name flag](#4-run-goea-using---id2name-flag)

## 1) Download NCBI gene information into gene_result.txt

* 1a) [Search for a gene set]()
* 1b) [Download gene_result.txt]()

### 1a) Search for a gene set

* Go to NCBI Gene in your browser https://www.ncbi.nlm.nih.gov/gene/
* Type a search pattern and hit the "Search" button.
For example, to download all human protein-coding genes:
```
genetype protein coding[Properties] AND "9606"[Taxonomy ID] AND alive[property]
```
![NCBI Gene Search](/doc/images/NCBI_gene_search.png)

| NCBI Search text | Description
|-------------------------------------|----------------------
| genetype protein coding[Properties] | Protein-coding genes
| "9606"[Taxonomy ID] | human
| alive[property] | NOT obsolete

![NCBI Gene Search](/doc/images/NCBI_gene_search.png)
### 1b) Download gene_result.txt
* Click pull-down menu: "Send to:"
* Click "File" radial button
* Click "Create File" button
![NCBI Gene Download](/doc/images/NCBI_gene_download.png)


## 2) Convert gene_result.txt file into Python
## 3) Create a geneid2symbol.txt ASCII file
Expand Down

0 comments on commit 6324cb7

Please sign in to comment.