I have a big data set and would like to check if every third line has the desired number of bases.
example:
line 1
line 2
ATTGAC
line 4
line 5
TTCGGATC
line 7
line 8
GGTCAA
So line 6 contains 8 bases instead of 6. I would like my script to stop if this is the case.