Question: Biopython - Extracting Nucleotide Frequency On Aligned Sequences
1
gravatar for ericmajinglong
6.3 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 6.3 years ago by Medhat8.4k • written 6.3 years ago by ericmajinglong120
2
gravatar for Medhat
6.3 years ago by
Medhat8.4k
Texas
Medhat8.4k 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 6.3 years ago by Medhat8.4k
1
gravatar for cts
6.3 years ago by
cts1.6k
Pasadena
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 6.3 years ago by cts1.6k
Please log in to add an answer.

Help
Access

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