ashnator has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks, 1) I have a fasta raw sequence file which contains A,C,G,T charaters i +n a single string like this:- AAAAAAAAAAAAACTGCTGACTAGCATAGTTAAAAAAAAAAAAAAAAGTTTTTTTA.... 2) I want to create multiple fasta files using this file giving a user + defined range like :- Range of minimum length 10 and maximum length +of 40 suppose and then create short sequence in this range of 10 - 40 + without losing the original positional information randomly. 3) I mean my result should be like this from above >seq1 length 10 AAAAAAAAAA >seq2 length 18 AAACTGCTGACTAGCATA >seq3 length 28 GTTAAAAAAAAAAAAAAAAGTTTTTTTA ..... 4) How can I do this in perl. I need help fast. I would be obliged to get help from Monks.. Thanks..
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Random sequence creator with range
by ikegami (Patriarch) on Sep 17, 2008 at 03:20 UTC | |
|
Re: Random sequence creator with range
by repellent (Priest) on Sep 17, 2008 at 03:38 UTC |