Entering edit mode
11.0 years ago
Maria
▴
170
I'm using pairwise2 module from biopython, Is it possible to get the score in a variable and how ? I tried the following and it didn't work :
from Bio import pairwise2
from Bio.pairwise2 import format_alignment
for a in pairwise2.align.localms("ACCGT", "ACGC",1,-1,-2,-2):
score= a.score
is it possible to give the sequence files as input to pairwise2??
same question . anyone knows how to get the score in a variable???
Please don't dredge up old posts with new questions.
What about the answer below isn't satisfactory? If you believe you have a new question that the existing answers don't address, please ask a new question, ideally showing why the existing answers fail for your data.