Coder Social home page Coder Social logo

turner / sw2swb Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 66.84 MB

A tool to convert Spacewalk text-based files (.swt) to Spacewalk binary files (.sw). This format based on the Hierarchical Data Format (HDF5).

License: MIT License

Python 100.00%

sw2swb's Introduction

sw2swb

A tool to convert Spacewalk text-based files (.swt) to Spacewalk binary files (.sw). This format is based on the Hierarchical Data Format (HDF5).

Installation

Tested with Python 3.12.2

pip install git+https://github.com/turner/sw2swb.git

Command Line Usage

Convert a text baserd ball & stick file to a binary format. The use of -single-point indicates the data has a single xyz location for a single genomic extent

sw2swb -f ball-and-stick.swt -n ball-and-stick -single-point

Convert a text baserd pointcloude file to a binary format. The use of -multi-point indicates the data has multiple xyz location for a single genomic extent

sw2swb -f ball-and-stick.swt -n ball-and-stick -single-point

Example

wget "https://www.dropbox.com/scl/fi/6e0mgljxd9pqo7coi5dy7/ball-and-stick.sw?rlkey=flan64vir2791z78knpotbpcb&dl=0" -O ball-and-stick.sw
pip install git+https://github.com/turner/sw2swb.git
sw2swb -f ball-and-stick.swt -n ball-and-stick -single-point

sw2swb's People

Contributors

turner avatar

Watchers

 avatar

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.