Compare sequence alignments of datasets
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi I have several Fasta files with the sequence of multiple versions of a gene from different species. So 1 File per gene with 10 entrys (because I have 10 genomes). I wan’t to compare do an alignment of each gene and then compare those alignment so see if the behave the same (species A is in all genes related to species B). Do you know some features for Matlab how i can compare alignemnts?
Best Raffael
0 Kommentare
Antworten (2)
Raffael
am 21 Sep. 2016
1 Kommentar
Luuk van Oosten
am 21 Sep. 2016
Bearbeitet: Luuk van Oosten
am 21 Sep. 2016
So you want to build some kind of phylogenetic tree based on the similarity given by the multiple sequence alignment?
If this is the case, then YES you can do this kind of stuff in MATLAB. I suggest having a look over here in the section on building phylogenetic trees.
A simple example (might not be EXACTLY) what you are looking for, but it is a start (note: this comes from the documentation):
% take the p53 sample data
p53 = fastaread('p53samples.txt')
% Compute the pairwise distances between each pair of sequences using the 'GONNET' scoring matrix.
% You can take any of the other scoring matrices as well, depends on your task.
dist = seqpdist(p53,'ScoringMatrix','GONNET');
% Build a phylogenetic tree using an unweighted average distance (UPGMA) method
tree = seqlinkage(dist,'average',p53)
% Perform progressive alignment using the PAM family scoring matrices.
ma = multialign(p53,tree,'ScoringMatrix',...
{'pam150','pam200','pam250'})
% show the alignment
showalignment(ma)
% Show that tree of the allignment
h = plot(tree)
Best regards
Siehe auch
Kategorien
Mehr zu Genomics and Next Generation Sequencing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!