Coder Social home page Coder Social logo

robertaboukhalil / oct4th Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 15 KB

CLI for converting CSV/TSV files to Excel spreadsheets without mangling gene names

Home Page: https://pypi.org/manage/project/oct4th

License: MIT License

Python 100.00%
excel genes

oct4th's Introduction

oct4th


CLI tool to convert CSV/TSV files to Excel spreadsheets, while not converting gene names (e.g. OCT4, DEC1) into dates in the process.

For converting small files, you can use the Oct4th web application.

To learn more about this issue, check out this article.

Installation

pip3 install -U oct4th

Usage

As a CLI:

# Convert a CSV file to XLSX
oct4th --input ./data/test.csv --output ./data/test.xlsx

From Python:

import oct4th

# Convert a CSV file to XLSX
oct4th.csv_to_xlsx(file_in="./data/test.csv", file_out="./data/test.xlsx")

Developing

python3 -m venv ve
. ve/bin/activate
pip install setuptools wheel twine pytest xlsxwriter pandas xlrd

Run Tests

PYTHONPATH=. pytest ./tests/

Deploy

# Clean up and rebuild
. ve/bin/activate
rm -rf ./build/ ./dist/
python3 setup.py sdist bdist_wheel

# Check before deploying
twine check dist/*

# Upload to testpypi
python3 -m twine upload --repository testpypi dist/*

# Test install
deactivate; pip3 install -U -i https://test.pypi.org/simple/ oct4th==1.0.0b9

# Deploy to pypi
# python3 -m twine upload --repository pypi dist/*

oct4th's People

Contributors

dantaki avatar robertaboukhalil avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

dantaki

oct4th's Issues

Can we save the converted table into CSV format?

Dear development team,

Thank you for developing such a wonderful tool!
I was surprised by its conciseness and convenience in addressing long-term issues in bioinformatics.

I've observed that the tool currently supports output only in Excel format.
While this remains convenient, are there any plans to include the option to save the output in CSV or other table formats?
Introducing such flexibility would greatly enhance the tool's usability for diverse applications! :)

Thanks in advance,
Seoyeon

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.