Perhaps the following will be helpful:
perl -ne 'chomp; $x=0; print if /^(?<!>)\S+$/' input_file.txt >output_ +file.txt
Output on your dataset:
tttgctcggaggggatcgaaaacacttccttattatacaggtaaaccgtatttggataaagctcggaggg +gatcccct
Edit: Sorry... Didn't notice the "insert" spec.
In reply to Re: merge sequences with new sequence insertion
by Kenosis
in thread merge sequences with new sequence insertion
by utpalmtbi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |