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 install  
pypi PyPI - Python Version
bioconda Conda Platform

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 -m rcx_tk --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.2.0.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rcx_tk-0.2.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file rcx_tk-0.2.0.tar.gz.

File metadata

  • Download URL: rcx_tk-0.2.0.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.11.0 Linux/6.11.0-1018-azure

File hashes

Hashes for rcx_tk-0.2.0.tar.gz
Algorithm Hash digest
SHA256 62d42c4d0b64f8b60dca044d0f0fd27b3f34838853371504b3c7affe4e077cf2
MD5 c9c8f5405348511eb3564b6be3e8b42d
BLAKE2b-256 c732b0362a2344036e80cf606877aa28a1ac4c0855c1116f926be60ad824bebe

See more details on using hashes here.

File details

Details for the file rcx_tk-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: rcx_tk-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.11.0 Linux/6.11.0-1018-azure

File hashes

Hashes for rcx_tk-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 18a8f9a6c5aedfb57b286e245f0bccd1eaa29011150209f9d3016cd06b85621d
MD5 08696fef153b47d082c6c1266f6d410e
BLAKE2b-256 935f28ab32193cf11c513b0a1c181e1ef61f45351316eac8a710c2f763b468b4

See more details on using hashes here.

Supported by

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