Skip to content

Commit 11e31bb

Browse files
committed
Restructure repository
- moved each spec into a subfolder - removed old no longer used files for previous setup - updated some examples
1 parent 6624d44 commit 11e31bb

25 files changed

+112
-515
lines changed

.readthedocs.yaml

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

README.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,23 @@
11
# Refget Docs
22

3-
This is the repository for documentation of the GA4GH Refget specifications, which includes both Refget Sequences and Refget Sequence Collections. These docs are written using `mkdocs` using Material for Mkdocs and hosted using GitHub Pages.
3+
This is the repository for documentation of the GA4GH Refget specifications, which includes both Refget Sequences and Refget Sequence Collections.
4+
These docs are written using `mkdocs`, themed with Material for Mkdocs, and hosted using GitHub Pages.
45

5-
## Building locally
6+
View the rendered documentation at <https://ga4gh.github.io/refget/>.
67

7-
Switch to the branch you want to build and use either `mkdocs build` or `mkdocs serve` to render the docs.
8+
## Navigating this repository
9+
10+
The documentation is stored in the `/docs` folder, with a subfolder corresponding to each of the 3 refget standards.
11+
The main text content for each specifation can be found in these files:
12+
13+
- Sequences: [/docs/sequences/README.md](/docs/sequences/README.md)
14+
- Sequence collections: [/docs/seqcols/README.md](/docs/seqcols/README.md)
15+
- Pangenomes: [/docs/pangenomes/README.md](/docs/pangenomes/README.md)
816

917
## Contributing
1018

11-
Edit the files in the `docs` subdirectory. Please submit a PR to the appropriate branch for the version you are editing.
19+
To contribute, edit the files in the `docs` subdirectory. Please submit any changes for review via PR.
20+
21+
## Building locally
22+
23+
Switch to the branch you want to build and use either `mkdocs build` or `mkdocs serve` to render the docs.

docs/README.md

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,4 @@
1-
2-
<style>
3-
img.title {
4-
float: right;
5-
max-width: 50%; /* Adjust as needed */
6-
height: auto;
7-
margin-left: 20px; /* Space between text and image */
8-
}
9-
10-
.container {
11-
overflow: hidden; /* Ensures the float does not affect the container height */
12-
}
13-
14-
@media (max-width: 768px) {
15-
img.title {
16-
float: none; /* Removes float on small screens */
17-
display: block;
18-
margin: 10px auto; /* Centers the image */
19-
max-width: 80%; /* Prevents it from being too large */
20-
}
21-
}
22-
</style>
23-
24-
<div class="container">
1+
<div class="title container">
252
<img src="img/ga4gh-logo.png" class="title" width="300">
263
<h1>Refget specifications</h1>
274
</div>

docs/citation.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
# Citation information
22

3+
If you use any of the refget standards or software in your work, please cite us.
34

4-
Refget sequences was described in:
5+
## Refget sequences
56

6-
Yates AD; Adams J; Chaturvedi S; Davies RM; Laird M; Leinonen R; Nag R; Sheffield N.; Hofmann O & Keane TM.
7+
Please cite:
8+
9+
Yates AD; Adams J; Chaturvedi S; Davies RM; Laird M; Leinonen R; Nag R; Sheffield NC; Hofmann O & Keane TM.
710
**Refget: standardized access to reference sequences**. *Bioinformatics*, 2022, 38, 299-300. DOI: [10.1093/bioinformatics/btab524](https://dx.doi.org/10.1093/bioinformatics/btab524)
811

9-
Sequence collections has not been published.
12+
## Sequence collections
13+
14+
Sequence collections publication is pending. An initial implementation that formed the groundwork for the current standard was described in:
15+
16+
Stolarczyk M; Xue B; Sheffield NC.
17+
**Identity and compatibility of reference genome resources**. *NAR Genomics and Bioinformatics*, Volume 3, Issue 2, June 2021, lqab036. DOI: <https://doi.org/10.1093/nargab/lqab036>
File renamed without changes.

docs/implementation_api.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11

22
# Seqcol API service
33

4-
You can find a semi-functional draft implementation of the API available at: [https://seqcolapi.databio.org](https://seqcolapi.databio.org)
4+
You can find a demo implementation at [https://refget.databio.org](https://refget.databio.org).
55

6+
As of 2025, additional implementations are planned or under development at ENA and Ensembl.

docs/pangenomes/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Refget pangenomes
2+
3+
TBD
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"description": "A collection of biological sequences.",
3+
"type": "object",
4+
"properties": {
5+
"lengths": {
6+
"type": "array",
7+
"collated": true,
8+
"description": "Number of elements, such as nucleotides or amino acids, in each sequence.",
9+
"items": {
10+
"type": "integer"
11+
}
12+
},
13+
"names": {
14+
"type": "array",
15+
"collated": true,
16+
"description": "Human-readable labels of each sequence (chromosome names).",
17+
"items": {
18+
"type": "string"
19+
}
20+
},
21+
"sequences": {
22+
"type": "array",
23+
"collated": true,
24+
"items": {
25+
"type": "string",
26+
"description": "Refget sequences v2 identifiers for sequences."
27+
}
28+
}
29+
},
30+
"required": ["names", "lengths", "sequences"],
31+
"ga4gh": {
32+
"inherent": ["names", "sequences"]
33+
}
34+
}
35+
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)