Creating subset of a file based on specific columns
Hello Unix experts,
I need a help to create a subset file. I know with cut comand, its very easy to select many different columns, or threshold. But here I have a bit problem as in my data file is big. And I don't want to identify the column numbers or names manually. I am trying to find any way to automatise this.
For example I have a file with about 1500 columns from TRFLP intensity data.
And the column names are like:
Suppose I want to create a subset selecting all the columns with name Peak.Area.1,Peak.Area.2 etc (as in unix Peak.Area.*)
How can I do that in easy way?
Thanks a lot for the help.
Best wishes,
Mitra
Moderator's Comments:
edit by bakunin: please use CODE-tags for data too, it makes for a better reading. Thank you.
Hi Friends,
I want to delete specific columns from a file.
Say my file content is as follows:
"1","a","ww1",1234"
"2","b","wwr3","2222"
"3","c","erre","3333"
Now i want to delete the column 2 and 4 from this file.
That is I want the file content to be:
"1","ww1"
"2","wwr3"... (11 Replies)
Hi I am Newbie to Unix.Appreciate Help from forum
user would loada b.Csv File(Below example) in /data/m/ directory.Program need to read the b.csc to extract certain column and create a new file /data/d/ directory as csv file with new name.
User File Format
1232,samshouston,12345... (3 Replies)
Hi,
How can I grep a record for a value based on specific column.
If I simply do a grep 'AB' FilenName.txt, I might end up getting the records returned whose part of value is 'AB'.
But I want it specific to second column.
cut -d'|' -f 2 FileName.txt | grep 'AB'
But now it will return... (1 Reply)
HELLO! This is my first post here! By the way, I think it is great that people do this.
My question:
I have two files, one is a .dilm and one is a .txt. It is my understanding that the .dilm file can be treated as a .txt file. I wrote another program where I was able to manipulate it as if it... (3 Replies)
I need to automate a weekly process of piping a directory list to a csv file. Normally I do
ls -l > files_04182010.csv (04182010 being the date..)
Can someome show me how I would script this, so that when the script is ran it grabs the current date and formats it and allows me to use that... (8 Replies)
Hello. I was wondering if anyone could help. I have a file containing a large table in the format:
marker1 marker2 marker3 marker4
position1 position2 position3 position4
genotype1 genotype2 genotype3 genotype4
with marker being a name, position a numeric... (2 Replies)
Hi,
I have a file like this
a b c
d e f
g h i
j k l
Case1:
I want to transpose the whole file
Output1
a d g j
b e h k
c f i l
Case2
Transpose a specific column - Say 3rd (6 Replies)
Hi,
I'd like to swap the columns 1 and 2 of a space-delimited text file but only for the first 1000 rows. How do I go about doing that? Thanks! (1 Reply)
I am compiling a fortran program using gfortran and the result looks as below
I want to write a bash or awk script that will scan the information and output
only problems within a range of line numbers
Example: If I specify the file createmodl.f08, start line 1000 and end line 1100, I will... (8 Replies)
Can anyone please assist?
I have a .txt file(File1.txt) and a property file(propertyfile.txt) . I have to read the vales from the property file and .txt file and create the output file(outputfile.txt) mentioned in the attachment. For each record in .txt file,the below mentioned values shall be... (20 Replies)
Discussion started by: vinus
20 Replies
LEARN ABOUT LINUX
wxcaret
wxCaret(3erl) Erlang Module Definition wxCaret(3erl)NAME
wxCaret - See external documentation: wxCaret.
DESCRIPTION
See external documentation: wxCaret .
DATA TYPES
wxCaret() :
An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc
or distributed for use on other nodes.
EXPORTS
new(Window::wxWindow() (see module wxWindow), Size::{W::integer(), H::integer()}) -> wxCaret()
See external documentation .
new(Window::wxWindow() (see module wxWindow), Width::integer(), Height::integer()) -> wxCaret()
See external documentation .
create(This::wxCaret(), Window::wxWindow() (see module wxWindow), Size::{W::integer(), H::integer()}) -> bool()
See external documentation .
create(This::wxCaret(), Window::wxWindow() (see module wxWindow), Width::integer(), Height::integer()) -> bool()
See external documentation .
getBlinkTime() -> integer()
See external documentation .
getPosition(This::wxCaret()) -> {X::integer(), Y::integer()}
See external documentation .
getSize(This::wxCaret()) -> {W::integer(), H::integer()}
See external documentation .
getWindow(This::wxCaret()) -> wxWindow() (see module wxWindow)
See external documentation .
hide(This::wxCaret()) -> ok
See external documentation .
isOk(This::wxCaret()) -> bool()
See external documentation .
isVisible(This::wxCaret()) -> bool()
See external documentation .
move(This::wxCaret(), Pt::{X::integer(), Y::integer()}) -> ok
See external documentation .
move(This::wxCaret(), X::integer(), Y::integer()) -> ok
See external documentation .
setBlinkTime(Milliseconds::integer()) -> ok
See external documentation .
setSize(This::wxCaret(), Size::{W::integer(), H::integer()}) -> ok
See external documentation .
setSize(This::wxCaret(), Width::integer(), Height::integer()) -> ok
See external documentation .
show(This::wxCaret()) -> ok
Equivalent to show(This, []) .
show(This::wxCaret(), Options::[Option]) -> ok
Types Option = {show, bool()}
See external documentation .
destroy(This::wxCaret()) -> ok
Destroys this object, do not use object again
AUTHORS
<>
wxErlang 0.98.9 wxCaret(3erl)