Pairwise distance matrix using biopython
Hello, I am wondering what is the most efficient way to calculate a distance matrix for a set of 400 sequences each is ~120 bp in length. I would prefer not use an outside tool but do it all in python
Thank you so much
python
phylogentics
biopython
• 2,735 views
•
link
written
by
Elephantdumbo
2
0 answers
No answers yet.
Log in to answer this question.
More posts like this
-
weighted mean pairwise distance among samples containing multiple sequences?
written by Thomas Moore 0Weighted pairwise genetic distance between samples from fasta file and count table of sequences? I have a series of samples, all containing multiple DNA sequences. …
-
How to make distance matrix of DNA sequences using biojava ?
written by Elephantdumbo 2Hey everyone, I cant really find good guidance to make a distance matrix for DNA sequence using biojava. It says that I need a mutlialignment …
-
Changing distance matrix to scoring matrix to use in alignment software ? (attempt to aligning mono…
written by Elephantdumbo 2Hey everyone, I would like to align monemers based on tajima-nei distance. I have already generated the distance matrix and the monemers have the same …
-
find position of snps in cM, given recombination map from ldhelmet
written by Jautis 58Hello, I have a recombination map calculated from LDhelmet which has estimates of recombination rates for windows of the genome (in recombination events per generation …
-
Mean reads length for 400 bp reads in ion Torrent
written by Maloki 1Hi everybody, I'am using IonTorrent S5 sequencer to sequence my bacterial whole genome, but when I get the results I found the mean length of …
-
tools for global alignment
written by genya35 5Hello, I would like to align fasta sequences size (40 to 400) bp to a reference about 290 bp globally. So if the sequence is …
-
sequence distance to consensus shorter than within NJ tree?
written by tenax 0Hi, a general maybe fuzzy question: How comes that distances of sequences to one consensus sequence are typically longer than when you compare them pairwise …
-
Measuring sequence length in "bp"
written by dpidad 0Given a sequence as below: ``` @SRR211279.25468524 HWUSI-EAS404_106009863:7:120:17892:21339 length=200 CCAACCTCTACCCATNACCCAGTTCCGAAGTTGCTTCCACATTTTCAGGTATCTTTATAGNNATGCTCCAGTCCTCATTTGCCATTTTTGGTAANANTTANCTNTGTANTCTCCGNNNTNNNCNCTNGCNATNTNANANNNTTCANTNNNNNNNNNNNNNNNANNNNNANTNANANATTTCNGAGCCCCCCCAGANGCAG +SRR211279.25468524 HWUSI-EAS404_106009863:7:120:17892:21339 length=200 IIIGIIIIIIGGGGG%DEEEEDBDEIHIIIHIIIIIIIHIDHIHHIIIGGIGIIIGEEEE%%;==><;>>IIIIHIIIIIIIIIIIIIIIGDDD%8%;;8%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ``` What is the length of the sequence? 200 bases? or …
-
Efficient way of calculating the number of mismatches between two sets of sequences please?
written by Aurelie MLB 36Hello, I am working with R and Bioconductor packages. I have set big sets of sequences such as: ``` A=c("TATTCCTAGGTTCGCCT", "TTCCCGTTGCCCAGTGA"....) # length ~ 500 …
-
Distance matrix with different length sequences - novice question
written by mootzk 0<p>Hi all,</p> <p>Real beginner here, so be gentle :)</p> <p>In a project we're doing (in python), we want to create a distance matrix for a …
If you already have an alignment, you can do this with the
Phylotools inbiopython: https://biopython.readthedocs.io/en/latest/api/Bio.Phylo.TreeConstruction.html