Hi,
I counted reads in each bam file by featureCounts, now I have many count.txt files. how I can merge column 7th of each txt file and the first column (gene id) from one file in a unit txt file in mac OS?
$ join 7 counts24.txt counts25.txt counts26.txt counts27.txt counts28.txt counts29.txt counts30.txt counts31.txt counts32.txt counts33.txt counts34.txt counts35.txt counts36.txt counts37.txt counts38.txt counts43.txt counts44.txt counts45.txt counts46.txt counts47.txt counts48.txt counts49.txt counts50.txt counts51.txt counts52.txt counts53.txt counts54.txt counts55.txt counts56.txt counts57.txt > out.txt
*usage: join [-a fileno | -v fileno ] [-e string] [-1 field] [-2 field]
[-o list] [-t char] file1 file2*
simple search and you get multiple hits as to how you can use multiple bam files with featureCounts and generate one matrix with all samples for a expression matrix.
combining quantification (featureCounts) result files into a single dataset
https://support.bioconductor.org/p/64932/
Finally read the manual of featureCounts first. It supports multiple bams. There is no harm reading a software usage manual. They are designed for effective usage .
Why is this a "software error"? Please use sensible tags.
What have you tried to solve this issue? Users will help you sooner if you show some effort yourself.
Sorry, I googled and tried the above code by which I obtained error. That is why I taged with software error
can you provide first few lines any two files?