This package adjusts and cleans the metadata file provided by a user.
Project description
Badges
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
injectionNumbercolumn is of integer type - derivation of new metadata:
sampleName,sequenceIdentifier,sampleIdentifierandlocalOrder
Finally, the processed dataframe is saved into user-defined location.
Installation
To install rcx_tk from GitHub repository, do:
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:
python3 <path-to-__main.py__> --method='' <path-to-input-data> <path-to-output-data>
poetry run rcx_tk --method='' <file-path-to-input-data> <file-path-to-output-data>
Documentation
The project is documented here.
Contributing
If you want to contribute to the development of rcx_tk, have a look at the contribution guidelines.
Credits
This package was created with Cookiecutter and the NLeSC/python-template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rcx_tk-0.1.0.tar.gz.
File metadata
- Download URL: rcx_tk-0.1.0.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.0 Linux/6.5.0-1023-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78eb18c1b90289b9e39d2451cb444ded39134fa9e56744cf692839e7835ddb04
|
|
| MD5 |
f112ce1572d74cbd9d24f06573ad4d93
|
|
| BLAKE2b-256 |
65bd287c60a98c7e05b2c6edaa0549ce6f83ab0e2c89e9e482901cb283ae9856
|
File details
Details for the file rcx_tk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: rcx_tk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.0 Linux/6.5.0-1023-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
307f3aae4e57ec2620b218589aad9af0e62b9c9b5b70eaaa077fe63ed5d552ff
|
|
| MD5 |
c5982446820f555734e762b86918bcad
|
|
| BLAKE2b-256 |
23622262f2b8232b947f148462e3bf419b45e326d1d0f274b88d3e05860593ba
|