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,709 views
•
link
written
by
Elephantdumbo •
0 answers
No answers yet.
Log in to answer this question.
More posts like this
-
How to make distance matrix of DNA sequences using biojava ?
written by Elephantdumbo •Hey 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 •Hey 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 JautisHello, I have a recombination map calculated from LDhelmet which has estimates of recombination rates for windows of the genome (in recombination events per generation …
-
tools for global alignment
written by genya35 •Hello, 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 •Hi, 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 •Given 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 MLBHello, 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 •<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 …
-
Distance Between Read Sets
written by Lee Katz<p>Hi, given a few different Illumina raw read sets in fastq format or whatever format:</p> <p>How would you most efficiently determine the genetic distance between …
-
Searching For A Common Pattern In A Set Of Dna Sequences
written by Pappu<p>I have a set of non-coding DNA sequences which are few hundred base pairs in length. They probably have a repeated set of common motifs …
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