All Projects → lindenb → Verticalize

lindenb / Verticalize

Licence: mit
Simple tool to verticalize text delimited files.

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Verticalize

Pyinquirer
A Python module for common interactive command line user interfaces
Stars: ✭ 1,151 (+3496.88%)
Mutual labels:  command-line-app, command-line
Text Minimap
Generate text minimap/preview using Braille Patterns
Stars: ✭ 21 (-34.37%)
Mutual labels:  command-line, text
Word Wrap
Wrap words to a specified length.
Stars: ✭ 107 (+234.38%)
Mutual labels:  command-line, text
Bartlett
A simple Jenkins command line client to serve your needs.
Stars: ✭ 81 (+153.13%)
Mutual labels:  command-line-app, command-line
Simple Console
Add an elegant command-line interface to any page
Stars: ✭ 107 (+234.38%)
Mutual labels:  command-line-app, command-line
Terjira
Terjira is a very interactive and easy to use CLI tool for Jira.
Stars: ✭ 713 (+2128.13%)
Mutual labels:  command-line-app, command-line
Neph
A modern command line job processor, similar with make command
Stars: ✭ 174 (+443.75%)
Mutual labels:  command-line-app, command-line
Mprislyrics
Small command-line utility that displays lyrics in sync with the currently playing song in a MPRIS2 capable player.
Stars: ✭ 24 (-25%)
Mutual labels:  command-line-app, command-line
Typographie
Web service for preparation of Russian texts for the web publication
Stars: ✭ 12 (-62.5%)
Mutual labels:  text
Cht.exe
cht.sh libcurl client for windows XP+ with changed colorization
Stars: ✭ 15 (-53.12%)
Mutual labels:  command-line
Axegrinder
Crawl websites for accessibility issues from the command line.
Stars: ✭ 12 (-62.5%)
Mutual labels:  command-line
Mylittlecanvas
🎨Need to create a custom view ? You don't know how to use Canvas, use MyLittleCanvas instead !
Stars: ✭ 870 (+2618.75%)
Mutual labels:  text
Swiftshell
A Swift framework for shell scripting.
Stars: ✭ 860 (+2587.5%)
Mutual labels:  command-line
.scripts
~/.scripts - Ready-to-Eat Command Line Scripts.
Stars: ✭ 12 (-62.5%)
Mutual labels:  command-line
Todo r
Find all your TODO notes with one command!
Stars: ✭ 28 (-12.5%)
Mutual labels:  command-line
Tui
A text-based user interface library for golang based on termbox
Stars: ✭ 12 (-62.5%)
Mutual labels:  text
Ps Clone
A clone of unix ps program
Stars: ✭ 30 (-6.25%)
Mutual labels:  command-line
Pm2
Node.js Production Process Manager with a built-in Load Balancer.
Stars: ✭ 36,126 (+112793.75%)
Mutual labels:  command-line
Scripting course
📓 A reference guide to Linux command line, Vim and Scripting
Stars: ✭ 881 (+2653.13%)
Mutual labels:  command-line
Executor
Watch for file changes and then execute command. Very nice for test driven development.
Stars: ✭ 14 (-56.25%)
Mutual labels:  command-line

Verticalize

Simple tool to verticalize text delimited files.

Author: Pierre Lindenbaum Phd @yokofakun

http://i.imgur.com/23kd0Il.jpg

Compilation

make

Usage

verticalize (options) (file|stdin)

Options

  • -n first line is NOT the header
  • -d (char) delimiter (default: tab)
  • -h get help.

Example

Example 1: git log

$ git log --pretty=format:'%h|%an|%s' | verticalize -n -d '|'
>>> 1
$1   : 53c8167
$2   : Pierre Lindenbaum
$3   : 1st
<<< 1

>>> 2
$1   : 9e23c0c
$2   : Pierre Lindenbaum
$3   : Initial commit
<<< 2

Example 2 : A VCF file

$ curl "https://raw.githubusercontent.com/ekg/vcflib/master/samples/sample.vcf"  |\
  grep -vE "^##" |\
  verticalize
>>> 2
$1    #CHROM : 19
$2       POS : 111
$3        ID : .
$4       REF : A
$5       ALT : C
$6      QUAL : 9.6
$7    FILTER : .
$8      INFO : .
$9    FORMAT : GT:HQ
$10  NA00001 : 0|0:10,10
$11  NA00002 : 0|0:10,10
$12  NA00003 : 0/1:3,3
<<< 2

>>> 3
$1    #CHROM : 19
$2       POS : 112
$3        ID : .
$4       REF : A
$5       ALT : G
$6      QUAL : 10
$7    FILTER : .
$8      INFO : .
$9    FORMAT : GT:HQ
$10  NA00001 : 0|0:10,10
$11  NA00002 : 0|0:10,10
$12  NA00003 : 0/1:3,3
<<< 3

>>> 4
$1    #CHROM : 20
$2       POS : 14370
$3        ID : rs6054257
$4       REF : G
$5       ALT : A
$6      QUAL : 29
$7    FILTER : PASS
$8      INFO : NS=3;DP=14;AF=0.5;DB;H2
$9    FORMAT : GT:GQ:DP:HQ
$10  NA00001 : 0|0:48:1:51,51
$11  NA00002 : 1|0:48:8:51,51
$12  NA00003 : 1/1:43:5:.,.
<<< 4

>>> 5
$1    #CHROM : 20
$2       POS : 17330
$3        ID : .
$4       REF : T
$5       ALT : A
$6      QUAL : 3
$7    FILTER : q10
$8      INFO : NS=3;DP=11;AF=0.017
$9    FORMAT : GT:GQ:DP:HQ
$10  NA00001 : 0|0:49:3:58,50
$11  NA00002 : 0|1:3:5:65,3
$12  NA00003 : 0/0:41:3:.,.
<<< 5

>>> 6
$1    #CHROM : 20
$2       POS : 1110696
$3        ID : rs6040355
$4       REF : A
$5       ALT : G,T
$6      QUAL : 67
$7    FILTER : PASS
$8      INFO : NS=2;DP=10;AF=0.333,0.667;AA=T;DB
$9    FORMAT : GT:GQ:DP:HQ
$10  NA00001 : 1|2:21:6:23,27
$11  NA00002 : 2|1:2:0:18,2
$12  NA00003 : 2/2:35:4:.,.
<<< 6

>>> 7
$1    #CHROM : 20
$2       POS : 1230237
$3        ID : .
$4       REF : T
$5       ALT : .
$6      QUAL : 47
$7    FILTER : PASS
$8      INFO : NS=3;DP=13;AA=T
$9    FORMAT : GT:GQ:DP:HQ
$10  NA00001 : 0|0:54:.:56,60
$11  NA00002 : 0|0:48:4:51,51
$12  NA00003 : 0/0:61:2:.,.
<<< 7

>>> 8
$1    #CHROM : 20
$2       POS : 1234567
$3        ID : microsat1
$4       REF : G
$5       ALT : GA,GAC
$6      QUAL : 50
$7    FILTER : PASS
$8      INFO : NS=3;DP=9;AA=G;AN=6;AC=3,1
$9    FORMAT : GT:GQ:DP
$10  NA00001 : 0/1:.:4
$11  NA00002 : 0/2:17:2
$12  NA00003 : 1/1:40:3
<<< 8

>>> 9
$1    #CHROM : 20
$2       POS : 1235237
$3        ID : .
$4       REF : T
$5       ALT : .
$6      QUAL : .
$7    FILTER : .
$8      INFO : .
$9    FORMAT : GT
$10  NA00001 : 0/0
$11  NA00002 : 0|0
$12  NA00003 : ./.
<<< 9

>>> 10
$1    #CHROM : X
$2       POS : 10
$3        ID : rsTest
$4       REF : AC
$5       ALT : A,ATG
$6      QUAL : 10
$7    FILTER : PASS
$8      INFO : .
$9    FORMAT : GT
$10  NA00001 : 0
$11  NA00002 : 0/1
$12  NA00003 : 0|2
<<< 10
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].