Name | rcx-tk JSON |
Version |
0.1.0
JSON |
| download |
home_page | None |
Summary | This package adjusts and cleans the metadata file provided by a user. |
upload_time | 2024-07-15 12:27:49 |
maintainer | None |
docs_url | None |
author | Zargham Ahmad |
requires_python | <4.0,>=3.11 |
license | MIT |
keywords |
metadata
alkanes
metabolomics
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
## Badges
| fair-software.eu recommendations | |
| :-- | :-- |
| (1/5) code repository | [](https://github.com/RECETOX/rcx-tk) |
| (2/5) license | [](https://github.com/RECETOX/rcx-tk) |
| (3/4) citation | [](https://doi.org/<replace-with-created-DOI>) |
| (4/4) checklist | [](https://bestpractices.coreinfrastructure.org/projects/<replace-with-created-project-identifier>) |
| howfairis | [](https://fair-software.eu) |
| **Other best practices** | |
| Static analysis | [](https://sonarcloud.io/dashboard?id=RECETOX_rcx-tk) |
| Coverage | [](https://sonarcloud.io/dashboard?id=RECETOX_rcx-tk) |
| Documentation | [](https://rcx-tk.readthedocs.io/en/latest/?badge=latest) |
| **GitHub Actions** | |
| Build | [](https://github.com/RECETOX/rcx-tk/actions/workflows/build.yml) |
| Citation data consistency | [](https://github.com/RECETOX/rcx-tk/actions/workflows/cffconvert.yml) |
| SonarCloud | [](https://github.com/RECETOX/rcx-tk/actions/workflows/sonarcloud.yml) |
| MarkDown link checker | [](https://github.com/RECETOX/rcx-tk/actions/workflows/markdown-link-check.yml) |
## How to use rcx_tk
`rcx-tk` package provides tools to process the metadata or alkane files.
On the input, the user is expected to supply a path to the metadata/alkane file in tsv/csv/xls/xlsx file. The file is then converted to a dataframe which is further processed. The main steps are:
- columns rearrangement
- validation of the file names
- validation that the `injectionNumber` column is of integer type
- derivation of new metadata: `sampleName`, `sequenceIdentifier`, `sampleIdentifier` and `localOrder`
Finally, the processed dataframe is saved into user-defined location.
## Installation
To install rcx_tk from GitHub repository, do:
```console
git clone git@github.com:RECETOX/rcx-tk.git
cd rcx-tk
poetry install
```
The main functions are process_metadata_file and process_alkane_ri_file.
The tool can be run also using command-line interface, either by the python3 or poetry:
```console
python3 <path-to-__main.py__> --method='' <path-to-input-data> <path-to-output-data>
```
```console
poetry run rcx_tk --method='' <file-path-to-input-data> <file-path-to-output-data>
```
## Documentation
The project is documented [here](https://rcx-tk.readthedocs.io/en/latest/?badge=latest).
## Contributing
If you want to contribute to the development of rcx_tk,
have a look at the [contribution guidelines](CONTRIBUTING.md).
## Credits
This package was created with [Cookiecutter](https://github.com/audreyr/cookiecutter) and the [NLeSC/python-template](https://github.com/NLeSC/python-template).
Raw data
{
"_id": null,
"home_page": null,
"name": "rcx-tk",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.11",
"maintainer_email": null,
"keywords": "metadata, alkanes, metabolomics",
"author": "Zargham Ahmad",
"author_email": "zargham.ahmad@recetox.muni.cz",
"download_url": "https://files.pythonhosted.org/packages/65/bd/287c60a98c7e05b2c6edaa0549ce6f83ab0e2c89e9e482901cb283ae9856/rcx_tk-0.1.0.tar.gz",
"platform": null,
"description": "## Badges\n\n| fair-software.eu recommendations | |\n| :-- | :-- |\n| (1/5) code repository | [](https://github.com/RECETOX/rcx-tk) |\n| (2/5) license | [](https://github.com/RECETOX/rcx-tk) |\n| (3/4) citation | [](https://doi.org/<replace-with-created-DOI>) |\n| (4/4) checklist | [](https://bestpractices.coreinfrastructure.org/projects/<replace-with-created-project-identifier>) |\n| howfairis | [](https://fair-software.eu) |\n| **Other best practices** | |\n| Static analysis | [](https://sonarcloud.io/dashboard?id=RECETOX_rcx-tk) |\n| Coverage | [](https://sonarcloud.io/dashboard?id=RECETOX_rcx-tk) |\n| Documentation | [](https://rcx-tk.readthedocs.io/en/latest/?badge=latest) |\n| **GitHub Actions** | |\n| Build | [](https://github.com/RECETOX/rcx-tk/actions/workflows/build.yml) |\n| Citation data consistency | [](https://github.com/RECETOX/rcx-tk/actions/workflows/cffconvert.yml) |\n| SonarCloud | [](https://github.com/RECETOX/rcx-tk/actions/workflows/sonarcloud.yml) |\n| MarkDown link checker | [](https://github.com/RECETOX/rcx-tk/actions/workflows/markdown-link-check.yml) |\n\n## How to use rcx_tk\n\n`rcx-tk` package provides tools to process the metadata or alkane files.\n\nOn the input, the user is expected to supply a path to the metadata/alkane file in tsv/csv/xls/xlsx file. The file is then converted to a dataframe which is further processed. The main steps are:\n\n- columns rearrangement\n- validation of the file names\n- validation that the `injectionNumber` column is of integer type\n- derivation of new metadata: `sampleName`, `sequenceIdentifier`, `sampleIdentifier` and `localOrder`\n\nFinally, the processed dataframe is saved into user-defined location.\n\n## Installation\n\nTo install rcx_tk from GitHub repository, do:\n\n```console\ngit clone git@github.com:RECETOX/rcx-tk.git\ncd rcx-tk\npoetry install\n```\n\nThe main functions are process_metadata_file and process_alkane_ri_file.\n\nThe tool can be run also using command-line interface, either by the python3 or poetry:\n\n```console\npython3 <path-to-__main.py__> --method='' <path-to-input-data> <path-to-output-data>\n```\n\n```console\npoetry run rcx_tk --method='' <file-path-to-input-data> <file-path-to-output-data>\n```\n## Documentation\n\nThe project is documented [here](https://rcx-tk.readthedocs.io/en/latest/?badge=latest).\n\n## Contributing\n\nIf you want to contribute to the development of rcx_tk,\nhave a look at the [contribution guidelines](CONTRIBUTING.md).\n\n## Credits\n\nThis package was created with [Cookiecutter](https://github.com/audreyr/cookiecutter) and the [NLeSC/python-template](https://github.com/NLeSC/python-template).\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "This package adjusts and cleans the metadata file provided by a user.",
"version": "0.1.0",
"project_urls": null,
"split_keywords": [
"metadata",
" alkanes",
" metabolomics"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "23622262f2b8232b947f148462e3bf419b45e326d1d0f274b88d3e05860593ba",
"md5": "c5982446820f555734e762b86918bcad",
"sha256": "307f3aae4e57ec2620b218589aad9af0e62b9c9b5b70eaaa077fe63ed5d552ff"
},
"downloads": -1,
"filename": "rcx_tk-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c5982446820f555734e762b86918bcad",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.11",
"size": 6456,
"upload_time": "2024-07-15T12:27:47",
"upload_time_iso_8601": "2024-07-15T12:27:47.369224Z",
"url": "https://files.pythonhosted.org/packages/23/62/2262f2b8232b947f148462e3bf419b45e326d1d0f274b88d3e05860593ba/rcx_tk-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "65bd287c60a98c7e05b2c6edaa0549ce6f83ab0e2c89e9e482901cb283ae9856",
"md5": "f112ce1572d74cbd9d24f06573ad4d93",
"sha256": "78eb18c1b90289b9e39d2451cb444ded39134fa9e56744cf692839e7835ddb04"
},
"downloads": -1,
"filename": "rcx_tk-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "f112ce1572d74cbd9d24f06573ad4d93",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.11",
"size": 6117,
"upload_time": "2024-07-15T12:27:49",
"upload_time_iso_8601": "2024-07-15T12:27:49.109641Z",
"url": "https://files.pythonhosted.org/packages/65/bd/287c60a98c7e05b2c6edaa0549ce6f83ab0e2c89e9e482901cb283ae9856/rcx_tk-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-15 12:27:49",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "rcx-tk"
}