I have a file with more than 15000nt sequence and i want it to be separated into 1000nt new files like F1,F2 .....
Example
MainFile
ATGCATATGCCCAGTAGCGAATGATGATCA ATGCATA_TCCCAGTAGTGAATGATAATCA _CAT_TGCC_ATTAGAGAATGATGATCA_C
INTO 3 FILES OF 10nt each
FILE1
ATGCATATGC ATGCATA_TC _CAT_TGCCA
File2
CCAGTAGCGA CCAGTAGCAG AGAGAATGAG
File3
ATGATGATCA ATGATAATCA GATGATCA_C
Thankyou this code also worked.Can you explain the code.