Skip to content

Commit 30e1920

Browse files
authored
update readmes and remove examples (#25)
1 parent f71222f commit 30e1920

File tree

6 files changed

+7
-8
lines changed

6 files changed

+7
-8
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ ref.txt
2020
target_symbols.txt
2121
/*.gmt
2222
/*.rnk
23+
test.json
24+
test.txt

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ This CLI is focused purely on computation. **It does not provide GMT files or HT
1010

1111
## Install
1212

13+
Requires the [rust toolchain](https://rustup.rs/). Then run the following command in your terminal:
14+
1315
```shell
1416
cargo install webgestalt
1517
```
@@ -25,5 +27,5 @@ webgestalt --help
2527
Example of running over-representation analysis using `kegg.gmt`, with an interesting list at `int.txt` and a reference of `ref.txt`. Outputs JSON file at `output.json`
2628

2729
```shell
28-
ora -g kegg.gmt -i int.txt -r ref.txt -o output.json
30+
webgestalt ora -g kegg.gmt -i int.txt -r ref.txt -o output.json
2931
```

src/main.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ use webgestalt_lib::methods::nta::NTAConfig;
1010
use webgestalt_lib::methods::ora::ORAConfig;
1111
use webgestalt_lib::readers::utils::Item;
1212
use webgestalt_lib::readers::{read_gmt_file, read_rank_file};
13-
14-
/// WebGestalt CLI.
15-
/// ORA and GSEA enrichment tool.
16-
/// Created by John Elizarraras from the Bing Zhang Lab.
1713
#[derive(Parser)]
1814
#[command(author, version, about, long_about = None)]
1915
struct CliArgs {

test.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

test.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

webgestalt_lib/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@ Supported methods include:
88

99
- Over-Representation Analysis (ORA)
1010
- Gene Set Enrichment Analysis (GSEA)
11+
- Network topology-based analysis (NTA)
1112

1213
## Installation
1314

1415
To use webgestalt_lib in your Rust project, add the following line to your `Cargo.toml`.
1516

1617
```toml
17-
webgestalt_lib = "0.2.0" # change to wanted version
18+
webgestalt_lib = "0.3.0" # change to wanted version
1819
```
1920

2021
If you are just interested in running an analysis, rather than develop new tools, please use one of the packages mentioned at the beginning of the README.

0 commit comments

Comments
 (0)