Hello, This is my first post here !
I have a pair of fasta sequence files one having several CDS sequences (file X) and the other with several full length transcript sequences (file Y).
The file with CDS (file X) sequence have entries as follows:
>ABCD (40..120)
…………the sequence……………….
This goes on for another 200 different gene entries
The file with the full length transcript sequence (file Y) have entries as follows:
>ABCD (1..700)
…………the sequence……………….
And this also goes on for another 200 different gene entries.
The ABCD implies a gene name which is of course identical in both the fasta files. Hence the sequence is also identical in between coordinates 40..120 for both sets. I want to extract the 3’ UTR sequences from all the fasta sequence entries that are in the full transcript file. So basically, I am trying to come up with a script that will allow me to extract the sequence for every gene from the full transcript file right after where the CDS sequence ends. So in the above example I am trying to get the sequence between coordinates (121 ..700) for gene ABCD from the full transcript fasta file. I am trying to make the script so that it loops through the entire file for all the 200 gene entries.
I am primarily using bash and little of perl. Any help will be most appreciated.
Thanks and regards!
Hello leo1985.arnab!
It appears that your post has been cross-posted to another site: http://seqanswers.com/forums/showthread.php?p=203861#post203861
This is typically not recommended as it runs the risk of annoying people in both communities.
Ok, thanks! I appreciate your comment.
Hello, I am trying to do the same for a bunch of ORFs. Were you successful in extracting the 3' UTRs? I've got FASTA sequences of my transcripts and I have run transdecoder to identify the 3' UTR regions. I'm wondering how to extract these sequences. Please help!
Please use
ADD COMMENT
orADD REPLY
to answer to previous reactions, as such this thread remains logically structured and easy to follow. I have now moved your reaction but as you can see it's not optimal. Adding an answer should only be used for providing a solution to the question asked.