Skip to content

Commit d02fd4d

Browse files
committed
docs: minimal version
1 parent f54ced4 commit d02fd4d

File tree

8 files changed

+54
-25
lines changed

8 files changed

+54
-25
lines changed

docs/Project.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[deps]
22
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
33
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
4+
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
45
KEGGAPI = "e8256861-d17c-4800-bf17-838497555b93"

docs/make.jl

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@ makedocs(;
1717
pages = [
1818
"Home" => "index.md",
1919
"Manual" => Any[
20-
"Guide" => "man/guide.md",
21-
"man/functions.md",
22-
"man/examples.md",
23-
"man/workflow.md",
20+
"Getting started" => "man/getting-started.md",
21+
"Examples" => "man/examples.md",
22+
"API reference" => "man/api.md",
2423
],
2524
],
2625
)

docs/src/index.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
```@meta
22
CurrentModule = KEGGAPI
33
```
4+
# KEGGAPI.jl
45

5-
# KEGGAPI
6+
A Julia interface for the [KEGG API](www.kegg.jp/kegg/rest/keggapi.html).
7+
The interface allows the functional annotation of genes, identification of metabolic processes
8+
and pathways, the exploration of reaction/pathway prevalence at different taxonomic levels and
9+
the identification of orthologous proteins for further analysis.
610

7-
Documentation for [KEGGAPI](https://github.com/bwbioinfo/KEGGAPI.jl).
8-
9-
An API interface to [KEGG](https://www.genome.jp/kegg/)
11+
KEGGAPI.jl strives to include all routes available through the KEGG API that are included in the
12+
“KEGGREST” package for R (Tenenbaum and maintainers, 2025) and the “Bio.KEGG.REST” module for
13+
Python.
1014

1115

1216
```@index
13-
```
17+
```
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# KEGGAPI.jl Functions
1+
# API reference
22

33
```@autodocs
44
Modules = [KEGGAPI]
5-
```
5+
```

docs/src/man/examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Some Examples
1+
# Examples
22

33
## KEGGAPI.conv
44

docs/src/man/getting-started.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Getting started with KEGGAPI.jl
2+
3+
## Installation
4+
5+
KEGGAPI.jl can be installed using the Julia package manager.
6+
From the Julia REPL, type `]` to enter the Pkg REPL mode and run
7+
8+
```
9+
pkg> add https://github.com/cvigilv/KEGGAPI.jl
10+
```
11+
12+
## Usage
13+
14+
To use KEGGAPI.jl, simply import the package:
15+
16+
```@setup examples
17+
using KEGGAPI
18+
```
19+
20+
And use the interfaces to query the KEGG API. For example, to list all organisms in KEGG:
21+
```@example examples
22+
result = KEGGAPI.list("organism");
23+
```
24+
This returns a `KeggOrganismList` object with the API call, column names and data. The data can
25+
accessed by indexing into the respective fields of the object:
26+
```@example examples
27+
result.url
28+
```
29+
30+
```@example examples
31+
result.colnames
32+
```
33+
34+
```@example examples
35+
result.data
36+
```
37+
38+
For more example usage, refer to the [examples](examples.md) page and the [API reference](api.md).

docs/src/man/guide.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

docs/src/man/workflow.md

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

0 commit comments

Comments
 (0)