Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Is there any efficient way i can take out a specific column from hundreds of files and put it in one file?

by GrandFather (Saint)
on Sep 28, 2014 at 20:08 UTC ( [id://1102287]=note: print w/replies, xml ) Need Help??


in reply to Is there any efficient way i can take out a specific column from hundreds of files and put it in one file?

There is a theme developing in your questions and the answer to all of them is: database! Maybe the most useful thing you can do at this point is take a step back and tell us what you are trying to achieve with these 100's of files because that will influence what your database looks like and how it can be efficiently created from your files. You should also tell us if the file generation process is ongoing and whether you want to generate the output file once or, if more then once, what changes each time you generate the output.

Perl is the programming world's equivalent of English
  • Comment on Re: Is there any efficient way i can take out a specific column from hundreds of files and put it in one file?

Replies are listed 'Best First'.
Re^2: Is there any efficient way i can take out a specific column from hundreds of files and put it in one file?
by coolda (Novice) on Sep 28, 2014 at 22:32 UTC
    File generation process is not ongoing. I have a fixed number of files. Ultimately i'm trying to create two files, one with table consisting of only male data and the other female, with the format of what i described in earlier post. I am trying to compare male and female's expression level of each genes(which is column1 in the table i described) and see which genes have higher expression level in female. So my initial goal right now is to make a male file that consist of gene names(first column) and expression levels of each male (rest of the columns).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1102287]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (7)
As of 2024-04-19 13:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found