How to generate a combined read count txt file with header as file name
I do have multiple txt file for RNAseq read count, is it possible to generate a single txt file with the file name as column header;
txt file having read count like this: so first column is same in all files.
BGIOSGA000001 0 BGIOSGA000002 12 BGIOSGA000003 0 BGIOSGA000004 0 BGIOSGA000005 0 BGIOSGA000006 0 BGIOSGA000007 0 BGIOSGA000008 15
and txt file name are like this:
so I want out put like this:
Root_T3_S_R7_S56 Leaf_T2_F_R5_S8 BGIOSGA000001 0 4 BGIOSGA000002 12 0 BGIOSGA000003 0 3 BGIOSGA000004 0 2 BGIOSGA000005 0 4
I will be thankful for your help.
• 1.1k views
Read more here: Source link