Lindenb's solution (https://github.com/lindenb/jvarkit/wiki/BlastnToSnp) should be a nice one. I am performing blast for short sequences and testing his java program.
I am a perl beginner. I believe parsing blast or fasta output using perl should be another solution. There are handful of websites including SEQAnswers that describe methods parsing blast output, for examples,
Actually, my case may be a little bit more complicated. I used Patscan to identify miRNA targets, the output is like below.
Code:
miRNA_ID miRNA_sequence target_sequence miR1 AUGCGGUGUACACGUACGUCG AGGCGGUGUACACGUACGUG ......................
I plan to perform blast using miRNA sequence as query and its target as subject, and then use Linenb's java program to identify SNPs.
Honestly, I am testing and my problem has not been completely sorted out. But I think i am closer. If you and others have better solutions or ideas, please feel free to let me know. I believe it is a general question for many biologists. Really thank you very much!
Leave a comment: