Compare sequence alignments of datasets
조회 수: 3 (최근 30일)
이전 댓글 표시
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
답변 (2개)
Raffael
2016년 9월 21일
댓글 수: 1
Luuk van Oosten
2016년 9월 21일
편집: Luuk van Oosten
2016년 9월 21일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Genomics and Next Generation Sequencing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!