|
1 | | -# Curation metadata |
| 1 | +# `malariagen_data` - analyse MalariaGEN data from Python |
2 | 2 |
|
3 | | -Summary statistics used during our sequence QC process are available within each sample set subdirectory, in a file named "sequence_qc_stats.csv". Each file contains the following fields: |
| 3 | +This Python package provides methods for accessing and analysing data from MalariaGEN. |
4 | 4 |
|
5 | | -- `sample_id` (string) - MalariaGEN sample identifier |
6 | | -- `mean_cov` (float) - mean coverage |
7 | | -- `median_cov` (int) - median coverage |
8 | | -- `modal_cov` (int) - modal coverage |
9 | | -- `mean_cov_{contig}` (float) - mean coverage for a particular contig |
10 | | -- `median_cov_{contig}` (int) - median coverage for a particular contig |
11 | | -- `mode_cov_{contig}` (int) - modal coverage for a particular contig |
12 | | -- `frac_gen_cov` (float) - fraction of the genome covered |
13 | | -- `divergence` (float) - divergence |
| 5 | +## Installation |
14 | 6 |
|
15 | | -For further information or queries contact support@malariagen.net. |
| 7 | +The `malariagen_data` Python package is available from the Python |
| 8 | +package index (PyPI) and can be installed via `pip`, e.g.: |
| 9 | + |
| 10 | +```bash |
| 11 | +pip install malariagen-data |
| 12 | +``` |
| 13 | + |
| 14 | +## Documentation |
| 15 | + |
| 16 | +Documentation of classes and methods in the public API are available |
| 17 | +from the following locations: |
| 18 | + |
| 19 | +- [Ag3 API |
| 20 | + docs](https://malariagen.github.io/malariagen-data-python/latest/Ag3.html) |
| 21 | + |
| 22 | +- [Af1 API |
| 23 | + docs](https://malariagen.github.io/malariagen-data-python/latest/Af1.html) |
| 24 | + |
| 25 | +- [Amin1 API |
| 26 | + docs](https://malariagen.github.io/malariagen-data-python/latest/Amin1.html) |
| 27 | + |
| 28 | +- [Adir1 API |
| 29 | + docs](https://malariagen.github.io/malariagen-data-python/latest/Adir1.html) |
| 30 | + |
| 31 | +- [Pf8 API |
| 32 | + docs](https://malariagen.github.io/parasite-data/pf8/api.html) |
| 33 | + |
| 34 | +- [Pf7 API |
| 35 | + docs](https://malariagen.github.io/parasite-data/pf7/api.html) |
| 36 | + |
| 37 | +- [Pv4 API |
| 38 | + docs](https://malariagen.github.io/parasite-data/pv4/api.html) |
| 39 | + |
| 40 | +## Release notes (change log) |
| 41 | + |
| 42 | +See [GitHub releases](https://github.com/malariagen/malariagen-data-python/releases) |
| 43 | +for release notes. |
| 44 | + |
| 45 | +## Developer setup |
| 46 | + |
| 47 | +To get setup for development, see [this video if you prefer VS Code](https://youtu.be/zddl3n1DCFM), or [this older video if you prefer PyCharm](https://youtu.be/QniQi-Hoo9A). |
| 48 | + |
| 49 | +For detailed setup instructions, see: |
| 50 | +- [Linux setup guide](LINUX_SETUP.md) |
| 51 | +- [macOS setup guide](MACOS_SETUP.md) |
| 52 | +- [Windows setup guide](WINDOWS_SETUP.md) |
| 53 | +- [Google Colab (TPU) setup guide](docs/source/colab_tpu_runtime.rst) |
| 54 | +Detailed instructions can be found in the [Contributors guide](https://github.com/malariagen/malariagen-data-python/blob/master/CONTRIBUTING.md). |
| 55 | + |
| 56 | +## AI use policy and guidelines |
| 57 | + |
| 58 | +See [AI use policy and guidelines](https://github.com/malariagen/malariagen-data-python/blob/master/AI-POLICY.md) for more details. |
| 59 | + |
| 60 | +## Release process |
| 61 | + |
| 62 | +Create a new GitHub release. That's it. This will automatically |
| 63 | +trigger publishing of a new release to PyPI and a new version of |
| 64 | +the documentation via GitHub Actions. |
| 65 | + |
| 66 | +The version switcher for the documentation can then be updated by |
| 67 | +modifying the `docs/source/_static/switcher.json` file accordingly. |
| 68 | + |
| 69 | +## Citation |
| 70 | + |
| 71 | +If you use the `malariagen_data` package in a publication |
| 72 | +or include any of its functions or code in other materials (_e.g._ training resources), |
| 73 | +please cite: [doi.org/10.5281/zenodo.11173411](https://doi.org/10.5281/zenodo.11173411) |
| 74 | + |
| 75 | +Some functions may require additional citations to acknowledge specific contributions. These are indicated in the description for each relevant function. |
| 76 | + |
| 77 | +For any questions, please feel free to contact us at: [support@malariagen.net](mailto:support@malariagen.net) |
| 78 | + |
| 79 | + |
| 80 | +## Sponsorship |
| 81 | + |
| 82 | +This project is currently supported by the following grants: |
| 83 | + |
| 84 | +* [BMGF INV-068808](https://www.gatesfoundation.org/about/committed-grants/2024/04/inv-068808) |
| 85 | +* [BMGF INV-062921](https://www.gatesfoundation.org/about/committed-grants/2024/07/inv-062921) |
| 86 | + |
| 87 | +This project was previously supported by the following grants: |
| 88 | + |
| 89 | +* [BMGF INV-001927](https://www.gatesfoundation.org/about/committed-grants/2019/11/inv001927) |
0 commit comments