This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Perl: How to open multiple files from a folder and print only column with the given string

Hi all,

I have a basic knowledge of perl and I occasionally use perl scripts to manage and process data, currently am trying to open multiple, tab separated files from a given folder and print the columns with the given string into a single file.

Here is a small example of the input file:

Col1 alpha1 alpha2 beta11
a    4    2    T
b    2    5    T
c    6    6    F
d    3    7    T

For each file I want only columns which has label alpha.

Can someone help me regarding this issue.

Thanks in anticipation

perl

0 answers

No answers yet.

Log in to answer this question.