htseq-counts output merge into one matrix ??

htseq-counts output merge into one matrix ??

8

Dear all,

I just need a little help to merge my all features counts into one matrix. I have counted features using htseq-counts and now want to merge into one file like….

ID     c1 c2 c3…………..t1 t2 t2…….etc

 

The problem is that i have 36 sample and corresponding counts so i am lazy to write …

paste *.txt | cut -d -f1,2,4,6,8………………………….72 (because each file contain two column i.e ID and counts )

and moreover, apart from laziness, one problem also happened here that while pasting its not in sequence  like :

paste 1.txt 2.txt 3.txt…………

 

Help me please…

 


rna-seq


bioinformatics


gene expression counts

• 16k views

Read more here: Source link