Can anyone suggest me single line command (specially sed or AWK) to divide each line of given file in equal number of part. For example divide each line in 4 or 3 equal part.
Example:
Input:
ATGCATHLMNPHLNTPLML
ALHCAPHLMNPHLNTPLMLG
Output:
ATGCA THLMN PHLNT PLML
ALHCA PHLMN PHLNT PLMLG