The command
grep "Direct reads" will only keep the lines that contain the text
Direct reads. This means it will keep both the lines rather than just the first. I suggest you change your line slightly to something like :
Code:
grep "Direct reads =" db_snap1.out | cut -d= -f2