Skip to main content

This package adjusts and cleans the metadata file provided by a user.

Project description

Badges

fair-software.eu recommendations
(1/5) code repository github repo badge
(2/5) license github license badge
(3/4) citation DOI
(4/4) checklist workflow cii badge
howfairis fair-software badge
Other best practices  
Static analysis workflow scq badge
Coverage workflow scc badge
Documentation Documentation Status
GitHub Actions  
Build build
Citation data consistency cffconvert
SonarCloud sonarcloud
MarkDown link checker markdown-link-check

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:

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rcx_tk-0.1.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

rcx_tk-0.1.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

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

Hashes for rcx_tk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 78eb18c1b90289b9e39d2451cb444ded39134fa9e56744cf692839e7835ddb04
MD5 f112ce1572d74cbd9d24f06573ad4d93
BLAKE2b-256 65bd287c60a98c7e05b2c6edaa0549ce6f83ab0e2c89e9e482901cb283ae9856

See more details on using hashes here.

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

Hashes for rcx_tk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 307f3aae4e57ec2620b218589aad9af0e62b9c9b5b70eaaa077fe63ed5d552ff
MD5 c5982446820f555734e762b86918bcad
BLAKE2b-256 23622262f2b8232b947f148462e3bf419b45e326d1d0f274b88d3e05860593ba

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page