Off topic:sequence alignement using python
0
1
Entering edit mode
6.9 years ago
benanfel ▴ 10

hey guys i need your help about something,i need to write a programm using those instructions: input:
1Two protein sequences
2. Algorithm chosen: Needleman-Wunsch or Smith-Waterman (both algorithms must be implemented and it is up to the user to choose the execution of one of the two)
3. Substitution matrix: PAM250 or BLOSUM62
4. Constant penalty: delta

output:
All optimal alignments with the score obtained: In order to obtain the optimal alignments and the corresponding score, the pairwise2 module can be used as follows (local or global alignment): Module Import:

From Bio import pairwise2
Call functions:
Alignments = pairwise2.align.globalds (seq1, seq2, matrix, delta, delta)
Alignments = pairwise2.align.localds (seq1, seq2, matrix, delta, delta)
alignment sequence • 2.2k views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 1465 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