Skip to content

Commit 6936793

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

File tree

8 files changed

+58
-30
lines changed

8 files changed

+58
-30
lines changed

docs/Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
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"
6+
LiveServer = "16fef848-5104-11e9-1b77-fb7a48bbb589"

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: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
```@meta
22
CurrentModule = KEGGAPI
33
```
4-
5-
# KEGGAPI
6-
7-
Documentation for [KEGGAPI](https://github.com/bwbioinfo/KEGGAPI.jl).
8-
9-
An API interface to [KEGG](https://www.genome.jp/kegg/)
10-
11-
12-
```@index
13-
```
4+
# KEGGAPI.jl
5+
6+
A Julia interface for the [KEGG API](https://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.
10+
11+
KEGGAPI.jl aims to support all KEGG API endpoints provided by the
12+
["KEGGREST"](https://bioconductor.org/packages/release/bioc/html/KEGGREST.html) package for R
13+
(Tenenbaum and maintainers, 2025) and the
14+
["Bio.KEGG.REST"](https://biopython.org/docs/1.75/api/Bio.KEGG.REST.html) submodule from
15+
Biopython for Python.
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)