gravatar for ellenbdrake30

3 hours ago by


I'm sorry if this is incredibly basic but I'm very new to working in terminal. I have a .gtf that I would like to filter based on an FPKM threshold. However, the column that contains FPKM values has these values in equations, so when I try with

awk '{if($16>0.3) print }' < file.gtf > new.file.gtf I get a blank file as output.

Is there a way around this? I've tried using quotations in my filtering step too, just in case awk '{if($16>"0.3") print but still get an empty file. Any tips would be greatly appreciated!!

Source link