Question: Biopython - Extracting Nucleotide Frequency On Aligned Sequences
gravatar for ericmajinglong
7.2 years ago by
United States
ericmajinglong120 wrote:

I was wondering how I might be able to use the BioPython package to extract nucleotide frequencies over an aligned set of sequences. Does anybody know how I might be able to do this? I am assuming that I have aligned sequences, including the appropriate spacers at places where base pair deletions have occurred.

Is there a single function in the BioPython package that allows me to do that? I've tried browsing through the API, but I haven't been able to find anything. (It might be I'm not looking at it correctly, or that the terminology used is different, perhaps?)

ADD COMMENTlink modified 7.2 years ago by Medhat8.7k • written 7.2 years ago by ericmajinglong120
gravatar for Medhat
7.2 years ago by
Medhat8.7k wrote:

did you tried this Bio.Align.AlignInfo.Summary Calculate summary info about the alignment.

This class should be used to caclculate information summarizing the results of an alignment. This may either be straight consensus info or more complicated things.

ADD COMMENTlink written 7.2 years ago by Medhat8.7k
gravatar for cts
7.2 years ago by
cts1.6k wrote:

I was trying to do the same thing recently, and like you couldn't find anything. In the end I used pycogent which has quite a rich API for alignments. Take a look at this page for some toy examples of doing this.

ADD COMMENTlink written 7.2 years ago by cts1.6k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 741 users visited in the last hour