-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
149 update docs to show python api (#157)
* included gruvbox theme for highlight for highlight.js * moved blat to separate ucsc submodule * added blat to ucsc submodule * used new format for archs4 * using new format for docs with table for args plus added in all python interface usages where applicable * fix capitalization typo in docs * ignore book outputs
- Loading branch information
1 parent
7bd4761
commit 242fa4c
Showing
29 changed files
with
593 additions
and
368 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,6 @@ Cargo.lock | |
|
||
**__pycache__** | ||
*DS_Store* | ||
|
||
# Ignore docs book | ||
docs/book/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,35 @@ | ||
# Correlate | ||
|
||
## Help | ||
Performs a gene-correlation analysis using [ARCHS4](https://maayanlab.cloud/archs4). | ||
|
||
```text | ||
Performs a gene-correlation analysis | ||
## Arguments | ||
|
||
Usage: ggetrs archs4 correlate [OPTIONS] <GENE_NAME> | ||
| Name | Short | Long | Description | | ||
|------|-------|------|-------------| | ||
| Count | `-c` | `--count` | number of values to recover [default: 100] | | ||
| Output | `-o` | `--output` | optional filepath to write output to [default=stdout] | | ||
|
||
Arguments: | ||
<GENE_NAME> Gene name to query for correlation | ||
Options: | ||
-c, --count <COUNT> number of values to recover [default: 100] | ||
-o, --output <OUTPUT> output filepath to write to [default=stdout] | ||
-h, --help Print help information | ||
-V, --version Print version information | ||
``` | ||
|
||
## Usage | ||
## Command Line Interface | ||
|
||
```bash | ||
# Perform a gene-correlation analysis with ARCHS4 | ||
ggetrs archs4 correlate AP2S1 | ||
|
||
# Perform a gene-correlation analysis with ARCHS4 | ||
# But only return the top 10 results | ||
ggetrs archs4 correlate -c 10 AP2S1 | ||
``` | ||
|
||
## Python | ||
|
||
```python | ||
import ggetrs | ||
|
||
# Perform a gene-correlation analysis for AP2S1 | ||
# and return the top 10 results | ||
ggetrs.archs4.correlate("AP2S1", 10) | ||
|
||
# Perform a gene-correlation analysis for AP2S1 | ||
# and return the top 100 results | ||
ggetrs.archs4.correlate("AP2S1", 100) | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,33 @@ | ||
# Tissue | ||
|
||
## Help | ||
Performs a tissue-correlation analysis using [ARCHS4](https://maayanlab.cloud/archs4). | ||
|
||
```text | ||
Perform a tissue-enrichment analysis | ||
## Arguments | ||
|
||
Usage: ggetrs archs4 tissue [OPTIONS] <GENE_NAME> | ||
| Name | Short | Long | Description | | ||
|------|-------|------|-------------| | ||
| Species | `-s` | `--species` | species of organism to recover [default: human] [possible values: human, mous] | | ||
| Output | `-o` | `--output` | optional filepath to write output to [default=stdout] | | ||
|
||
Arguments: | ||
<GENE_NAME> Gene name to query for tissue | ||
|
||
Options: | ||
-s, --species <SPECIES> number of values to recover [default: human] [possible values: human, mouse] | ||
-o, --output <OUTPUT> output filepath to write to [default=stdout] | ||
-h, --help Print help information | ||
-V, --version Print version information | ||
``` | ||
|
||
## Usage | ||
## Command Line Interface | ||
|
||
```bash | ||
# Find tissue-level expression using ARCHS4 | ||
# Find tissue-level expression for AP2S1 in Humans | ||
ggetrs archs4 tissue AP2S1 | ||
|
||
# Find tissue-level expression for AP2S1 in Mice | ||
ggetrs archs4 tissue -s mouse AP2S1 | ||
``` | ||
|
||
## Python | ||
|
||
```python | ||
import ggetrs | ||
|
||
# perform a tissue-correlation analysis for AP2S1 in Humans | ||
ggetrs.archs4.tissue("AP2S1", "human") | ||
|
||
# perform a tissue-correlation analysis for AP2S1 in Mice | ||
ggetrs.archs4.tissue("AP2S1", "mouse") | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,20 @@ | ||
# Activity | ||
|
||
## Help | ||
Queries chemical bioactivity for a provided protein target and return all small molecules. | ||
|
||
```text | ||
Queries chemical activity for a provided item | ||
## Arguments | ||
|
||
Usage: ggetrs chembl activity [OPTIONS] <QUERY> | ||
Arguments: | ||
<QUERY> Query to retrieve bioactivity | ||
Options: | ||
-l, --limit <LIMIT> Number of results to return [default: 500] | ||
-o, --output <OUTPUT> Optional filepath to write output to [default=stdout] | ||
-h, --help Print help information | ||
-V, --version Print version information | ||
``` | ||
| Name | Short | Long | Description | | ||
|------|-------|------|-------------| | ||
| Limit | `-l` | `--limit` | Number of results to return [default: 500] | | ||
| Output | `-o` | `--output` | optional filepath to write output to [default=stdout] | | ||
|
||
## Usage | ||
|
||
```bash | ||
# Query the Chembl database for small molecules with bioactivity targeting NSD1 | ||
ggetrs chembl activity NSD1 | ||
|
||
# Query the Chembl database for the top 20 bioactive molecules for NSD1 | ||
ggetrs chembl activity -l 20 NSD1 | ||
``` |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.