Generating a consensus sequence of a large number of amino acid sequences in python
0
0
Entering edit mode
7 days ago

Hi,

I want to generate a consensus sequence of a large number of amino acid sequences using python.

For example,

If there are three different amino acid sequences:

   MAHEDYIG ... HLY
   MAAEDYLP ... HLY
   MAHEDYIG ... TLY

Then MAHEDYIG ... HLY has to be generated as a consensus sequence.

Could anyone create python code for this algorithm? I want to put FASTA file, which is aligned with Multiple Sequence Alignment tool, in the code and want to put a specific weight for each conserved residue.

consensus msa sequence • 350 views
ADD COMMENT
0
Entering edit mode

If I understand you properly you are trying to generate the consensus sequence after running MSA?

See: Consensus sequence software?

ADD REPLY
0
Entering edit mode

Yes! I've used MUSCLE/Clustalw/Clustalomega packages for running MSA but I am struggling with generating consensus sequence since I cannot find any packages for it in python.

ADD REPLY

Login before adding your answer.

Traffic: 1200 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6