Hi every one,
I'd like merging the following two HTSeq-count outputs using the following command--- paste UHR1_htseq-count.out UHR2_htseq-count.out brain1_htseq-
count.out brain2_htseq-count.out | awk -F "\t" '{print
$1"\t"$2"\t"$4"\t"$6"\t"$8 }' > All_htseqCounts.txt
head UHR1_htseq-count.out
A1BG 67
A1CF 31
A2BP 3
head UHR2_htseq-count.out
A1BG 67
A1CF 39
A2BP 1
-----
I got the following output.
A1BG 67 A1BG 67
A1CF 31 A1CF 39
A2BP 3 A2BP 1
----
In fact I want to get the folloing one.
A1BG 67 67
A1CF 31 39
A2BP 3 1
Is there any one who know what is wrong with the command?
Thanks a lot?
Richard
I'd like merging the following two HTSeq-count outputs using the following command--- paste UHR1_htseq-count.out UHR2_htseq-count.out brain1_htseq-
count.out brain2_htseq-count.out | awk -F "\t" '{print
$1"\t"$2"\t"$4"\t"$6"\t"$8 }' > All_htseqCounts.txt
head UHR1_htseq-count.out
A1BG 67
A1CF 31
A2BP 3
head UHR2_htseq-count.out
A1BG 67
A1CF 39
A2BP 1
-----
I got the following output.
A1BG 67 A1BG 67
A1CF 31 A1CF 39
A2BP 3 A2BP 1
----
In fact I want to get the folloing one.
A1BG 67 67
A1CF 31 39
A2BP 3 1
Is there any one who know what is wrong with the command?
Thanks a lot?
Richard
Comment