danielecook
2/25/2016 - 9:54 PM

parse_duplication_results

parse_duplication_results

cat BGI1-RET4-NIC198.dups.txt | awk 'NR == 7 { print "\t" $0 }' > ../duplication_results.txt
for i in `ls *.txt`; do
	cat ${i} | awk -v n="${i}" 'NR == 9 { print n "\t" $0 }' >> ../duplication_results.txt
done;