Calculate pairwise distance for 3000 small sequences
0
0
Entering edit mode
8.1 years ago
ekal ▴ 20

I have a .fasta with 3000 ascensions, each of which is 10 bases long. I need to calculate the alignment score between each pair of sequences - that's 3000^2 comparisons. Using R or python, what's the best way to go about doing this? Technical details like code snippets are particularly helpful.

Thanks!!

fasta sequence blast • 2.8k views
ADD COMMENT
0
Entering edit mode

This post has some tips and example python code: Massive Pairwise Comparison Using Biopython

ADD REPLY
0
Entering edit mode

This sounds like an interesting challenge for a 100 lines C program. ;)

ADD REPLY
0
Entering edit mode

You can use biostrings package with R. It is samplest methode I think.see

ADD REPLY

Login before adding your answer.

Traffic: 1930 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6