Entering edit mode
11.1 years ago
biolab
★
1.4k
Dear All,
I am a perl beginner. I have a fasta file with many contig sequences, and need to break these contigs into 2kb overlapping fragments (with overlap length of 100bp). Could anyone help to write a perl script for me, when you have spare time? I will greatly appreciate your help. MANY THANKS!
Biolab
What have you written so far? You're not likely to get many people willing to just randomly write scripts for you.
I am learning perl and am a true starter. Could you give some possible solutions to solving my question? THANKS A LOT! Biolab
Well, how about I just give you a possible work-flow. You'll probably want to use bioperl to make life easier.
Thank you very much!!
No problem. Keep in mind that that general workflow might not produce exactly what you want at the end of a contig. You might want to just break out of a loop if the length of the subsequence is very short, since otherwise the last subsection could be contained entirely within the next to last subsection.
This question have been asked before because I remember answering it. Search!