Keep only columns in first two rows based on partial header pattern.
I have this code below that only prints out certain columns from the first two rows (doesn't affect rows 3 and beyond). How can I do the same on a partial header pattern “G_TP” instead of having to know specific column numbers (e.g. 374-479)? I've tried many other commands within this pipe with no luck.
I have 53 columns out of 600 or so that the header pattern begins with “G_TP”, but the columns may change positions and if that happens, my method below won't work any longer because of the fixed column number “374-479”.
Hi All,
I would like to ask help on how can i achieve below output.
Inputfile:
Oct11,apa1-daily,01:25:01
Oct11,apa2-daily,01:45:23
Oct12,apa1-daily,02:30:11
Oct12,apa2-daily,01:55:01
Oct13,apa1-off,01:43:34
Oct13,apa2-off,01:22:04
Desired output:
Clients ... (3 Replies)
Hi
My pipe delimited .txt file contains rows with 10 columns.
Can anyone advise how I output to file only those rows with the letters ‘ci'
as the first 2 characters in the 3rd column ?
Many thanks (4 Replies)
Hi,
suppose I have the following file and certain rows have missing columns,
how do i skip these rows and create an output file which has all the columns in it
E/N Ko_exp %err Ko_calc %err diff diff- diff+ 0.95
======== ======= ==== ======= ==== ===== ===== =====... (12 Replies)
Hi to all,
I have two files. File1 has no header, two columns:
sample1 A
sample2 B
sample3 B
sample4 C
sample5 A
sample6 D
sample7 D
File2 has a header, except for the first 3 columns (chr,start,end). "sample1" is the header for the 4th ,5th ,6th columns, "sample2" is the header... (4 Replies)
Hi I have a matrix with n rows and m columns like below example. i want to extract all the pairs with values <200.
Input
A B C D
A 100 206 51 300
B 206 100 72 48
C 351 22 100 198
D 13 989 150 100
Output format
A,A:200
A,C:51
B,B:100... (2 Replies)
I have a file some thing like this:
GN Name=YWHAB;
RC TISSUE=Keratinocyte;
RC TISSUE=Thymus;
CC -!- FUNCTION: Adapter protein implicated in the regulation of a large
CC spectrum of both general and specialized signaling pathways
GN Name=YWHAE;
RC TISSUE=Liver;
RC ... (13 Replies)
Hello,
I have some tab delimited text files with a three header rows. The headers look like, (sorry the tabs look so messy).
index group Name input input input input input input input input input input input... (9 Replies)
Hi Friends,
I have files with columns like this. This sample input below is partial.
Please check below for main file link. Each file will have only two rows.
... (8 Replies)
HI,
My Input file data is
dn:adcfgeneral
id:13343
Name:xxxxxx
Password:iutyerwuitywue wpuwt
tuiytruityrutyrwtyrwp
dn:cdferwjyyyy
id:3875
Name:yyyy
Password :hgfdsjkfhdsfkdlshf
dshfkldshfdklsfh
interset:uiuiufj
My output should be
... (6 Replies)
Discussion started by: dineshaila
6 Replies
LEARN ABOUT DEBIAN
xvier
XVIER(6) Games Manual XVIER(6)NAME
xvier - a X11 board game.
SYNOPSIS
xvier [ -display displayname ] [ -geometry geometry ] [ -fn fontpattern ] [ -iconic ] [ -rows rows ] [ -columns columns ] [ -prog program-
path ] [ -level levelnumber ]
DESCRIPTION
Xvier is a board game where you and the computer alternately throw stones into free columns. The stones pile up in the columns, and the
goal is to get four stones in a row, in a column or diagonally. You can choose various board sizes and levels of difficulty.
During the game you click with the mouse onto the column where you want to put your stone. Another possibility is a lower case letter in
the range 'a' to 'm' (maximally) where 'a' is the left column. If you want to change the level of difficulty, you must use the keyboard.
Simply type the number of the desired level. These levels correspond to the search depth of the game program. The meaning of the command
line options and buttons is given below.
While the game program computes a move, everything besides Change and Quit is blocked.
OPTIONS -display displayname
The X11 screen you want to use.
-geometry geometry
The desired geometry of the game window.
-fn fontpattern
A pattern describing the fonts which are used for the buttons and messages. Xvier chooses the biggest font that fits into the win-
dow. Therefore the pattern should describe different sizes of one font. The default is *-Helvetica-Medium-R-Normal-*.
-iconic
Start in iconic state.
-rows rows
The number of rows of the board. The possible range is 4 to 13. The default is 6.
-columns columns
The number of columns of the board. The possible range is 4 to 13. The default is 7.
-prog programpath
The path of the game program.
-level levelnumber
The level of difficulty to start with. The possible range is 0 to 9. The default is 0.
BUTTONS
The keyboard equivalents of the buttons are given in brackets.
Quit ['q' or 'Q'] Finish the game.
New ['n' or 'N'] Start a new game.
Undo ['u' or 'U'] Undo one move.
Start ['s' or 'S'] Let the computer begin with the first move. The board must be empty.
Change ['C'] Exchange the colours of your and the computer's stones.
AUTHOR
Norbert Jung jung@dia.informatik.uni-stuttgart.de
21 April 1992 XVIER(6)