Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.

Commit 6bb73eb

Browse files
authored
Merge pull request #50 from MDverse/update-docs
Update docs
2 parents 5f0cb47 + 0e50ad4 commit 6bb73eb

File tree

2 files changed

+49
-4
lines changed

2 files changed

+49
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ This file is automatically ignored by git and won't be pushed on GitHub.
4646
Scrape Zenodo for MD-related datasets and files:
4747

4848
```bash
49-
uv run scrape-zenodo --query params/query.yml --output-path data
49+
uv run scrape-zenodo --query-file params/query.yml --output-dir data
5050
```
5151

5252
Scrape Zenodo with a small query, for development or demo purpose:
5353

5454
```bash
55-
uv run scrape-zenodo --query params/query_dev.yml --output-path tmp
55+
uv run scrape-zenodo --query-file params/query_dev.yml --output-dir tmp
5656
```
5757

5858
The scraping takes some time (about 5 hours). A mechanism has been set up to avoid overloading the Zenodo API. Be patient.
@@ -68,13 +68,13 @@ Have a look to the notes regarding [Figshare](docs/figshare.md) and how its API
6868
Scrape FigShare for MD-related datasets and files:
6969

7070
```bash
71-
uv run scrape-figshare --query params/query.yml --output-path data
71+
uv run scrape-figshare --query-file params/query.yml --output-dir data
7272
```
7373

7474
Scrape FigShare with a small query, for development or demo purpose:
7575

7676
```bash
77-
uv run scrape-figshare --query params/query_dev.yml --output-path tmp
77+
uv run scrape-figshare --query-file params/query_dev.yml --output-dir tmp
7878
```
7979

8080
The scraping takes some time (about 5 hours). Be patient.
@@ -112,6 +112,8 @@ Eventually, the scraper will produce three files: `osf_datasets.tsv`, `osf_datas
112112

113113
## Scrape NOMAD
114114

115+
Have a look to the notes regarding [NOMAD](docs/nomad.md) and its API.
116+
115117
Scrape NOMAD:
116118

117119
```bash

docs/nomad.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# NOMAD
2+
3+
> NOMAD is a free, and open-source data management platform for materials science, whose goal is to make scientific research data FAIR (findable, accessible, interoperable and reusable).
4+
5+
- web site: https://nomad-lab.eu/nomad-lab/
6+
- documentation: https://nomad-lab.eu/prod/v1/docs/api.html
7+
- API: https://nomad-lab.eu/prod/v1/api/v1/
8+
9+
No account / token is needed to access NOMAD API.
10+
11+
## Finding molecular dynamics datasets and files
12+
13+
### Datasets
14+
15+
In NOMAD, datasets (a simulation and its related files) are called "entry" and datasets are sets of multiple entries.
16+
17+
Entries related to molecular dynamics corresponds to "workflow name = MolecularDynamics": https://nomad-lab.eu/prod/v1/gui/search/entries?results.method.workflow_name=MolecularDynamics
18+
19+
API entrypoint to search for entries:
20+
21+
- Path: `/entries/rawdir/query`
22+
- [documentatation](https://nomad-lab.eu/prod/v1/api/v1/extensions/docs#/entries%2Fraw/post_entries_rawdir_query_entries_rawdir_query_post)
23+
24+
### Files
25+
26+
API endpoint to get files for a given entry:
27+
- Path: `/entries/{entry_id}/rawdir`
28+
- [documentation](https://nomad-lab.eu/prod/v1/api/v1/extensions/docs#/entries%2Fraw/get_entry_rawdir_entries__entry_id__rawdir_get)
29+
30+
## Examples
31+
32+
### x7sBrcHMgkcZcurdULy_qlxnnf6K
33+
34+
- entry id: x7sBrcHMgkcZcurdULy_qlxnnf6K
35+
- [entry on NOMAD GUI](https://nomad-lab.eu/prod/v1/gui/search/entries/entry/id/x7sBrcHMgkcZcurdULy_qlxnnf6K)
36+
- [entry on NOMAD API](https://nomad-lab.eu/prod/v1/api/v1/entries/x7sBrcHMgkcZcurdULy_qlxnnf6K)
37+
38+
Description (called "Comment") :
39+
40+
> MD simulations of wastewater pollutants on amorphous TiO2 at pH 7.4 in TIP3P water with NaCl ions. One simulation is calculated without pollutants, but with additional salt. Originally, the trajectories contain a total of 100 ns simulation time with a 10 ps time step. To compact the size, uploaded trajectories have a lower frequency of 100 ps time steps. If original trajectories are of interest, please contact the author. The two different topol.top files are for different stages in the equilibrium and production run: topol_I.top for the first equilibrium steps and topol_II.top for later equilibrium and production. They have different position restraints applied.
41+
42+
- [files on NOMAD GUI](https://nomad-lab.eu/prod/v1/gui/search/entries/entry/id/x7sBrcHMgkcZcurdULy_qlxnnf6K/files/)
43+
- [files on NOMAD API](https://nomad-lab.eu/prod/v1/api/v1/entries/x7sBrcHMgkcZcurdULy_qlxnnf6K/rawdir)

0 commit comments

Comments
 (0)