The first 3 column contains the genome coordinates 4th column contains transcript name 5th column contains exon name and 6th column contain exon rank.
So I want to separate this file into 2 files: 1st file which contains <20 exons in a transcript and another file that contain >20 exons in a transcript.

X 70444861 70445558 ENST00000194900 ENSE00001463308 1
X 70448580 70448633 ENST00000194900 ENSE00001463307 2
X 70448913 70448963 ENST00000194900 ENSE00003643927 3
X 70449359 70449483 ENST00000194900 ENSE00003548284 4
X 70449690 70449859 ENST00000194900 ENSE00003690291 5
X 70450169 70450305 ENST00000194900 ENSE00000436378 6
X 70450639 70450783 ENST00000194900 ENSE00000672250 7
X 70451867 70452026 ENST00000194900 ENSE00003562095 8
X 70453637 70453793 ENST00000194900 ENSE00003664498 9
X 70454214 70454316 ENST00000194900 ENSE00003617252 10
X 70479150 70479264 ENST00000194900 ENSE00003589163 11
X 70492107 70492283 ENST00000194900 ENSE00003626140 12
X 70492521 70492596 ENST00000194900 ENSE00003469450 13
X 70495408 70495453 ENST00000194900 ENSE00003692914 14
X 70497180 70497221 ENST00000194900 ENSE00003595614 15
X 70498520 70498570 ENST00000194900 ENSE00003511316 16
X 70499176 70499277 ENST00000194900 ENSE00003615707 17
X 70499877 70500049 ENST00000194900 ENSE00003483338 18
X 70500471 70500580 ENST00000194900 ENSE00003686632 19
X 70500898 70500989 ENST00000194900 ENSE00003626326 20
X 70502163 705 ...



Source link