hi
I am trying to run this shell script
when I do it on the command line it works like a charm, but when i try to throw it in a shell it doesn't give any output. Any ideas?
I am trying to run this shell script
Code:
for a in {seq 1 22} samtools view -h file.bam | awk '$3=="chr$a" || /^@/' | samtools view -S - -b -o Chr$a.bam done
Comment